Function at 0x41294a
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x45ef28
call fcn.0045e9d0
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 0x412972
xor eax, eax
jmp 0x4130aa
mov ecx, ebx
mov dword [ebx + 4], eax
call fcn.0042b66d
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 0x412d54
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.0043cc6f
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4129c1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], edi
jne 0x4129d3
push 0x80004003
call fcn.0045e716
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 0x4129f8
push 0x80004003
call fcn.0045e716
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 0x412d23
jmp 0x412a15
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 0x412a34
push 0x80004003
call fcn.0045e716
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.00414875
test eax, eax
jge 0x412a7c
cmp eax, 0x80004002
je 0x412a7c
push eax
call fcn.0045e716
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, esi
je 0x412cf3
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0x38]
cmp dword [ebx + 0x20], esi
jne 0x412bfe
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push 0x40a234
push dword [ebp - 0x30]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x412c04
cmp dword [ebp + 8], esi
mov esi, 0x80004003
jne 0x412ac6
push esi
call fcn.0045e716
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 0x412ae6
push esi
call fcn.0045e716
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 0x412b06
push esi
call fcn.0045e716
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 0x412cdf
cmp dword [ebp - 0x44], 0
je 0x412cdf
mov esi, 0x460a68
mov eax, esi
test eax, eax
je 0x412b41
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x24]
call fcn.00414983
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.00412292
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x24]
call fcn.00412292
mov esi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x40a204
push dword [ebp - 0x28]
call esi
pop ecx
test eax, eax
pop ecx
je 0x412ccd
push 0x40a1fc
push dword [ebp - 0x28]
call esi
pop ecx
test eax, eax
pop ecx
je 0x412ccd
push 0x40a1f0
push dword [ebp - 0x6c]
call edi
pop ecx
test eax, eax
pop ecx
je 0x412bbd
cmp dword [ebx + 0x24], 0
je 0x412ccd
push 0x40a1dc
push dword [ebp - 0x6c]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x412ccd
push 0x40a1dc
push dword [ebp - 0x6c]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x412be9
mov esi, 0x40a1d4
mov eax, esi
test eax, eax
je 0x412bdf
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00414a85
mov eax, dword [ebx + 0x34]
lea ecx, [ebx + 0x2c]
lea edx, [ebp - 0x28]
push edx
push eax
call fcn.0041455c
jmp 0x412ccd
mov edi, dword [sym.imp.MSVCRT.dll__wcsicmp]
push 0x40a1c0
push dword [ebp - 0x30]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x412cdf
cmp dword [ebp + 8], esi
mov esi, 0x80004003
jne 0x412c28
push esi
call fcn.0045e716
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 0x412c48
push esi
call fcn.0045e716
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 0x412c66
push esi
call fcn.0045e716
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 0x412cdf
cmp dword [ebp - 0x44], 0
je 0x412cdf
mov esi, 0x460a68
mov eax, esi
test eax, eax
je 0x412c98
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x24]
call fcn.00414983
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
call fcn.00412292
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x24]
call fcn.00412292
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x28]
lea ecx, [ebx + 0x2c]
push eax
call fcn.004144ee
push dword [ebp - 0x44]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
push dword [ebp - 0x5c]
call esi
jmp 0x412ce5
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x30], 0
je 0x412cf0
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp + 8]
test eax, eax
mov byte [ebp - 4], 3
je 0x412d01
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
test eax, eax
je 0x412d12
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 0x412a13
xor edi, edi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x412d34
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
and byte [ebp - 4], 0
cmp eax, edi
je 0x412d45
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 0x412999
mov eax, dword [ebx + 0x30]
mov dword [ebp + 8], edi
cmp eax, edi
je 0x412d6b
mov esi, dword [ebx + 0x34]
sub esi, eax
sar esi, 3
mov dword [ebp - 0x1c], esi
jne 0x412d77
mov dword [ebp - 4], 5
jmp 0x413094
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
mov dword [ebp - 0x14], edi
call fcn.0041373b
push 1
lea eax, [ebp - 0x14]
push dword [ebp - 0x38]
mov byte [ebp - 4], 6
push eax
call fcn.0043a708
add esp, 0xc
cmp dword [ebp - 0x14], edi
jne 0x412db9
push 2
lea eax, [ebp - 0x14]
push dword [ebp - 0x38]
push eax
call fcn.0043a708
add esp, 0xc
cmp dword [ebp - 0x14], edi
je 0x41307e
mov ecx, ebx
call fcn.0041357a
cmp dword [ebp + 0xc], edi
je 0x412de6
mov esi, 0x40a1b4
mov eax, esi
test eax, eax
je 0x412dd7
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebx + 0x40]
call fcn.00414983
mov esi, dword [ebp - 0x1c]
jmp 0x412ded
mov ecx, ebx
call fcn.00413616
push dword [ebx + 0x40]
push dword [ebp - 0x14]
call fcn.004138ff
cmp dword [ebp + 0xc], edi
pop ecx
pop ecx
jne 0x412e17
mov eax, dword [ebx + 0x48]
mov ebx, dword [ebx + 0x40]
push eax
push 0x40a1a8
push ebx
push dword [ebp - 0x14]
call fcn.0043ae2a
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 0x413054
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
lea ebx, [eax + ecx*8]
test ebx, ebx
je 0x413045
mov eax, dword [ebx + 4]
mov eax, dword [eax - 8]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x413045
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 0x413045
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.0045d4c0
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 0x412ec5
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_free]
jmp 0x413044
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.00434230
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 0x412f24
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.0043ae2a
add esp, 0x10
jmp 0x41303c
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 [0x536190]
call fcn.00426857
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 0x412f91
push 0x40a178
jmp 0x412f92
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.00414e81
add esp, 0x10
push 0
push dword [ebp - 0x10]
call fcn.0042692e
pop ecx
test eax, eax
pop ecx
je 0x412fb3
inc dword [ebp + 8]
jmp 0x412f7a
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 0x412fe5
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.00414e81
push dword [ebp - 0x20]
mov ebx, dword [ebx]
mov eax, dword [edi + 0x40]
push ebx
push eax
push dword [ebp - 0x14]
call fcn.0043ae2a
add esp, 0x20
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
call fcn.00412266
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
call fcn.00412266
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00412266
push dword [ebp + 0xc]
call fcn.0045e98b
pop ecx
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x412e31
push 1
pop eax
mov dword [ebp + 8], eax
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0043a9c6
pop ecx
mov byte [ebp - 4], 7
pop ecx
lea ecx, [ebp - 0x54]
call fcn.00412266
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00412266
and byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.00412266
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
call fcn.00412266
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00412266
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8