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

Disassembly:
push 0xffffffffffffffff
push 0x423cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x42ea04]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x42ea04]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xc4]
xor ecx, ecx
xor ebx, ebx
xor edi, edi
cmp ebp, ebx
mov edx, ecx
mov esi, ecx
mov dword [esp + 0x38], 1
mov dword [esp + 0x3c], 2
mov dword [esp + 0x40], 3
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], esi
jne 0x403824
mov eax, dword [esp + 0xc0]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
jmp 0x403ac2
push ebx
xor esi, esi
push 0x4266b6
lea ecx, [esp + 0x6c]
mov dword [esp + 0x20], esi
mov byte [esp + 0x1f], bl
mov byte [esp + 0x1e], bl
mov dword [esp + 0x84], 0xf
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
call fcn.00402860
cmp byte [ebp], bl
mov dword [esp + 0xb8], ebx
je 0x4039ae
jmp 0x403870
cmp byte [esp + 0x16], bl
jne 0x4039ae
movzx eax, byte [esi + ebp]
cmp al, 0x2d
je 0x403906
cmp al, 0x7b
je 0x4038a5
cmp byte [esp + 0x17], bl
je 0x4039a5
push eax
push 1
lea ecx, [esp + 0x6c]
call fcn.004026d0
jmp 0x40399e
push ebx
push 0x4266b6
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f], 1
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
call fcn.00402860
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xc4], 1
call fcn.00402780
cmp dword [esp + 0x34], 0x10
mov byte [esp + 0xb8], bl
jb 0x40399e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00407818
add esp, 4
jmp 0x40399e
mov eax, dword [esp + 0x68]
mov esi, 0x10
cmp dword [esp + 0x7c], esi
jae 0x403919
lea eax, [esp + 0x68]
push eax
call fcn.00401650
add esp, 4
push ebx
mov dword [esp + edi*4 + 0x3c], eax
push 0x4266b6
lea ecx, [esp + 0x98]
add edi, 1
mov dword [esp + 0xb0], 0xf
mov dword [esp + 0xac], ebx
mov byte [esp + 0x9c], bl
call fcn.00402860
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x70]
mov byte [esp + 0xc4], 2
call fcn.00402780
cmp dword [esp + 0xa8], esi
mov byte [esp + 0xb8], bl
jb 0x403990
mov eax, dword [esp + 0x94]
push eax
call fcn.00407818
add esp, 4
cmp edi, 3
mov esi, dword [esp + 0x18]
jne 0x40399e
mov byte [esp + 0x16], 1
add esi, 1
mov dword [esp + 0x18], esi
cmp byte [esi + ebp], bl
jne 0x403870
cmp byte [esi + ebp], bl
lea eax, [esi + ebp]
je 0x4039e5
mov esi, eax
cmp byte [esp + 0x16], bl
je 0x4039e5
mov al, byte [esi]
cmp al, 0x20
je 0x4039de
cmp al, 0x2d
je 0x4039de
cmp al, 0x7d
je 0x4039de
cmp byte [esp + 0x17], bl
je 0x4039e1
push eax
push 1
lea ecx, [esp + 0x6c]
call fcn.004026d0
add esi, 1
cmp byte [esi], bl
jne 0x4039b8
mov eax, 0x10
sub eax, dword [esp + 0x78]
cmp eax, ebx
jle 0x403a0a
mov esi, eax
push 1
push 0x4266f0
push ebx
lea ecx, [esp + 0x70]
call fcn.00402b20
sub esi, 1
jne 0x4039f4
xor esi, esi
lea esp, [esp]
push 2
lea ecx, [esi + esi]
push ecx
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x70]
call fcn.00402e00
mov edi, dword [esp + 0xa8]
cmp edi, 0x10
mov ebx, dword [esp + 0x94]
mov eax, ebx
jae 0x403a43
lea eax, [esp + 0x94]
push eax
call fcn.00401650
add esp, 4
cmp edi, 0x10
mov byte [esp + esi + 0x88], al
jb 0x403a61
push ebx
call fcn.00407818
add esp, 4
add esi, 1
cmp esi, 8
jb 0x403a10
cmp dword [esp + 0x7c], 0x10
mov ax, word [esp + 0x3c]
mov cx, word [esp + 0x40]
mov word [esp + 0x84], ax
mov word [esp + 0x86], cx
jb 0x403a97
mov edx, dword [esp + 0x68]
push edx
call fcn.00407818
add esp, 4
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x84]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00410f96
add esp, 0xa8
ret