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

Disassembly:
sub esp, 0x8c
mov eax, dword [0x44ce2c]
xor eax, esp
mov dword [esp + 0x88], eax
mov edx, dword [esp + 0x94]
mov ecx, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
push esi
mov esi, dword [esp + 0xac]
mov ebp, 0x3000
push edi
mov edi, dword [esp + 0xac]
mov dword [esp + 0x24], edx
mov eax, dword [esi + 0x14]
and eax, ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x44], ecx
cmp eax, ebp
jne 0x402b50
push ecx
push esi
push edi
push ebx
push edx
push dword [esp + 0xb4]
call fcn.004031ba
add esp, 0x18
jmp 0x4031a1
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x28]
push eax
call fcn.00401c41
pop ecx
mov ebp, eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], ebp
call fcn.004021c2
mov edx, dword [ebp]
lea eax, [esp + 0x60]
push eax
mov ecx, ebp
call dword [edx + 0x14]
mov eax, dword [esi + 0x30]
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x13], 0
mov byte [esp + 0x1c], 0
mov ecx, dword [eax + 4]
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [esp + 0x28]
push eax
call fcn.00401b21
pop ecx
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.004021c2
mov edx, dword [esi]
lea eax, [esp + 0x78]
push eax
push 0x425537
push str.0123456789_Ee
mov ecx, esi
call dword [edx + 0x2c]
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x402c28
cmp byte [ebx + 4], 0
jne 0x402be9
mov ecx, ebx
call fcn.00403fdf
mov ax, word [ebx + 6]
cmp ax, word [esp + 0x8e]
jne 0x402bfe
mov eax, ebp
mov byte [eax], 0x2b
jmp 0x402c1e
cmp byte [ebx + 4], 0
jne 0x402c0b
mov ecx, ebx
call fcn.00403fdf
mov ax, word [ebx + 6]
cmp ax, word [esp + 0x8c]
jne 0x402c28
mov eax, ebp
mov byte [eax], 0x2d
mov ecx, ebx
lea ebp, [eax + 1]
call fcn.00403c3f
mov eax, dword [esp + 0x44]
xor cl, cl
xor esi, esi
mov byte [ebp], 0x30
and dword [esp + 0x14], esi
mov edx, 0x300
mov byte [esp + 0x12], cl
mov dword [esp + 0x28], ebp
inc ebp
cmp dword [eax], 0x3b9aca00
lea eax, [esp + 0x60]
push 0x24
pop ecx
cmove ecx, edx
mov dword [esp + 0x18], esi
cmp dword [esp + 0x74], 0x10
mov dword [esp + 0x3c], ecx
cmovae eax, dword [esp + 0x60]
xor ecx, ecx
mov dword [esp + 0x38], eax
inc ecx
mov al, byte [eax]
cmp al, 0x7f
je 0x402e40
test al, al
jle 0x402e40
cmp dword [esp + 0x70], esi
jne 0x402c8d
and dword [esp + 0x34], esi
jmp 0x402ca0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x10]
movzx eax, ax
xor ecx, ecx
mov dword [esp + 0x34], eax
inc ecx
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
push ecx
lea ecx, [esp + 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
call fcn.004013d5
push dword [esp + 0x20]
xor esi, esi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x402ddb
cmp byte [ebx + 4], 0
jne 0x402ce2
mov ecx, ebx
call fcn.00403fdf
movzx eax, word [ebx + 6]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004014cd
pop ecx
pop ecx
cmp eax, 0xa
jae 0x402d55
mov ecx, dword [esp + 0x18]
xor edx, edx
inc edx
mov byte [esp + 0x12], dl
cmp dword [esp + 0x3c], ecx
jg 0x402d17
inc dword [esp + 0x14]
test eax, eax
je 0x402d2e
mov byte [esp + 0x1c], dl
jmp 0x402d2e
test eax, eax
jne 0x402d1f
test ecx, ecx
je 0x402d2e
mov al, byte [eax + str.0123456789_Ee]
mov byte [ebp], al
inc ebp
inc ecx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
cmp byte [eax + esi], 0x7f
je 0x402da1
cmp dword [esp + 0x5c], 0x10
lea eax, [esp + 0x48]
cmovae eax, dword [esp + 0x48]
inc byte [eax + esi]
jmp 0x402da1
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x48]
mov edi, dword [esp + 0x48]
cmp edx, 0x10
cmovae eax, edi
cmp byte [eax + esi], 0
je 0x402dc4
mov eax, dword [esp + 0x34]
test ax, ax
je 0x402dc4
cmp byte [ebx + 4], 0
jne 0x402d8f
mov ecx, ebx
call fcn.00403fdf
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x34]
cmp word [ebx + 6], ax
jne 0x402dc4
push 0
lea ecx, [esp + 0x4c]
call fcn.004051d1
inc esi
mov ecx, ebx
call fcn.00403c3f
push dword [esp + 0x20]
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
jne 0x402cd5
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
test esi, esi
je 0x402de3
cmp edx, 0x10
lea eax, [esp + 0x48]
cmovae eax, edi
cmp byte [eax + esi], 0
jle 0x402e06
inc esi
jmp 0x402de3
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x48]
mov ecx, dword [esp + 0x38]
test esi, esi
je 0x402e0b
mov cl, byte [ecx]
cmp cl, 0x7f
je 0x402e0b
sub esi, 1
je 0x402e1d
cmp edx, 0x10
lea eax, [esp + 0x48]
cmovae eax, edi
cmp cl, byte [eax + esi]
je 0x402e2f
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x48]
call fcn.0040415a
mov edi, dword [esp + 0x20]
jmp 0x402eb5
test esi, esi
jne 0x402e2f
cmp edx, 0x10
lea eax, [esp + 0x48]
cmovae eax, edi
cmp cl, byte [eax]
jl 0x402e06
mov ecx, dword [esp + 0x38]
cmp byte [ecx + 1], 0
jle 0x402de7
inc ecx
mov dword [esp + 0x38], ecx
jmp 0x402de7
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x402eb5
cmp byte [ebx + 4], 0
jne 0x402e5a
mov ecx, ebx
call fcn.00403fdf
movzx eax, word [ebx + 6]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004014cd
pop ecx
pop ecx
cmp eax, 0xa
jae 0x402eb1
cmp dword [esp + 0x3c], esi
jg 0x402e85
inc dword [esp + 0x14]
test eax, eax
je 0x402e98
mov byte [esp + 0x1c], 1
jmp 0x402e98
test eax, eax
jne 0x402e8d
test esi, esi
je 0x402e98
mov al, byte [eax + str.0123456789_Ee]
mov byte [ebp], al
inc ebp
inc esi
mov ecx, ebx
mov byte [esp + 0x12], 1
call fcn.00403c3f
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
jne 0x402e4d
mov dword [esp + 0x18], esi
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x402ef5
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp byte [ebx + 4], 0
movzx esi, ax
jne 0x402edb
mov ecx, ebx
call fcn.00403fdf
cmp word [ebx + 6], si
jne 0x402ef5
call fcn.0041010b
mov ecx, ebx
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp], al
inc ebp
call fcn.00403c3f
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x18]
cmp dword [eax], 0x3b9aca00
je 0x402fc7
test esi, esi
jne 0x402fc7
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x402f5c
mov esi, dword [esp + 0x14]
cmp byte [ebx + 4], 0
jne 0x402f2f
mov ecx, ebx
call fcn.00403fdf
mov ax, word [ebx + 6]
cmp ax, word [esp + 0x78]
jne 0x402f54
mov ecx, ebx
mov byte [esp + 0x12], 1
dec esi
call fcn.00403c3f
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
jne 0x402f22
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
jns 0x402fc7
mov byte [ebp], 0x30
inc ebp
inc eax
mov dword [esp + 0x14], eax
jmp 0x402fc7
cmp byte [ebx + 4], 0
jne 0x402f7d
mov ecx, ebx
call fcn.00403fdf
movzx eax, word [ebx + 6]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004014cd
pop ecx
pop ecx
cmp eax, 0xa
jae 0x402fd4
cmp esi, dword [esp + 0x3c]
jge 0x402fa9
mov al, byte [eax + str.0123456789_Ee]
mov byte [ebp], al
inc ebp
xor eax, eax
inc esi
inc eax
jmp 0x402fbc
mov ecx, dword [esp + 0x1c]
test eax, eax
push 1
movzx ecx, cl
pop eax
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, ebx
mov byte [esp + 0x12], al
call fcn.00403c3f
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
jne 0x402f70
cmp byte [esp + 0x1c], 0
je 0x403013
lea esi, [ebp - 1]
jmp 0x402ff8
mov edi, esi
call fcn.0041010b
mov cl, byte [esi]
mov eax, dword [eax]
cmp cl, byte [eax]
je 0x402ff7
cmp cl, 0x39
jne 0x403000
mov byte [esi], 0x30
dec esi
cmp esi, dword [esp + 0x28]
jne 0x402fe0
jmp 0x40300c
inc cl
mov byte [esi], cl
mov esi, edi
cmp edi, dword [esp + 0x28]
jne 0x403013
inc dword [esp + 0x14]
mov byte [esi], 0x31
mov al, byte [esp + 0x12]
test al, al
je 0x403181
mov edi, dword [esp + 0x20]
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x40317d
cmp byte [ebx + 4], 0
jne 0x403041
mov ecx, ebx
call fcn.00403fdf
mov ax, word [ebx + 6]
cmp ax, word [esp + 0x92]
je 0x40306e
cmp byte [ebx + 4], 0
jne 0x40305c
mov ecx, ebx
call fcn.00403fdf
mov ax, word [ebx + 6]
cmp ax, word [esp + 0x90]
jne 0x40317d
mov byte [ebp], 0x65
mov ecx, ebx
inc ebp
call fcn.00403c3f
push edi
push ebx
mov byte [esp + 0x1a], 0
xor esi, esi
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x4030d6
cmp byte [ebx + 4], 0
jne 0x40309b
mov ecx, ebx
call fcn.00403fdf
mov ax, word [ebx + 6]
cmp ax, word [esp + 0x8e]
jne 0x4030af
mov byte [ebp], 0x2b
jmp 0x4030ce
cmp byte [ebx + 4], 0
jne 0x4030bc
mov ecx, ebx
call fcn.00403fdf
mov ax, word [ebx + 6]
cmp ax, word [esp + 0x8c]
jne 0x4030d6
mov byte [ebp], 0x2d
mov ecx, ebx
inc ebp
call fcn.00403c3f
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x40312d
cmp byte [ebx + 4], 0
mov cl, byte [esp + 0x12]
mov byte [esp + 0x12], cl
jne 0x4030fc
mov ecx, ebx
call fcn.00403fdf
mov cl, byte [esp + 0x12]
mov ax, word [ebx + 6]
cmp ax, word [esp + 0x78]
jne 0x403124
xor eax, eax
mov ecx, ebx
inc eax
mov byte [esp + 0x12], al
call fcn.00403c3f
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
jne 0x4030e3
jmp 0x403128
test cl, cl
je 0x40312d
mov byte [ebp], 0x30
inc ebp
push edi
push ebx
call fcn.00401110
pop ecx
pop ecx
test al, al
je 0x40317d
cmp byte [ebx + 4], 0
jne 0x403147
mov ecx, ebx
call fcn.00403fdf
movzx eax, word [ebx + 6]
push eax
lea eax, [esp + 0x7c]
push eax
call fcn.004014cd
pop ecx
pop ecx
cmp eax, 0xa
jae 0x40317d
cmp esi, 8
jge 0x40316d
mov al, byte [eax + str.0123456789_Ee]
mov byte [ebp], al
inc ebp
inc esi
xor eax, eax
mov ecx, ebx
inc eax
mov byte [esp + 0x12], al
call fcn.00403c3f
jmp 0x40312d
mov al, byte [esp + 0x12]
cmp byte [esp + 0x13], 0
jne 0x40318c
test al, al
jne 0x403190
mov ebp, dword [esp + 0x24]
lea ecx, [esp + 0x60]
mov byte [ebp], 0
call fcn.0040415a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00407ad9
add esp, 0x8c
ret