Function at 0x416414
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f3661
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
lea ecx, [ebp - 0x30]
call fcn.004025e0
lea ecx, [ebp - 0x20]
call fcn.004025e0
push 8
call fcn.00422b80
mov dword [ebp - 0x148], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x148], 0
je 0x416472
mov ecx, dword [ebp - 0x148]
call fcn.00422be0
mov dword [ebp - 0x15c], eax
jmp 0x41647c
mov dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x144], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x144]
mov dword [ebp - 0x38], ecx
push 0x51adf8
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 - 0x38]
call fcn.00422c50
cmp dword [ebp + 0xc], 1
jne 0x416511
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], 0x10e
mov dword [ebp - 0x28], 0xbe
mov dword [ebp - 0x24], 0x12d
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x10c
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x12b
mov dword [ebp - 0x3c], 0x473
jmp 0x416632
cmp dword [ebp + 0xc], 2
jne 0x41655b
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], 0x12e
mov dword [ebp - 0x28], 0xbe
mov dword [ebp - 0x24], 0x14d
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x12c
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x146
mov dword [ebp - 0x3c], 0x474
jmp 0x416632
cmp dword [ebp + 0xc], 3
jne 0x4165a5
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], 0x14e
mov dword [ebp - 0x28], 0xbe
mov dword [ebp - 0x24], 0x16d
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x14c
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x166
mov dword [ebp - 0x3c], 0x475
jmp 0x416632
cmp dword [ebp + 0xc], 4
jne 0x4165ec
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], 0x16e
mov dword [ebp - 0x28], 0xbe
mov dword [ebp - 0x24], 0x17c
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x16c
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x186
mov dword [ebp - 0x3c], 0x476
jmp 0x416632
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], 0x12e
mov dword [ebp - 0x28], 0xbe
mov dword [ebp - 0x24], 0x148
mov dword [ebp - 0x24], 0x168
mov dword [ebp - 0x20], 0xc8
mov dword [ebp - 0x1c], 0x12c
mov dword [ebp - 0x18], 0x190
mov dword [ebp - 0x14], 0x145
mov dword [ebp - 0x3c], 0x472
call fcn.00422ba0
mov dword [ebp - 0x40], eax
push 0x3c
call fcn.00422b80
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x150], 0
je 0x41666a
mov ecx, dword [ebp - 0x150]
call fcn.004086a0
mov dword [ebp - 0x160], eax
jmp 0x416674
mov dword [ebp - 0x160], 0
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x14c], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x34], ecx
push 0x477
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x30]
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 - 0x34]
call fcn.004ecdd1
test eax, eax
jne 0x416703
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x1fc]
push eax
push 0x51ae00
lea ecx, [ebp - 0xc0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0xc0]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4168d8
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
mov edx, dword [ebp - 0x34]
mov dword [ecx + eax + 0x1384], edx
push 1
mov eax, dword [ebp - 0x38]
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 0x27c
call fcn.00422b80
mov dword [ebp - 0x158], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x158], 0
je 0x41678d
mov ecx, dword [ebp - 0x158]
call fcn.00402980
mov dword [ebp - 0x164], eax
jmp 0x416797
mov dword [ebp - 0x164], 0
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x154], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x154]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x20]
push eax
push 0
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x2c9]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004ece2b
test eax, eax
jne 0x416822
mov ecx, dword [ebp + 8]
imul ecx, ecx, 0x138c
mov edx, dword [0x53a2a0]
lea eax, [edx + ecx + 0x2c9]
push eax
push 0x51ae24
lea ecx, [ebp - 0x140]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4168d8
cmp dword [ebp - 0x10], 0
jne 0x41682d
jmp 0x4168d8
push 0
push 0x8d
push 0xff00ff
push 0x8c
mov ecx, dword [ebp - 0x10]
call fcn.00404cd4
push 0
push 3
mov ecx, dword [ebp - 0x10]
call fcn.00404fc0
mov ecx, dword [ebp - 0x10]
call fcn.00405a5e
mov eax, dword [ebp + 8]
imul eax, eax, 0x138c
mov ecx, dword [0x53a2a0]
mov edx, dword [ebp - 0x10]
mov dword [ecx + eax + 0x1380], edx
push 1
mov eax, dword [ebp - 0x38]
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 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 - 0x10], 0
je 0x4168be
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x34], 0
je 0x4168cb
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x38], 0
je 0x4168d8
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret