Function at 0x418369
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f37d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
lea ecx, [ebp - 0x38]
call fcn.004025e0
lea ecx, [ebp - 0x24]
call fcn.004025e0
lea ecx, [ebp - 0x5c]
call fcn.004025e0
push 8
call fcn.00422b80
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1e8], 0
je 0x4183cf
mov ecx, dword [ebp - 0x1e8]
call fcn.00422be0
mov dword [ebp - 0x204], eax
jmp 0x4183d9
mov dword [ebp - 0x204], 0
mov eax, dword [ebp - 0x204]
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1e4]
mov dword [ebp - 0x40], ecx
push 0x51afc0
push 0
push 0
push 1
push 2
mov dl, byte [0x53983c]
push edx
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xf
mov ecx, dword [ebp - 0x40]
call fcn.00422c50
cmp dword [ebp + 0xc], 1
jne 0x418492
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], 0x10a
mov dword [ebp - 0x30], 0xbe
mov dword [ebp - 0x2c], 0x128
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0x10a
mov dword [ebp - 0x1c], 0x12c
mov dword [ebp - 0x18], 0x11f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x10a
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0x11f
mov dword [ebp - 0x44], 0x484
mov dword [ebp - 0x10], 0x489
jmp 0x418643
cmp dword [ebp + 0xc], 2
jne 0x418500
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], 0x129
mov dword [ebp - 0x30], 0xbe
mov dword [ebp - 0x2c], 0x147
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0x129
mov dword [ebp - 0x1c], 0x12c
mov dword [ebp - 0x18], 0x13e
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], 0x129
mov eax, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0x13e
mov dword [ebp - 0x44], 0x485
mov dword [ebp - 0x10], 0x48a
jmp 0x418643
cmp dword [ebp + 0xc], 3
jne 0x41856e
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], 0x148
mov dword [ebp - 0x30], 0xbe
mov dword [ebp - 0x2c], 0x166
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0x148
mov dword [ebp - 0x1c], 0x12c
mov dword [ebp - 0x18], 0x15d
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0x148
mov edx, dword [ebp - 0x1c]
add edx, 0x14
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0x15d
mov dword [ebp - 0x44], 0x486
mov dword [ebp - 0x10], 0x48b
jmp 0x418643
cmp dword [ebp + 0xc], 4
jne 0x4185d9
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], 0x167
mov dword [ebp - 0x30], 0xbe
mov dword [ebp - 0x2c], 0x185
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0x167
mov dword [ebp - 0x1c], 0x12c
mov dword [ebp - 0x18], 0x17c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], 0x167
mov ecx, dword [ebp - 0x1c]
add ecx, 0x14
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 0x17c
mov dword [ebp - 0x44], 0x487
mov dword [ebp - 0x10], 0x48c
jmp 0x418643
mov dword [ebp - 0x38], 0x14
mov dword [ebp - 0x34], 0x12e
mov dword [ebp - 0x30], 0xbe
mov dword [ebp - 0x2c], 0x148
mov dword [ebp - 0x2c], 0x168
mov dword [ebp - 0x24], 0xc8
mov dword [ebp - 0x20], 0x12e
mov dword [ebp - 0x1c], 0x12c
mov dword [ebp - 0x18], 0x143
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], 0x12e
mov eax, dword [ebp - 0x1c]
add eax, 0x14
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], 0x143
mov dword [ebp - 0x44], 0x483
mov dword [ebp - 0x10], 0x488
call fcn.00422ba0
mov dword [ebp - 0x4c], eax
push 0x3c
call fcn.00422b80
mov dword [ebp - 0x1f0], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1f0], 0
je 0x41867b
mov ecx, dword [ebp - 0x1f0]
call fcn.004086a0
mov dword [ebp - 0x208], eax
jmp 0x418685
mov dword [ebp - 0x208], 0
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x1ec], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1ec]
mov dword [ebp - 0x3c], edx
push 0x477
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x40000002
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
lea ecx, [eax + edx + 0x1fc]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.004ecdd1
test eax, eax
jne 0x418712
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
lea ecx, [eax + edx + 0x1fc]
push ecx
push str._PSU__Create__s_button_title_error
lea edx, [ebp - 0xe0]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x418a83
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
mov eax, dword [ebp - 0x3c]
mov dword [edx + ecx + 0x1384], eax
push 1
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
mov ecx, dword [eax + edx + 0x1384]
call fcn.00422ce0
push 0
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
mov ecx, dword [edx + ecx + 0x1384]
call fcn.004e7896
push 0x40
call fcn.00422b80
mov dword [ebp - 0x1f8], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x1f8], 0
je 0x418798
mov ecx, dword [ebp - 0x1f8]
call fcn.00422df0
mov dword [ebp - 0x20c], eax
jmp 0x4187a2
mov dword [ebp - 0x20c], 0
mov eax, dword [ebp - 0x20c]
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x24]
push ecx
push 0x50810000
mov ecx, dword [ebp - 0x60]
call fcn.004ed133
test eax, eax
jne 0x418818
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
lea ecx, [eax + edx + 0x181]
push ecx
push str._PSU__Create__s_button_error
lea edx, [ebp - 0x160]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x418a83
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
mov eax, dword [ebp - 0x60]
mov dword [edx + ecx + 0x1380], eax
push 1
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
mov ecx, dword [eax + edx + 0x1380]
call fcn.00422ce0
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x24e]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
mov ecx, dword [edx + ecx + 0x1380]
call fcn.004e7795
push 0
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
mov ecx, dword [ecx + eax + 0x1380]
call fcn.004e7896
cmp dword [ebp - 0x60], 0
jne 0x4188ab
jmp 0x418a83
cmp dword [0x538b84], 1
jne 0x4188e5
mov edx, dword [ebp - 0x60]
mov dword [edx + 0x3c], 0x11
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
lea edx, [ecx + eax + 0x39]
push edx
call fcn.004cf430
add esp, 4
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00402610
jmp 0x41891d
cmp dword [0x538b84], 0
jne 0x41891d
mov eax, dword [ebp - 0x60]
mov dword [eax + 0x3c], 4
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x39]
push eax
call fcn.004cf430
add esp, 4
push eax
mov ecx, dword [ebp - 0x60]
call fcn.00402610
push 0x3c
call fcn.00422b80
mov dword [ebp - 0x200], eax
mov dword [ebp - 4], 3
cmp dword [ebp - 0x200], 0
je 0x41894d
mov ecx, dword [ebp - 0x200]
call fcn.00422eb0
mov dword [ebp - 0x210], eax
jmp 0x418957
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp - 0x210]
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1fc]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x5c]
push edx
push 0x50000001
mov ecx, dword [ebp - 0x48]
call fcn.004ed18c
test eax, eax
jne 0x4189ce
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
lea edx, [ecx + eax + 0x181]
push edx
push str._PSU__Create__s_Spin_button_error
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x1e0]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x418a83
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
mov ecx, dword [ebp - 0x48]
mov dword [eax + edx + 0x1388], ecx
push 1
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
mov ecx, dword [ecx + eax + 0x1388]
call fcn.00422ce0
push 0
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
mov ecx, dword [eax + edx + 0x1388]
call fcn.004e7896
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 1
cmp dword [ebp - 0x28], 0
je 0x418a4f
cmp dword [ebp - 0x14], 0
jne 0x418a4f
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x60]
call fcn.00406680
push eax
call sub.IMM32.dll_ImmAssociateContext
cmp dword [ebp - 0x60], 0
je 0x418a5c
mov dword [ebp - 0x60], 0
cmp dword [ebp - 0x3c], 0
je 0x418a69
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x48], 0
je 0x418a76
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x40], 0
je 0x418a83
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret