Function at 0x411d3a
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x45c6c8
call fcn.0045c170
sub esp, 0x17c
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
cmp eax, edi
mov dword [ebp - 0x3c], ebx
jne 0x411d62
xor eax, eax
jmp 0x41249a
mov ecx, ebx
mov dword [ebx + 4], eax
call fcn.0042a09c
mov eax, dword [0x40a0f8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
cmp dword [ebx + 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], edi
jle 0x412144
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
push dword [eax + ecx*4]
lea ecx, [ebp - 0x1c]
call fcn.00413cc9
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x411db1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
jne 0x411dc3
push 0x80004003
call fcn.0045beb6
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
cmp dword [ebp - 0x10], edi
mov word [ebp - 0x84], 3
jne 0x411de8
push 0x80004003
call fcn.0045beb6
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
cmp dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], edi
jle 0x412113
jmp 0x411e05
xor edi, edi
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x7c], eax
mov dword [ebp + 8], edi
cmp dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], edi
jne 0x411e24
push 0x80004003
call fcn.0045beb6
lea edx, [ebp - 0x20]
lea esi, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x10]
sub esp, 0x10
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea esi, [ebp - 0x84]
mov edi, esp
movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
lea ecx, [ebp + 8]
push eax
call fcn.00413c69
test eax, eax
jge 0x411e6c
cmp eax, 0x80004002
je 0x411e6c
push eax
call fcn.0045beb6
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, esi
je 0x4120e3
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0x38]
cmp dword [ebx + 0x20], esi
jne 0x411fee
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push 0x40a234
push dword [ebp - 0x30]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x411ff4
cmp dword [ebp + 8], esi
mov esi, 0x80004003
jne 0x411eb6
push esi
call fcn.0045beb6
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x4c]
push edx
push 0
mov ecx, dword [eax]
push 0x40a228
push eax
call dword [ecx + 0x20]
cmp dword [ebp + 8], 0
jne 0x411ed6
push esi
call fcn.0045beb6
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x64]
push edx
push 0
mov ecx, dword [eax]
push 0x40a21c
push eax
call dword [ecx + 0x20]
cmp dword [ebp + 8], 0
jne 0x411ef6
push esi
call fcn.0045beb6
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x74]
push edx
push 0
mov ecx, dword [eax]
push 0x40a210
push eax
call dword [ecx + 0x20]
cmp word [ebp - 0x4c], 8
jne 0x4120cf
cmp dword [ebp - 0x44], 0
je 0x4120cf
mov esi, 0x45e298
mov eax, esi
test eax, eax
je 0x411f31
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x24]
call fcn.00413da2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.00411682
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x24]
call fcn.00411682
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x40a204
push dword [ebp - 0x28]
call esi
pop ecx
test eax, eax
pop ecx
je 0x4120bd
push 0x40a1fc
push dword [ebp - 0x28]
call esi
pop ecx
test eax, eax
pop ecx
je 0x4120bd
push 0x40a1f0
push dword [ebp - 0x6c]
call edi
pop ecx
test eax, eax
pop ecx
je 0x411fad
cmp dword [ebx + 0x24], 0
je 0x4120bd
push 0x40a1dc
push dword [ebp - 0x6c]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x4120bd
push 0x40a1dc
push dword [ebp - 0x6c]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x411fd9
mov esi, 0x40a1d4
mov eax, esi
test eax, eax
je 0x411fcf
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00413ea4
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x2c]
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.00413950
jmp 0x4120bd
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push 0x40a1c0
push dword [ebp - 0x30]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x4120cf
cmp dword [ebp + 8], esi
mov esi, 0x80004003
jne 0x412018
push esi
call fcn.0045beb6
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x4c]
xor edi, edi
push edx
mov ecx, dword [eax]
push edi
push 0x40a228
push eax
call dword [ecx + 0x20]
cmp dword [ebp + 8], edi
jne 0x412038
push esi
call fcn.0045beb6
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x64]
push edx
push edi
mov ecx, dword [eax]
push 0x40a21c
push eax
call dword [ecx + 0x20]
cmp dword [ebp + 8], edi
jne 0x412056
push esi
call fcn.0045beb6
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x74]
push edx
push edi
mov ecx, dword [eax]
push 0x40a210
push eax
call dword [ecx + 0x20]
cmp word [ebp - 0x4c], 8
jne 0x4120cf
cmp dword [ebp - 0x44], 0
je 0x4120cf
mov esi, 0x45e298
mov eax, esi
test eax, eax
je 0x412088
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x24]
call fcn.00413da2
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.00411682
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x24]
call fcn.00411682
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x28]
lea ecx, [ebx + 0x2c]
push eax
call fcn.004138e2
push dword [ebp - 0x44]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x5c]
call esi
jmp 0x4120d5
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x30], 0
je 0x4120e0
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp + 8]
test eax, eax
mov byte [ebp - 4], 3
je 0x4120f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
test eax, eax
je 0x412102
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x34]
jl 0x411e03
xor edi, edi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x412124
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
and byte [ebp - 4], 0
cmp eax, edi
je 0x412135
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 0x18]
jl 0x411d89
mov eax, dword [ebx + 0x30]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x41215b
mov esi, dword [ebx + 0x34]
sub esi, eax
sar esi, 3
mov dword [ebp - 0x1c], esi
jne 0x412167
mov dword [ebp - 4], 5
jmp 0x412484
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
mov dword [ebp - 0x14], edi
call fcn.00412b2b
push 1
lea eax, [ebp - 0x14]
push dword [ebp - 0x38]
mov byte [ebp - 4], 6
push eax
call fcn.00438a78
add esp, 0xc
cmp dword [ebp - 0x14], edi
jne 0x4121a9
push 2
lea eax, [ebp - 0x14]
push dword [ebp - 0x38]
push eax
call fcn.00438a78
add esp, 0xc
cmp dword [ebp - 0x14], edi
je 0x41246e
mov ecx, ebx
call fcn.0041296a
cmp dword [ebp + 0xc], edi
je 0x4121d6
mov esi, 0x40a1b4
mov eax, esi
test eax, eax
je 0x4121c7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebx + 0x40]
call fcn.00413da2
mov esi, dword [ebp - 0x1c]
jmp 0x4121dd
mov ecx, ebx
call fcn.00412a06
push dword [ebx + 0x40]
push dword [ebp - 0x14]
call fcn.00412cef
cmp dword [ebp + 0xc], edi
pop ecx
pop ecx
jne 0x412207
mov eax, dword [ebx + 0x48]
mov ebx, dword [ebx + 0x40]
push eax
push 0x40a1a8
push ebx
push dword [ebp - 0x14]
call fcn.0043919a
add esp, 0x10
mov eax, dword [0x40a0f8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], eax
cmp esi, edi
mov byte [ebp - 4], 8
mov dword [ebp - 0x18], edi
jbe 0x412444
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
lea ebx, [eax + ecx*8]
test ebx, ebx
je 0x412435
mov eax, dword [ebx + 4]
mov eax, dword [eax - 8]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x412435
lea esi, [eax + 7]
shr esi, 3
shl esi, 3
lea edi, [esi + 1]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
test eax, eax
pop ecx
mov dword [ebp + 8], eax
je 0x412435
mov ecx, edi
mov edi, dword [ebp + 8]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
push 9
and ecx, 3
push 0x40a19c
push dword [ebp + 0xc]
rep stosb byte es:[edi], al
mov eax, dword [ebx + 4]
push eax
push dword [ebp + 8]
call fcn.0045ac60
mov edi, esi
shl edi, 2
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x1c
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4122b5
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
jmp 0x412434
mov ecx, edi
mov edi, dword [ebp + 0xc]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
push esi
mov ecx, edx
push dword [ebp + 8]
and ecx, 3
rep stosb byte es:[edi], al
push dword [ebp + 0xc]
call fcn.004329f0
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
mov edi, dword [ebp + 0xc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x400
jae 0x412314
mov eax, dword [ebp - 0x3c]
push dword [ebp + 0xc]
mov ebx, dword [ebx]
mov eax, dword [eax + 0x40]
push ebx
push eax
push dword [ebp - 0x14]
call fcn.0043919a
add esp, 0x10
jmp 0x41242c
mov eax, dword [0x40a0f8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
and byte [ebp - 0x188], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x187]
push 0x40a190
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x188]
push 0x103
push eax
mov byte [ebp - 4], 0xa
push dword [0x531f10]
call fcn.00425d30
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x3c]
mov dword [ebp + 8], eax
mov esi, 0x40a184
push dword [ebp + 8]
cmp dword [edi + 0x20], 0
lea eax, [ebp - 0x188]
push eax
je 0x412381
push 0x40a178
jmp 0x412382
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.004142a0
add esp, 0x10
push 0
push dword [ebp - 0x10]
call fcn.00425e07
pop ecx
test eax, eax
pop ecx
je 0x4123a3
inc dword [ebp + 8]
jmp 0x41236a
push 0x40a174
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov dword [ebp - 0x34], eax
test eax, eax
pop ecx
je 0x4123d5
push dword [ebp + 0xc]
push 0x40a158
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
push dword [ebp - 0x34]
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x10
mov eax, dword [0x40a0f8]
mov dword [ebp - 0x20], eax
push dword [ebp + 8]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xb
push 0x40a168
push esi
push eax
call fcn.004142a0
push dword [ebp - 0x20]
mov ebx, dword [ebx]
mov eax, dword [edi + 0x40]
push ebx
push eax
push dword [ebp - 0x14]
call fcn.0043919a
add esp, 0x20
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00411656
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00411656
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00411656
push dword [ebp + 0xc]
call fcn.0045c12b
pop ecx
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x412221
push 1
pop eax
mov dword [ebp + 8], eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00438d36
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x54]
call fcn.00411656
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00411656
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00411656
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00411656
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00411656
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8