Function at 0x40dad0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword [0x426e5c]
push ebx
push esi
push edi
push eax
call fcn.00417c55
mov ecx, dword [eax]
mov edx, dword [0x4203f4]
mov dword [esp + 0x38], ecx
xor ecx, ecx
push 0x1445
mov edi, 4
mov eax, 8
push ecx
push edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], 1
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], 2
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edi
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edi
mov dword [esp + 0xa4], edi
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
lea eax, [ebx + 0x445]
lea esi, [eax + 0x400]
mov dword [esp + 0x64], eax
lea eax, [esi + 0x400]
lea ecx, [eax + 0x400]
mov dword [esp + 0x54], esi
sub esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x58], esi
sub ecx, eax
mov edx, 0x100
mov dword [esi + eax], 0xffffffff
mov dword [eax], 0xffffffff
mov dword [ecx + eax], 0
add eax, edi
sub edx, 1
jne 0x40dbc0
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
mov ecx, dword [ebx]
mov al, byte [ecx]
cmp al, 0x20
je 0x40dbec
cmp al, 9
jne 0x40dbf3
add ecx, 1
mov dword [ebx], ecx
jmp 0x40dbe0
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40dbf8
sub eax, esi
lea eax, [ecx + eax - 1]
cmp eax, ecx
jbe 0x40dc26
jmp 0x40dc10
mov cl, byte [eax]
cmp cl, 0x20
je 0x40dc1c
cmp cl, 9
jne 0x40dc26
mov byte [eax], 0
sub eax, 1
cmp eax, dword [ebx]
ja 0x40dc10
mov ecx, dword [ebp + 0x10]
lea edi, [ebx + 4]
mov dword [esp + 0x3c], edi
mov dword [edi], ecx
mov al, byte [ecx]
cmp al, 0x20
je 0x40dc3c
cmp al, 9
jne 0x40dc41
add ecx, 1
jmp 0x40dc30
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40dc46
sub eax, esi
lea eax, [ecx + eax - 1]
cmp eax, ecx
jbe 0x40dc76
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 0x20
je 0x40dc6c
cmp cl, 9
jne 0x40dc76
mov byte [eax], 0
sub eax, 1
cmp eax, dword [edi]
ja 0x40dc60
mov esi, edi
mov dword [esp + 0x4c], 0xff
mov edx, dword [esi]
push 0x2c
push edx
call sub.MSVCRT.dll_strchr
add esp, 8
test eax, eax
mov dword [esi + 4], eax
je 0x40dce8
mov byte [eax], 0
add dword [esi + 4], 1
jmp 0x40dca0
mov ecx, dword [esi]
mov al, byte [ecx]
cmp al, 0x20
je 0x40dcac
cmp al, 9
jne 0x40dcb3
add ecx, 1
mov dword [esi], ecx
jmp 0x40dca0
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40dcb8
sub eax, edi
lea eax, [ecx + eax - 1]
cmp eax, ecx
jbe 0x40dcef
jmp 0x40dcd0
mov cl, byte [eax]
cmp cl, 0x20
je 0x40dcdc
cmp cl, 9
jne 0x40dcef
mov byte [eax], 0
sub eax, 1
cmp eax, dword [esi]
ja 0x40dcd0
jmp 0x40dcef
mov dword [esi + 4], 0x419157
mov ecx, 1
add esi, 4
sub dword [esp + 0x4c], ecx
jne 0x40dc80
mov esi, dword [ebx + 0x400]
mov edi, 0x419157
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x40dd48
cmp dword [ebp + 8], eax
je 0x40dd26
mov ecx, dword [ebp + 8]
push str.__Too_many_arguments._n_n
push ecx
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x40dd2f
mov edx, dword [ebp + 0x14]
mov dword [edx], str.Too_many_arguments_in_given_range.
push ebx
mov eax, dword [0x4203f4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 0x1c], 0
jne 0x40dd9c
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x30]
cmp eax, 1
jl 0x40dd9c
add eax, 0xffffffff
push eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x3f]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x87]
push edx
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebx]
lea ecx, [esp + 0x6c]
push ecx
call fcn.00405650
add esp, 0x28
test eax, eax
jne 0x40ddd6
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3b]
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebx]
call fcn.00405330
add esp, 0x20
test eax, eax
je 0x40eacc
cmp dword [esp + 0x50], 0
jne 0x40de17
mov eax, dword [ebp + 8]
test eax, eax
je 0x40ddf4
push str.__The_array_is_not_initialized_yet.__Dim_was_not_called_yet__n_n
push eax
call sub.MSVCRT.dll_fprintf
add esp, 8
jmp 0x40ddfd
mov ecx, dword [ebp + 0x14]
mov dword [ecx], str.The_array_is_not_initialized_yet.__Dim_was_not_called_yet_
mov edx, dword [0x4203f4]
push ebx
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx ebx, byte [esp + 0x2b]
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + ebx*4 + 4]
mov edi, 0x419157
mov ecx, 1
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0x20], ebx
je 0x40de6c
cmp dword [ebp + 8], edx
je 0x40de59
mov eax, dword [ebp + 8]
push ebx
push str.__The_array_does_only_have__d_dimensions._n_n
push eax
call sub.MSVCRT.dll_fprintf
mov edx, dword [esp + 0x38]
add esp, 0xc
push edx
jmp 0x40dd30
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [ecx], str.Too_many_arguments_in_given_range._nThe_array_does_only_have__d_dimensions.
push edx
jmp 0x40dd30
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
mov edi, 0x41d2e8
mov esi, eax
mov ecx, 4
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40dfd7
mov edi, str.nonzero
mov esi, eax
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x40dfd7
test ebx, ebx
mov dword [esp + 0x24], edx
jle 0x40e027
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 0x3c]
sub eax, esi
mov dword [esp + 0x1c], eax
lea esp, [esp]
mov eax, dword [esp + 0x58]
mov ecx, dword [ebx]
push esi
lea edi, [esi + eax]
push edi
push 0x41d21c
push ecx
call sub.MSVCRT.dll_sscanf
mov eax, dword [edi]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x40def6
cmp dword [esi], eax
jne 0x40defd
mov edx, dword [esp + 0x1c]
mov dword [edi], 0
mov eax, dword [edx + esi]
sub eax, 1
jmp 0x40defb
cmp dword [esi], 0xffffffff
jne 0x40defd
mov dword [esi], eax
mov edi, dword [edi]
test edi, edi
jl 0x40dfa3
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + esi]
cmp edi, eax
jg 0x40dfa3
mov ecx, dword [esi]
add eax, 0xffffffff
cmp ecx, eax
jg 0x40dfa3
cmp edi, ecx
jg 0x40df47
mov eax, dword [esp + 0x24]
add eax, 1
add ebx, 4
add esi, 4
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jl 0x40dec0
mov ebx, dword [esp + 0x20]
jmp 0x40e027
cmp dword [ebp + 8], 0
je 0x40df7c
mov edx, dword [ebp + 8]
push str.__Range_end_lower_than_range_start._n_n
push edx
call sub.MSVCRT.dll_fprintf
mov ecx, dword [esp + 0x34]
mov edx, dword [0x4203f4]
add esp, 8
push ecx
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov eax, dword [ebp + 0x14]
push ecx
mov dword [eax], str.Range_end_lower_than_range_start.
mov edx, dword [0x4203f4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_HeapFree]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp + 8], 0
je 0x40dfc4
mov eax, dword [ebp + 8]
push str.__Array_index_out_of_bounds._n_n
push eax
call sub.MSVCRT.dll_fprintf
mov edx, dword [esp + 0x34]
add esp, 8
push edx
jmp 0x40dd30
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x2c]
mov dword [ecx], 0x41bebc
push edx
jmp 0x40dd30
mov edi, str.nonzero
mov esi, eax
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x40dff1
mov dword [esp + 0x6c], 1
test ebx, ebx
jle 0x40e027
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
sub ecx, eax
sub edx, eax
mov esi, ebx
jmp 0x40e010
mov dword [ecx + eax], 0
mov edi, dword [eax]
sub edi, 1
mov dword [edx + eax], edi
add eax, 4
sub esi, 1
jne 0x40e010
mov cl, byte [esp + 0x44]
test cl, cl
js 0x40e095
mov al, cl
and al, 0x3f
cmp al, 7
jne 0x40e052
mov eax, dword [esp + 0x40]
push eax
call fcn.00403a40
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], 0x419157
jmp 0x40e0aa
cmp al, 0xa
jne 0x40e068
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x58], 0x419157
jmp 0x40e0aa
cmp al, 0xb
jne 0x40e080
mov edx, dword [0x437db0]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], 0x419157
jmp 0x40e0aa
and ecx, 0x3f
mov eax, dword [esp + ecx*4 + 0x74]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x58], 0x419157
jmp 0x40e0aa
mov dword [esp + 0x1c], 4
mov dword [esp + 0x58], 0x41c9d4
mov byte [esp + 0x44], 5
cmp dword [0x437dc8], 0
mov dword [esp + 0x3c], str._____X_n
jne 0x40e0c3
mov dword [esp + 0x3c], str.____d_n
test ebx, ebx
jle 0x40e11f
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
sub edi, esi
sub ebx, esi
sub eax, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov edx, dword [edi + esi]
push edx
lea eax, [esp + 0xb0]
push 0x41bac0
push eax
call sub.MSVCRT.dll_sprintf
mov edx, dword [esp + 0x44]
mov dword [esi], eax
mov ecx, dword [ebx + esi]
mov dword [edx + esi], ecx
add esp, 0xc
add esi, 4
sub dword [esp + 0x24], 1
jne 0x40e0f0
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
je 0x40e529
push str._Debugger_Array_Display__n
push eax
call sub.MSVCRT.dll_fprintf
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
add esp, 8
cmp ecx, dword [edx]
jg 0x40e50f
lea esp, [esp]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x14]
mov esi, dword [edi + edx*4 - 4]
add edx, 0xffffffff
test edx, edx
jle 0x40e180
mov ecx, dword [esp + 0x4c]
mov eax, edi
sub ecx, edi
jmp 0x40e170
mov ebx, dword [ecx + eax]
imul ebx, dword [eax]
add esi, ebx
add eax, 4
sub edx, 1
jne 0x40e170
imul esi, dword [esp + 0x1c]
add esi, dword [esp + 0x50]
cmp dword [esp + 0x6c], 0
je 0x40e1ab
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
push eax
push esi
push ecx
call fcn.00407820
add esp, 0xc
test eax, eax
jne 0x40e4bc
mov edx, dword [edi]
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
mov eax, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push str.___s_s__d
push ecx
call sub.MSVCRT.dll_fprintf
add esp, 0x18
cmp dword [esp + 0x20], 1
jle 0x40e212
mov eax, dword [esp + 0x64]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
sub ebx, eax
add edx, 0xffffffff
lea edi, [eax + 4]
mov dword [esp + 0x24], edx
nop
mov eax, dword [edi + ebx]
mov ecx, dword [edi]
mov edx, dword [ebp + 8]
push eax
push ecx
push str.___d
push edx
call sub.MSVCRT.dll_fprintf
add esp, 0x10
add edi, 4
sub dword [esp + 0x24], 1
jne 0x40e1f0
movzx eax, byte [esp + 0x44]
and eax, 0x3f
add eax, 0xffffffff
cmp eax, 0xc
ja case.0x40e226.1
jmp dword [eax*4 + 0x40eb0c]
movsx eax, byte [esi]
jmp 0x40e4aa
movsx eax, word [esi]
jmp 0x40e4aa
mov edi, dword [ebp + 8]
push 0x41bb18
push edi
call sub.MSVCRT.dll_fprintf
mov eax, dword [esp + 0x48]
push esi
push 0xffffffffffffffff
push edi
call fcn.00409620
push 0x41bffc
push edi
call sub.MSVCRT.dll_fprintf
add esp, 0x1c
jmp 0x40e4bc
mov edi, dword [ebp + 8]
push str.____
push edi
call sub.MSVCRT.dll_fprintf
mov esi, dword [esi]
add esp, 8
test esi, esi
jne 0x40e287
mov esi, 0x41c374
cmp dword [0x41f014], 0
mov eax, 0x41c424
jne 0x40e29a
mov eax, 0x41c420
push esi
push eax
mov ecx, edi
call fcn.00402eb0
push 0x41d0dc
push edi
call sub.MSVCRT.dll_fprintf
add esp, 0x10
jmp 0x40e4bc
fld dword [esi]
mov eax, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push str.____f_n
push eax
call sub.MSVCRT.dll_fprintf
add esp, 0x10
jmp 0x40e4bc
mov ecx, dword [ebp + 8]
push str.____
push ecx
call sub.MSVCRT.dll_fprintf
mov eax, dword [0x41f014]
add esp, 8
test eax, eax
mov dword [esp + 0x38], 0x41c424
jne 0x40e2fe
mov dword [esp + 0x38], 0x41c420
test eax, eax
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x24], ebx
jne 0x40e320
movsx edx, bl
push eax
push edx
push esi
call sub.MSVCRT.dll_memchr
add esp, 0xc
test eax, eax
je 0x40e320
mov edi, esi
jmp 0x40e395
mov ecx, dword [0x4203f4]
lea eax, [ebx + 2]
push eax
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp dword [0x41f014], 0
mov edi, eax
je 0x40e36d
mov ebx, dword [esp + 0x24]
shr ebx, 1
push ebx
push esi
push edi
call sub.MSVCRT.dll_wcsncpy
mov eax, ebx
add esp, 0xc
test eax, eax
mov ecx, esi
jbe 0x40e365
cmp word [ecx], 0
je 0x40e388
add ecx, 2
sub eax, 1
jne 0x40e357
mov word [edi + ebx*2], 0
jmp 0x40e388
push ebx
push esi
push edi
call sub.MSVCRT.dll_strncpy
push ebx
push 0
push esi
call sub.MSVCRT.dll_memchr
add esp, 0x18
test eax, eax
jne 0x40e388
mov byte [edi + ebx], al
mov eax, dword [esp + 0x24]
mov byte [edi + eax], 0
mov byte [edi + eax + 1], 0
mov edx, dword [esp + 0x38]
mov ebx, dword [ebp + 8]
push edi
push edx
mov ecx, ebx
call fcn.00402eb0
push 0x41d0dc
push ebx
call sub.MSVCRT.dll_fprintf
add esp, 0x10
cmp esi, edi
je 0x40e4bc
mov eax, dword [0x4203f4]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x40e4bc
cmp dword [0x41f014], 0
je 0x40e3e0
movzx eax, word [esi]
jmp 0x40e4aa
movzx eax, byte [esi]
jmp 0x40e4aa
fld qword [esi]
mov eax, dword [ebp + 8]
sub esp, 8
fstp qword [esp]
push str.____g_n
push eax
call sub.MSVCRT.dll_fprintf
add esp, 0x10
jmp 0x40e4bc
cmp dword [0x437dc8], 0
je 0x40e462
mov eax, dword [esi]
mov esi, dword [esi + 4]
test esi, esi
push eax
jle 0x40e43e
push esi
mov esi, dword [esp + 0x34]
push 0x41bae0
add esi, 0x404
push esi
call sub.MSVCRT.dll_sprintf
mov ecx, dword [ebp + 8]
add esp, 0x10
push esi
push str._____s_n
push ecx
jmp 0x40e4b4
mov esi, dword [esp + 0x30]
push 0x41badc
add esi, 0x404
push esi
call sub.MSVCRT.dll_sprintf
mov ecx, dword [ebp + 8]
add esp, 0xc
push esi
push str._____s_n
push ecx
jmp 0x40e4b4
mov ecx, dword [esi]
mov edi, dword [esp + 0x2c]
mov esi, dword [esi + 4]
add edi, 0x404
test esi, esi
mov eax, edi
jg 0x40e48d
jl 0x40e47d
test ecx, ecx
jae 0x40e48d
not ecx
not esi
add ecx, 1
mov byte [edi], 0x2d
lea eax, [edi + 1]
adc esi, 0
push esi
push ecx
call fcn.004032d0
mov edx, dword [ebp + 8]
push edi
push str.____s_n
push edx
call sub.MSVCRT.dll_fprintf
add esp, 0x14
jmp 0x40e4bc
mov eax, dword [esi]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
call sub.MSVCRT.dll_fprintf
add esp, 0xc
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
add dword [edx + eax*4 - 4], 1
lea ecx, [eax - 1]
cmp ecx, 1
jl 0x40e501
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
sub esi, edi
lea eax, [edx + ecx*4]
sub edi, edx
mov ebx, dword [eax]
lea edx, [edi + eax]
cmp ebx, dword [edx + esi]
jle 0x40e4fd
mov edx, dword [edx]
add dword [eax - 4], 1
mov dword [eax], edx
sub ecx, 1
sub eax, 4
cmp ecx, 1
jge 0x40e4e0
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ecx, dword [esp + 0x34]
cmp eax, dword [ecx]
jle 0x40e150
mov edx, dword [ebp + 8]
push 0x41bffc
push edx
call sub.MSVCRT.dll_fprintf
mov ebx, dword [esp + 0x34]
add esp, 8
jmp 0x40eaef
mov eax, dword [ebp + 0x18]
mov edi, dword [0x437d70]
mov dword [eax], ebx
mov eax, dword [esp + 0x48]
mov edx, edi
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x40e540
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e551
sub eax, edx
mov esi, eax
mov al, byte [esp + 0x44]
test al, al
lea esi, [esi + edi + 1]
js 0x40e656
and al, 0x3f
cmp al, 7
jne 0x40e656
mov edx, dword [esp + 0x40]
mov eax, edx
mov dword [0x426e60], ebx
mov dword [0x4208f0], ebx
mov dword [esp + 0x48], 1
lea ebx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e595
sub eax, ebx
lea ecx, [eax + edx + 1]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x60]
push eax
mov dword [0x4205d0], ecx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x23]
lea ebx, [ebp + 0xc]
mov dword [0x42bea0], edi
call fcn.004045c0
add esp, 0x10
test eax, eax
je 0x40e64a
jmp 0x40e5e0
mov al, byte [esp + 0x13]
add dword [esp + 0x48], 1
mov byte [esi], al
mov ecx, dword [esp + 0x5c]
add ecx, 1
add esi, 1
mov dword [esi], ecx
mov ecx, dword [ebp + 0xc]
add esi, 4
mov edx, esi
nop
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x40e600
mov eax, dword [ebp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e614
sub eax, edx
lea esi, [esi + eax + 1]
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x23]
lea ebx, [ebp + 0xc]
call fcn.004045c0
add esp, 0x10
test eax, eax
jne 0x40e5e0
mov edi, dword [0x437d70]
mov byte [esi], 0xff
add esi, 1
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
cmp ecx, dword [edx]
jg 0x40eac0
mov eax, dword [esp + 0x20]
add eax, 0xffffffff
mov dword [esp + 0x38], eax
mov edi, dword [esp + 0x38]
test edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov ecx, dword [eax + ecx*4 - 4]
jle 0x40e6a0
mov edx, dword [esp + 0x4c]
sub edx, eax
lea ecx, [ecx]
mov ebx, dword [eax + edx]
imul ebx, dword [eax]
add ecx, ebx
add eax, 4
sub edi, 1
jne 0x40e690
imul ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x50]
cmp dword [esp + 0x6c], 0
mov ebx, ecx
je 0x40e6cd
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push edx
push ebx
push eax
call fcn.00407820
add esp, 0xc
test eax, eax
jne case.0x40e73f.2
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edx
push 0x41bac0
push esi
call sub.MSVCRT.dll_sprintf
mov edi, 1
add esp, 0xc
add esi, eax
cmp dword [esp + 0x20], edi
jle 0x40e711
nop
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + edi*4]
push ecx
push 0x41beac
push esi
call sub.MSVCRT.dll_sprintf
add edi, 1
add esp, 0xc
add esi, eax
cmp edi, dword [esp + 0x20]
jl 0x40e6f0
mov cl, byte [esp + 0x44]
mov eax, dword [ebp + 0x18]
mov dl, cl
and dl, 0x3f
add esi, 1
cmp dl, 7
jne 0x40e72d
mov edx, dword [esp + 0x48]
add dword [eax], edx
jmp 0x40e730
add dword [eax], 1
and ecx, 0x3f
lea eax, [ecx - 1]
cmp eax, 0xc
ja case.0x40e73f.2
jmp dword [eax*4 + 0x40eb40]
mov al, byte [ebx]
mov byte [esi], al
add esi, 1
jmp case.0x40e73f.2
mov cx, word [ebx]
mov word [esi], cx
add esi, 2
jmp case.0x40e73f.2
mov edx, dword [ebx]
mov dword [esi], edx
add esi, 4
jmp case.0x40e73f.2
xor eax, eax
mov dword [0x426e60], eax
mov dword [0x4208f0], eax
mov eax, dword [esp + 0x40]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e780
mov ecx, dword [esp + 0x40]
sub eax, edx
lea edx, [eax + ecx + 1]
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
mov dword [0x4205d0], edx
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x7c]
mov dword [0x42bea0], ebx
push eax
lea eax, [esp + 0x23]
lea ebx, [ebp + 0xc]
call fcn.004045c0
add esp, 0x10
test eax, eax
je case.0x40e73f.2
lea ebx, [ebx]
movzx eax, byte [esp + 0x13]
test al, al
js 0x40e92b
and eax, 0x3f
add eax, 0xffffffff
cmp eax, 0xc
ja case.0x40e7ec.1
jmp dword [eax*4 + 0x40eb74]
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx]
mov byte [esi], dl
add esi, 1
jmp case.0x40e7ec.1
mov eax, dword [esp + 0x18]
mov cx, word [eax]
mov word [esi], cx
add esi, 2
jmp case.0x40e7ec.1
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
jmp 0x40e933
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
jne 0x40e832
mov eax, 0x41c374
jmp 0x40e834
mov eax, dword [eax]
call fcn.004030f0
cmp dword [0x437dc0], 0
mov eax, esi
je 0x40e867
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e847
mov ecx, dword [0x42bca4]
sub eax, edx
sar eax, 1
add eax, eax
add eax, ecx
add esi, eax
jmp case.0x40e7ec.1
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e870
mov ecx, dword [0x42bca4]
sub eax, edx
add eax, ecx
add esi, eax
jmp case.0x40e7ec.1
mov edx, dword [esp + 0x18]
fld dword [edx]
fstp dword [esi]
jmp 0x40e933
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
mov ecx, esi
call fcn.00403160
cmp dword [0x437dc0], 0
mov eax, esi
je 0x40e8d1
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e8b4
mov ecx, dword [0x42bca4]
sub eax, edx
sar eax, 1
add eax, eax
add eax, ecx
add esi, eax
jmp case.0x40e7ec.1
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e8d4
mov ecx, dword [0x42bca4]
sub eax, edx
add eax, ecx
add esi, eax
jmp case.0x40e7ec.1
cmp dword [0x41f014], 0
je 0x40e8ff
mov edx, dword [esp + 0x18]
movzx eax, word [edx]
mov dword [esi], eax
jmp 0x40e933
mov eax, dword [esp + 0x18]
movzx eax, byte [eax]
mov dword [esi], eax
jmp 0x40e933
mov ecx, dword [esp + 0x18]
fld qword [ecx]
add esi, 8
fstp qword [esi - 8]
jmp case.0x40e7ec.1
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
mov dword [esi], edx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
add esi, 8
jmp case.0x40e7ec.1
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov dword [esi], edx
add esi, 4
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x7c]
push eax
lea eax, [esp + 0x23]
lea ebx, [ebp + 0xc]
call fcn.004045c0
add esp, 0x10
test eax, eax
jne 0x40e7d0
jmp case.0x40e73f.2
mov ebx, dword [ebx]
test ebx, ebx
mov eax, 0x41c374
je 0x40e973
mov eax, ebx
call fcn.004030f0
cmp dword [0x437dc0], 0
mov eax, esi
je 0x40e9a6
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e986
mov ecx, dword [0x42bca4]
sub eax, edx
sar eax, 1
add eax, eax
add eax, ecx
add esi, eax
jmp case.0x40e73f.2
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e9b0
mov ecx, dword [0x42bca4]
sub eax, edx
add eax, ecx
add esi, eax
jmp case.0x40e73f.2
fld dword [ebx]
add esi, 4
fstp dword [esi - 4]
jmp case.0x40e73f.2
mov eax, dword [esp + 0x30]
mov edi, ebx
mov ecx, esi
call fcn.00403160
cmp dword [0x437dc0], 0
mov eax, esi
je 0x40ea0f
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e9f2
sub eax, edx
mov edx, dword [0x42bca4]
sar eax, 1
add eax, eax
add eax, edx
add esi, eax
jmp case.0x40e73f.2
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40ea12
sub eax, edx
mov edx, dword [0x42bca4]
add eax, edx
add esi, eax
jmp case.0x40e73f.2
cmp dword [0x41f014], 0
je 0x40ea3c
movzx eax, word [ebx]
mov dword [esi], eax
add esi, 4
jmp case.0x40e73f.2
movzx eax, byte [ebx]
mov dword [esi], eax
add esi, 4
jmp case.0x40e73f.2
fld qword [ebx]
fstp qword [esi]
jmp 0x40ea56
mov eax, dword [ebx]
mov dword [esi], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
add esi, 8
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add dword [ecx + eax*4 - 4], 1
mov ecx, dword [esp + 0x38]
cmp ecx, 1
jl 0x40eaa8
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x34]
sub edi, edx
sub edx, ebx
lea eax, [ebx + ecx*4]
mov dword [esp + 0x60], edx
jmp 0x40ea8c
mov edx, dword [esp + 0x60]
mov ebx, dword [eax]
add edx, eax
cmp ebx, dword [edx + edi]
jle 0x40eaa8
mov edx, dword [edx]
add dword [eax - 4], 1
mov dword [eax], edx
sub ecx, 1
sub eax, 4
cmp ecx, 1
jge 0x40ea88
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x34]
cmp ecx, dword [edx]
jle 0x40e673
mov edi, dword [0x437d70]
mov ebx, dword [esp + 0x2c]
sub esi, edi
mov dword [esp + 0x60], esi
jmp 0x40eaef
mov eax, dword [ebp + 8]
test eax, eax
je 0x40eae6
mov ecx, dword [ebx]
push ecx
push str.__Array_not_found:__s_n_n
push eax
call sub.MSVCRT.dll_fprintf
add esp, 0xc
jmp 0x40eaef
mov edx, dword [ebp + 0x14]
mov dword [edx], str.Array_not_found.
mov eax, dword [0x4203f4]
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x60]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret