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

Disassembly:
push 0xffffffffffffffff
push 0x41b266
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
mov eax, dword [0x4212e8]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0xe0]
mov dword [esp + 0xcc], eax
xor ebx, ebx
mov ebp, 0xf
mov eax, esi
push edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40aa60
sub eax, edi
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.00404180
push ebx
push 0x41c246
lea ecx, [esp + 0x84]
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
call fcn.00404180
push ebx
push 0x41c246
lea ecx, [esp + 0x30]
mov byte [esp + 0xe4], 1
mov dword [esp + 0x48], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.00404180
push ebx
push 0x41c246
lea ecx, [esp + 0x4c]
mov byte [esp + 0xe4], 2
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
call fcn.00404180
mov edi, dword [esp + 0x74]
push 0xa
push str.0123456789
lea ecx, [esp + 0xbc]
mov byte [esp + 0xe4], 3
mov byte [esp + 0x22], bl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x21], bl
mov dword [esp + 0x28], ebx
mov dword [esp + 0xd4], ebp
mov dword [esp + 0xd0], ebx
mov byte [esp + 0xc0], bl
call fcn.00404180
push 2
push 0x41cb28
lea ecx, [esp + 0xa0]
mov byte [esp + 0xe4], 4
mov dword [esp + 0xb8], ebp
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
call fcn.00404180
xor esi, esi
cmp edi, ebx
mov byte [esp + 0xdc], 5
jle 0x40aceb
cmp dword [esp + 0x74], esi
ja 0x40ab81
lea ecx, [esp + 0x60]
call fcn.0040c05a
cmp dword [esp + 0x78], 0x10
mov eax, dword [esp + 0x64]
jae 0x40ab90
lea eax, [esp + 0x64]
mov al, byte [eax + esi]
push 1
mov byte [esp + 0x1f], al
mov byte [esp + 0x18], al
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1d], bl
mov byte [esp + 0x2b], bl
call fcn.00407940
cmp eax, 0xffffffff
je 0x40abc1
mov byte [esp + 0x11], 1
mov cl, byte [esp + 0x1b]
push 1
push ebx
lea edx, [esp + 0x1c]
mov byte [esp + 0x1c], cl
push edx
lea ecx, [esp + 0xa4]
call fcn.00407940
cmp eax, 0xffffffff
mov al, 1
jne 0x40abe8
mov al, byte [esp + 0x1f]
cmp byte [esp + 0x1a], bl
jne 0x40ac06
cmp byte [esp + 0x11], bl
je 0x40aca1
mov byte [esp + 0x1a], 1
lea ecx, [esp + 0x7c]
jmp 0x40ac95
cmp byte [esp + 0x13], bl
jne 0x40ac38
cmp byte [esp + 0x11], bl
je 0x40ac20
mov ecx, dword [esp + 0x1b]
push ecx
lea ecx, [esp + 0x80]
jmp 0x40ac9a
cmp al, bl
mov byte [esp + 0x13], 1
jne 0x40aca1
inc dword [esp + 0x20]
mov edx, dword [esp + 0x1b]
push edx
lea ecx, [esp + 0x2c]
jmp 0x40ac9a
cmp byte [esp + 0x12], bl
jne 0x40ac77
cmp word [esp + 0x20], 1
jne 0x40ac5f
cmp al, bl
jne 0x40ac5b
cmp byte [esp + 0x11], bl
jne 0x40ac5b
mov byte [esp + 0x12], 1
lea ecx, [esp + 0x28]
jmp 0x40ac95
mov esi, edi
jmp 0x40aca1
cmp al, bl
jne 0x40aca1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1b]
inc eax
push ecx
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
jmp 0x40ac9a
cmp byte [esp + 0x19], bl
jne 0x40ac91
cmp al, bl
jne 0x40aca1
mov edx, dword [esp + 0x1b]
mov byte [esp + 0x19], 1
push edx
lea ecx, [esp + 0x48]
jmp 0x40ac9a
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x1b]
push eax
push 1
call fcn.00403e90
inc esi
cmp esi, edi
jl 0x40ab72
cmp byte [esp + 0x19], bl
je 0x40aceb
cmp byte [esp + 0x12], bl
je 0x40aceb
cmp byte [esp + 0x13], bl
je 0x40aceb
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x80]
push edx
add ecx, 4
call fcn.0040a6e0
mov ecx, eax
call fcn.00409b90
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, eax
call fcn.00403f60
mov eax, dword [esp + 0xb0]
mov esi, 0x10
cmp eax, esi
jb 0x40ad0b
mov edx, dword [esp + 0x9c]
push edx
call fcn.0040c9bd
add esp, 4
cmp dword [esp + 0xcc], esi
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
jb 0x40ad39
mov eax, dword [esp + 0xb8]
push eax
call fcn.0040c9bd
add esp, 4
cmp dword [esp + 0x5c], esi
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], ebx
mov byte [esp + 0xb8], bl
jb 0x40ad61
mov ecx, dword [esp + 0x48]
push ecx
call fcn.0040c9bd
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
jb 0x40ad80
mov edx, dword [esp + 0x2c]
push edx
call fcn.0040c9bd
add esp, 4
cmp dword [esp + 0x94], esi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jb 0x40ada5
mov eax, dword [esp + 0x80]
push eax
call fcn.0040c9bd
add esp, 4
mov eax, dword [esp + 0x78]
pop edi
cmp eax, esi
pop esi
mov dword [esp + 0x8c], ebp
pop ebp
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
pop ebx
jb 0x40add0
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0040c9bd
add esp, 4
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0040c31b
add esp, 0xd0
ret 4