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

Disassembly:
push 0xffffffffffffffff
push 0x40fb40
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x41c028]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41c028]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ebx
mov esi, 1
mov dword [esp + 0x234], esi
push ebx
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push 0x418f4c
mov byte [ecx + 4], bl
call fcn.004030b0
push 0x103
lea eax, [esp + 0x129]
mov dword [esp + 0x24], esi
push ebx
mov esi, 0x41902c
push eax
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0x419030
mov dword [esp + 0x70], 0x419034
mov dword [esp + 0x74], 0x419038
mov dword [esp + 0x78], 0x41903c
mov dword [esp + 0x7c], 0x419040
mov dword [esp + 0x80], 0x419044
mov dword [esp + 0x84], 0x419048
mov dword [esp + 0x88], 0x41904c
mov dword [esp + 0x8c], 0x419050
mov dword [esp + 0x90], 0x419054
mov dword [esp + 0x94], 0x419058
mov dword [esp + 0x98], 0x41905c
mov dword [esp + 0x9c], 0x419060
mov dword [esp + 0xa0], 0x419064
mov dword [esp + 0xa4], 0x419068
mov dword [esp + 0xa8], 0x41906c
mov dword [esp + 0xac], 0x419070
mov dword [esp + 0xb0], 0x419074
mov dword [esp + 0xb4], 0x419078
mov dword [esp + 0xb8], 0x41907c
mov dword [esp + 0xbc], 0x419080
mov dword [esp + 0xc0], 0x419084
mov dword [esp + 0xc4], 0x419088
mov dword [esp + 0xc8], 0x41908c
mov dword [esp + 0xcc], 0x419090
mov dword [esp + 0xd0], 0x419094
mov dword [esp + 0xd4], 0x419098
mov dword [esp + 0xd8], 0x41909c
mov dword [esp + 0xdc], 0x4190a0
mov dword [esp + 0xe0], 0x4190a4
mov dword [esp + 0xe4], 0x4190a8
mov dword [esp + 0xe8], 0x4190ac
mov dword [esp + 0xec], 0x4190b0
mov dword [esp + 0xf0], 0x4190b4
mov dword [esp + 0xf4], 0x4190b8
mov dword [esp + 0xf8], 0x4190bc
mov dword [esp + 0xfc], 0x4190c0
mov dword [esp + 0x100], 0x4190c4
mov dword [esp + 0x104], 0x4190c8
mov dword [esp + 0x108], 0x4190cc
mov dword [esp + 0x10c], 0x4190d0
mov dword [esp + 0x110], 0x4190d4
mov dword [esp + 0x114], 0x4190d8
mov dword [esp + 0x118], 0x4190dc
mov dword [esp + 0x11c], 0x4190e0
mov dword [esp + 0x120], 0x4190e4
mov dword [esp + 0x124], 0x4190e8
mov dword [esp + 0x128], 0x4190ec
mov dword [esp + 0x12c], ebx
mov byte [esp + 0x130], bl
call fcn.004082c0
add esp, 0xc
cmp dword [esp + 0x250], 2
jb 0x40261f
cmp dword [esp + 0x254], 0x10
mov eax, dword [esp + 0x240]
jae 0x40260e
lea eax, [esp + 0x240]
mov cx, word [eax]
mov word [esp + 0x124], cx
mov dword [esp + 0x1c], ebx
jmp 0x402635
mov word [esp + 0x124], 0x6e65
mov dword [esp + 0x1c], ebx
jmp 0x402635
mov edi, 0xf
lea eax, [esp + 0x124]
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
lea edx, [eax + 1]
jmp 0x402650
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x402650
sub eax, edx
push eax
lea edx, [esp + 0x128]
push edx
lea ecx, [esp + 0x48]
call fcn.004030b0
mov byte [esp + 0x234], 2
mov eax, esi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x402686
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x2c]
call fcn.004030b0
cmp dword [esp + 0x58], 0x10
mov ecx, dword [esp + 0x44]
jae 0x4026ab
lea ecx, [esp + 0x44]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x54]
cmp esi, edi
mov eax, esi
jb 0x4026bb
mov eax, edi
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x10
mov edx, dword [esp + 0x28]
jae 0x4026cc
lea edx, [esp + 0x28]
call fcn.00401500
cmp eax, ebx
jne 0x4026e7
cmp esi, edi
jae 0x4026de
or eax, 0xffffffff
jmp 0x4026e5
xor eax, eax
cmp esi, edi
setne al
cmp eax, ebx
sete byte [esp + 0x17]
cmp ebp, 0x10
jb 0x4026fe
mov eax, dword [esp + 0x28]
push eax
call fcn.004056ad
add esp, 4
mov byte [esp + 0x234], 1
cmp dword [esp + 0x58], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
jb 0x40272a
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004056ad
add esp, 4
cmp byte [esp + 0x17], bl
jne 0x40279f
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + eax*4 + 0x60]
add eax, 1
cmp esi, ebx
mov dword [esp + 0x1c], eax
jne 0x402630
mov eax, dword [esp + 0x18]
push 2
push 0x419050
call fcn.00402d30
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x254], 0x10
jb 0x402775
mov eax, dword [esp + 0x240]
push eax
call fcn.004056ad
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00405196
add esp, 0x224
ret
lea eax, [esp + 0x124]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4027b0
mov esi, dword [esp + 0x18]
sub eax, edx
push eax
lea edx, [esp + 0x128]
push edx
mov eax, esi
call fcn.00402d30
jmp 0x40275b