Function at 0x417443
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f372a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x164
lea ecx, [ebp - 0x34]
call fcn.004025e0
lea ecx, [ebp - 0x20]
call fcn.004025e0
push 8
call fcn.00422b80
mov dword [ebp - 0x154], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x154], 0
je 0x4174a1
mov ecx, dword [ebp - 0x154]
call fcn.00422be0
mov dword [ebp - 0x168], eax
jmp 0x4174ab
mov dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x40], ecx
push 0x51aed8
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 0x417540
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0x10e
mov dword [ebp - 0x2c], 0xbe
mov dword [ebp - 0x28], 0x12d
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x10e
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x123
mov dword [ebp - 0x44], 0x47a
jmp 0x417661
cmp dword [ebp + 0xc], 2
jne 0x41758a
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0x12e
mov dword [ebp - 0x2c], 0xbe
mov dword [ebp - 0x28], 0x14d
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x12e
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x143
mov dword [ebp - 0x44], 0x47b
jmp 0x417661
cmp dword [ebp + 0xc], 3
jne 0x4175d4
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0x14e
mov dword [ebp - 0x2c], 0xbe
mov dword [ebp - 0x28], 0x16d
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x14e
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x163
mov dword [ebp - 0x44], 0x47c
jmp 0x417661
cmp dword [ebp + 0xc], 4
jne 0x41761b
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0x16e
mov dword [ebp - 0x2c], 0xbe
mov dword [ebp - 0x28], 0x193
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x16e
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x183
mov dword [ebp - 0x44], 0x47d
jmp 0x417661
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0x12e
mov dword [ebp - 0x2c], 0xbe
mov dword [ebp - 0x28], 0x148
mov dword [ebp - 0x28], 0x168
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x12e
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x143
mov dword [ebp - 0x44], 0x479
call fcn.00422ba0
mov dword [ebp - 0x48], eax
push 0x3c
call fcn.00422b80
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x15c], 0
je 0x417699
mov ecx, dword [ebp - 0x15c]
call fcn.004086a0
mov dword [ebp - 0x16c], eax
jmp 0x4176a3
mov dword [ebp - 0x16c], 0
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x3c], ecx
push 0x477
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x34]
push eax
push 0x40000002
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x1fc]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.004ecdd1
test eax, eax
jne 0x417732
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x1fc]
push eax
push 0x51aee0
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4179a3
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
mov edx, dword [ebp - 0x3c]
mov dword [ecx + eax + 0x1384], edx
push 1
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
mov ecx, dword [edx + ecx + 0x1384]
call fcn.00422ce0
push 0
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
mov ecx, dword [ecx + eax + 0x1384]
call fcn.004e7896
push 0x40
call fcn.00422b80
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x164], 0
je 0x4177b9
mov ecx, dword [ebp - 0x164]
call fcn.00422df0
mov dword [ebp - 0x170], eax
jmp 0x4177c3
mov dword [ebp - 0x170], 0
mov edx, dword [ebp - 0x170]
mov dword [ebp - 0x160], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x20]
push eax
push 0x50810080
mov ecx, dword [ebp - 0x4c]
call fcn.004ed133
test eax, eax
jne 0x41783a
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x2c9]
push eax
push 0x51af04
lea ecx, [ebp - 0x14c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x14c]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4179a3
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
mov edx, dword [ebp - 0x4c]
mov dword [ecx + eax + 0x1380], edx
push 1
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
mov ecx, dword [edx + ecx + 0x1380]
call fcn.00422ce0
push 0x538be0
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
lea edx, [ecx + eax + 0x24e]
push edx
call fcn.004d01b0
add esp, 8
test eax, eax
je 0x4178ce
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
lea edx, [ecx + eax + 0x24e]
push edx
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
mov ecx, dword [ecx + eax + 0x1380]
call fcn.004e7795
push 0
mov edx, dword [ebp + 8]
imul edx, edx, 0x138c
mov eax, dword [0x53a2a0]
mov ecx, dword [eax + edx + 0x1380]
call fcn.004e7896
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x39]
push eax
call fcn.004cf71f
add esp, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x417916
mov dword [ebp - 0x38], 0x14
cmp dword [ebp - 0x4c], 0
jne 0x417921
jmp 0x4179a3
mov ecx, dword [ebp - 0x38]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.00402610
xor edx, edx
mov dx, word [0x539adc]
test edx, edx
je 0x417946
mov eax, dword [ebp - 0x4c]
mov dword [eax + 0x3c], 2
jmp 0x417950
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x3c], 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 0
je 0x41797c
cmp dword [ebp - 0x10], 0
jne 0x41797c
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.00406680
push eax
call sub.IMM32.dll_ImmAssociateContext
cmp dword [ebp - 0x4c], 0
je 0x417989
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x3c], 0
je 0x417996
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x40], 0
je 0x4179a3
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret