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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x150
mov dword [esp + 0x134], 0
mov dword [esp + 0x130], 0x7686
mov byte [esp + 0x12d], 0x8c
mov dword [esp + 0x128], 0x38
mov al, byte [esp + 0x14b]
mov cl, al
or cl, cl
mov byte [esp + 0x14b], cl
mov byte [esp + 0x11f], 0x7a
mov edx, dword [esp + 0x130]
mov esi, dword [esp + 0x134]
mov edi, edx
xor edi, 0x7942
mov dword [esp + 0x10c], esi
mov dword [esp + 0x108], edi
mov edi, esp
mov dword [edi], 0x4051b8
mov byte [esp + 0x3a], al
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], esi
call fcn.004039b0
sub esp, 4
mov edx, 0x38
mov cl, byte [esp + 0x3a]
or cl, 0x65
mov esi, dword [esp + 0x128]
mov byte [esp + 0x14b], cl
sub edx, esi
cmp eax, edx
mov dword [esp + 0x2c], eax
jne 0x403e1a
jmp 0x403e84
mov eax, dword [esp + 0x128]
xor eax, 0x38
mov ecx, esp
mov dword [ecx], 0x4051b8
mov dword [esp + 0x28], eax
call fcn.004039b0
sub esp, 4
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jne 0x403e06
jmp 0x404041
mov eax, dword [esp + 0xfc]
mov cl, byte [esp + 0x12d]
xor cl, 0x5b
mov edx, esp
mov dword [edx + 4], eax
lea eax, [esp + 0x40]
mov dword [edx], eax
mov byte [esp + 0x27], cl
call fcn.00402560
sub esp, 8
mov cl, 0xc
mov ch, byte [esp + 0x27]
mov byte [esp + 0x3b], ch
mov ch, byte [esp + 0x3b]
mov dword [esp + 0x104], eax
cmp cl, ch
jb 0x403d58
jmp 0x403caf
mov eax, 0x3f01
mov ecx, 0x2716
mov edx, dword [esp + 0x128]
sub ecx, dword [esp + 0x128]
sub eax, edx
mov dword [esp + 0x114], ecx
mov ecx, dword [esp + 0x114]
mov dword [esp + 0x118], ecx
mov dword [esp + 0x124], 0x4955
mov ecx, dword [esp + 0x2c]
or ecx, 0x5e3
mov dword [esp + 0x13c], ecx
cmp eax, dword [esp + 0x124]
jae 0x403da8
jmp 0x403ce8
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x134]
mov edx, dword [esp + 0x108]
mov esi, dword [esp + 0x10c]
xor edi, edi
mov ebx, 0xd7e4
sub ebx, eax
sbb edi, ecx
xor edx, ebx
xor esi, edi
or edx, esi
mov dword [esp + 0x20], edx
je 0x403e49
jmp 0x403cfe
cmp dword [esp + 0x118], 0x2173
je 0x403e49
jmp 0x403e49
mov eax, 0x38
mov ecx, dword [esp + 0x34]
or ecx, 0x6f8a
mov edx, dword [esp + 0x30]
mov dword [esp + 0x144], edx
mov dword [esp + 0x140], ecx
sub eax, dword [esp + 0x128]
mov ecx, esp
mov dword [ecx], 0x4051b8
mov dword [esp + 0x1c], eax
call fcn.004039b0
sub esp, 4
mov ecx, dword [esp + 0x2c]
sub ecx, 0x25e2
mov dword [esp + 0x13c], ecx
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jne 0x403da8
jmp 0x403c0e
mov eax, 0x38
mov ecx, dword [esp + 0x104]
mov dx, word [esp + 0x12e]
xor dx, 0xffff
sub eax, dword [esp + 0x128]
mov word [esp + 0x12e], dx
mov dword [esp + 0x3c], ecx
mov ecx, esp
mov dword [ecx], 0x4051b8
mov dword [esp + 0x18], eax
call fcn.004039b0
sub esp, 4
mov ecx, dword [esp + 0x18]
cmp eax, ecx
je 0x403bdf
jmp 0x403bdf
mov al, byte [esp + 0x12d]
add al, 0xbd
mov byte [esp + 0x113], al
mov ecx, dword [esp + 0x8c]
mov al, byte [esp + 0x113]
mov dl, byte [esp + 0x12d]
add dl, 0xa
mov esi, esp
mov dword [esi], ecx
mov byte [esp + 0x17], dl
mov byte [esp + 0x16], al
call fcn.00402fe0
sub esp, 4
add eax, 0x18
add eax, 0x38
mov dword [esp + 0x120], eax
mov dl, byte [esp + 0x17]
mov dh, byte [esp + 0x16]
cmp dl, dh
ja 0x40404e
jmp 0x403caf
mov al, 0xc9
mov cl, byte [esp + 0x11f]
sub al, byte [esp + 0x12d]
cmp al, cl
jbe 0x403e33
mov eax, esp
lea ecx, [esp + 0xf4]
mov dword [eax], ecx
call fcn.00401d70
sub esp, 4
mov dword [esp + 0x10], eax
jmp 0x403e84
mov eax, dword [esp + 0x3c]
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
jmp 0x404041
mov eax, esp
mov dword [eax], 0
call fcn.004030e0
sub esp, 4
mov ecx, dword [esp + 0x34]
add ecx, 0xffff92a3
mov edx, dword [esp + 0x30]
adc edx, 0xffffffff
mov dword [esp + 0x144], edx
mov dword [esp + 0x140], ecx
mov dword [esp + 0x8c], eax
jmp 0x403caf
lea eax, [0x407420]
mov ecx, 0x38
mov edx, dword [esp + 0xf4]
mov esi, dword [esp + 0x128]
xor esi, 0x3fa38
mov dword [esp + 0x13c], 0x5dce
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
mov edx, dword [0x4063b0]
mov dword [esp + 0xac], edx
mov edx, dword [0x4063b4]
mov dword [esp + 0xb0], edx
mov edx, dword [0x4063b8]
mov dword [esp + 0xb4], edx
mov edx, dword [0x4063bc]
mov dword [esp + 0xa8], edx
mov edx, dword [0x4063c0]
mov esi, dword [esp + 0x34]
xor esi, 0x782a
mov edi, dword [esp + 0x30]
mov dword [esp + 0x144], edi
mov dword [esp + 0x140], esi
mov dword [esp + 0xa4], edx
mov edx, dword [0x4063c4]
mov dword [esp + 0xb8], edx
mov bl, byte [esp + 0x3a]
mov byte [esp + 0x14b], bl
mov edx, dword [0x4063c8]
mov dword [esp + 0xbc], edx
mov edx, dword [0x4063cc]
mov dword [esp + 0xc0], edx
mov edx, dword [0x4063d0]
mov dword [esp + 0xc4], edx
mov edx, dword [0x4063d4]
mov dword [esp + 0xc8], edx
mov edx, dword [0x4063d8]
mov dword [esp + 0xcc], edx
mov edx, dword [0x4063dc]
mov dword [esp + 0xd0], edx
mov dword [esp + 0x144], 0
mov dword [esp + 0x140], 0xa5b3
mov edx, dword [0x4063e0]
mov dword [esp + 0xd4], edx
mov si, word [esp + 0x12e]
and si, 0x3083
mov word [esp + 0x12e], si
mov edx, dword [0x4063e4]
mov dword [esp + 0xd8], edx
mov edx, dword [0x4063e8]
mov dword [esp + 0xdc], edx
mov edx, dword [0x4063ec]
mov dword [esp + 0xe0], edx
mov byte [esp + 0x14b], 0xa8
mov edx, dword [0x4063f0]
xor bl, 0xff
mov byte [esp + 0x14b], bl
mov dword [esp + 0xe4], edx
mov edx, dword [0x4063f4]
mov dword [esp + 0xe8], edx
mov word [esp + 0x12e], 0x596a
sub ecx, dword [esp + 0x128]
mov dword [esp + 0xf0], eax
mov eax, esp
mov dword [eax], 0x4051b8
mov dword [esp + 0xc], ecx
call fcn.004039b0
sub esp, 4
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jne 0x403c55
jmp 0x403caf
mov eax, 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x120]
mov eax, dword [eax]
mov dword [esp + 0x90], eax
jmp 0x403c0e