Function at 0x417f50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ceea2
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4d50b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x11c], edx
xor ebx, ebx
mov dword [ebp - 4], ebx
lea esi, [ebx + 0x24]
mov eax, 0x4090c0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00420310
push ebx
lea eax, [ebp + 0xc]
push eax
or eax, 0xffffffff
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00419b70
push 1
mov eax, 0x4090bc
mov ecx, edi
call fcn.00419c10
mov eax, dword [ebp - 0x2c]
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jae 0x417fec
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x418014
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x114]
call fcn.004193e0
cmp eax, 5
jne 0x41846b
mov ecx, 0xf
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
lea edx, [ebp - 0x80]
mov byte [ebp - 4], 3
push edx
sub esp, 0x1c
mov edi, esp
lea esi, [eax - 4]
mov eax, dword [ebp - 0x130]
mov dword [edi + 0x14], ecx
mov dword [edi + 0x10], ebx
add eax, 0x1c
mov dword [ebp - 0x114], esp
mov byte [edi], bl
push eax
or ecx, 0xffffffff
xor ebx, ebx
call fcn.00420000
mov eax, dword [ebp - 0x110]
sub esp, 0x1c
mov byte [ebp - 4], 4
mov edi, esp
mov dword [ebp - 0x120], esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push eax
or ecx, 0xffffffff
mov byte [edi], bl
call fcn.00420000
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00420a20
add esp, 0x3c
test eax, eax
jne 0x41844a
mov eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x80]
push ecx
sub esp, 0x1c
mov edi, esp
add eax, 0x38
mov dword [ebp - 0x120], esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push eax
or ecx, 0xffffffff
mov byte [edi], bl
call fcn.00420000
mov edx, dword [ebp - 0x110]
sub esp, 0x1c
mov byte [ebp - 4], 5
mov edi, esp
mov dword [ebp - 0x114], esp
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], ebx
push edx
or ecx, 0xffffffff
mov byte [edi], bl
call fcn.00420000
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00420a20
xor edi, edi
add esp, 0x3c
cmp eax, edi
je 0x418201
mov eax, dword [ebp - 0x80]
mov edi, 0x10
cmp dword [ebp - 0x6c], edi
jae 0x41812e
lea eax, [ebp - 0x80]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push eax
call esi
mov ebx, dword [ebp - 0x130]
cmp dword [ebx + 0x14], edi
jb 0x418146
mov eax, dword [ebx]
jmp 0x418148
mov eax, ebx
push eax
call esi
cmp dword [ebx + 0x30], edi
lea eax, [ebx + 0x1c]
jb 0x418155
mov eax, dword [eax]
push eax
call esi
cmp dword [ebx + 0x4c], edi
lea eax, [ebx + 0x38]
jb 0x418162
mov eax, dword [eax]
push eax
call esi
add ebx, 0x54
cmp dword [ebx + 0x14], edi
jb 0x418171
mov eax, dword [ebx]
jmp 0x418173
mov eax, ebx
push eax
call esi
mov eax, ebx
lea edx, [ebp - 0x80]
call fcn.00419fe0
test al, al
je 0x4181f0
sub esp, 0x1c
mov edi, esp
mov dword [ebp - 0x120], esp
mov esi, 0xf
push ebx
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], 0
or ecx, 0xffffffff
xor ebx, ebx
mov byte [edi], 0
call fcn.00420000
sub esp, 0x1c
mov byte [ebp - 4], 6
mov edi, esp
lea eax, [ebp - 0x80]
mov dword [ebp - 0x114], esp
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], ebx
push eax
or ecx, 0xffffffff
mov byte [edi], bl
call fcn.00420000
mov ecx, dword [ebp - 0x110]
mov byte [ebp - 4], 3
call fcn.00421020
add esp, 0x38
mov dword [ebp - 0x118], 1
jmp 0x418452
mov ecx, dword [ebp - 0x11c]
mov dword [ecx], 0
jmp 0x418457
mov esi, 2
mov eax, 0x4090e8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], edi
mov byte [ebp - 0x48], bl
call fcn.00420310
lea edx, [ebp - 0x140]
push edx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.0041a030
mov byte [ebp - 4], 9
cmp dword [ebp - 0x34], 0x10
jb 0x41824a
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0x110]
mov esi, 0xf
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x54], edi
push ecx
or ecx, 0xffffffff
xor ebx, ebx
lea edi, [ebp - 0x64]
mov dword [ebp - 0x34], esi
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x64], 0
call fcn.00420000
xor eax, eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x9c], al
lea esi, [ebx + 4]
mov eax, 0x4090ec
lea ecx, [ebp - 0x9c]
call fcn.00420310
lea edx, [ebp - 0x140]
push edx
mov eax, edi
push eax
lea ecx, [ebp - 0xb8]
push ecx
lea ebx, [ebp - 0x9c]
mov byte [ebp - 4], 0xb
call fcn.0041a0e0
add esp, 0xc
mov ebx, 0x10
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x88], ebx
jb 0x4182e6
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x110]
xor eax, eax
mov dword [ebp - 0x8c], eax
mov byte [ebp - 0x9c], al
mov eax, esi
lea edx, [ebp - 0xb8]
mov dword [ebp - 0x88], 0xf
call fcn.0041a170
test al, al
je 0x4183b7
mov eax, 0x4090f4
lea edi, [ebp - 0x10c]
call fcn.004203e0
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0041a030
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.00420410
push esi
or ecx, 0xffffffff
xor ebx, ebx
lea edi, [ebp - 0x64]
call fcn.00420000
mov eax, 0x409100
lea edi, [ebp - 0xf0]
call fcn.004203e0
lea edx, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0xd4]
push edx
mov ebx, eax
mov byte [ebp - 4], 0x11
call fcn.0041a0e0
add esp, 0xc
mov edi, eax
lea esi, [ebp - 0xb8]
mov byte [ebp - 4], 0x12
call fcn.0041fdf0
lea ecx, [ebp - 0xd4]
call fcn.00420410
lea ecx, [ebp - 0xf0]
call fcn.00420410
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xd
call fcn.004199d0
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0xb8]
push ecx
or ecx, 0xffffffff
xor ebx, ebx
mov edi, esi
call fcn.00420000
mov eax, dword [ebp - 0x130]
add eax, 0x70
push ebx
push eax
or eax, 0xffffffff
call fcn.00419b70
mov esi, 0x10
mov dword [ebp - 0x118], 1
cmp dword [ebp - 0xa4], esi
jb 0x418404
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x50], esi
jb 0x41842d
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x140]
push ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
mov byte [ebp - 4], 3
call fcn.004199d0
mov edi, esi
jmp 0x418457
mov edx, dword [ebp - 0x11c]
mov dword [edx], ebx
mov edi, 0x10
cmp dword [ebp - 0x6c], edi
jb 0x418469
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor ebx, ebx
mov esi, dword [ebp - 0x130]
cmp esi, ebx
je 0x41848c
mov edi, dword [ebp - 0x12c]
mov eax, esi
call fcn.00419e80
push esi
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x4184a3
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp + 0x20], esi
jb 0x4184c2
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c3ec2
mov esp, ebp
pop ebp
ret