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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0x56cc
mov word [esp + 0x9e], 0x1252
mov byte [esp + 0x9d], 0x79
mov dword [esp + 0x98], 0x5b46
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
xor edx, 0x2929
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edx
movzx edx, word [esp + 0x9e]
mov di, dx
mov esi, 0x4e55
sub esi, edx
mov bx, si
mov word [esp + 0x5a], bx
mov esi, dword [esp + 0x98]
xor esi, 0x6496
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0xb0]
mov ebx, dword [esp + 0xb4]
xor esi, 0x1009
not edx
mov word [esp + 0xae], dx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov dl, byte [esp + 0x9d]
mov dh, dl
add dh, 0x19
mov byte [esp + 0x6f], dh
mov esi, dword [esp + 0x98]
xor esi, 0x1b5d
mov dh, byte [esp + 0x6f]
mov dword [esp + 0x54], esi
mov si, word [esp + 0x9e]
xor si, 0x4a68
mov word [esp + 0x42], si
mov dword [esp + 0x24], eax
mov dword [esp + 0x88], ecx
mov byte [esp + 0x23], dh
mov byte [esp + 0x22], dl
mov word [esp + 0x20], di
call fcn.004038a0
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0xc]
mov dl, byte [esp + 0x9d]
add dl, 0x96
add eax, 0x14
mov dh, byte [esp + 0x23]
cmp dh, dl
mov dword [esp + 0x1c], eax
jbe 0x40359c
jmp 0x4036b4
mov eax, dword [esp + 0x78]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
movzx eax, word [eax + 0x2c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
cmp dword [ecx + 0x18], eax
je 0x4036d1
jmp 0x403798
mov eax, 0x5b87
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov si, word [edx + ecx*2]
mov word [esp + 0x4e], si
mov bl, byte [esp + 0x22]
add bl, bl
mov byte [esp + 0xbb], bl
sub eax, dword [esp + 0x98]
movzx ecx, word [esp + 0x4e]
cmp ecx, eax
jge 0x40385b
jmp 0x403726
mov dword [esp + 0x70], 0
jmp 0x4035f2
mov eax, dword [esp + 0x70]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [esp + 0x98]
add eax, 0xffffa4ba
cmp dword [esp + 0x74], eax
je 0x403793
jmp 0x4036dd
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0x7f2f
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x98]
add eax, 0x120c
mov dx, word [esp + 0x20]
sub dx, dx
mov word [esp + 0xae], dx
xor ecx, 0x2f78
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x38]
movzx esi, word [esp + 0x4e]
mov dword [esp + 0x44], esi
cmp ecx, eax
jb 0x40369d
jmp 0x40359c
mov eax, dword [esp + 0x5c]
cmp eax, dword [esp + 0x8c]
jne 0x40364b
jmp 0x403802
mov eax, 0x5b87
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x98]
sub eax, dword [esp + 0x98]
add edx, 0xffffa51b
add edx, ecx
sub edx, eax
mov si, dx
mov word [esp + 0x4e], si
jmp 0x403726
mov eax, dword [esp + 0x98]
add eax, 0xffffa92c
mov cx, word [esp + 0x20]
mov word [esp + 0xae], cx
cmp eax, dword [esp + 0x54]
jbe 0x4037d0
jmp 0x4036f5
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
xor eax, 0x1e8b
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
sub edx, eax
sbb esi, ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
jb 0x403586
jmp 0x403503
mov eax, 0xe1d
cmp eax, dword [esp + 0x90]
ja 0x40383a
jmp 0x40352c
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], eax
jmp 0x4035f2
mov eax, 0xbf1a
xor ecx, ecx
mov edx, ecx
add edx, 8
sub ecx, edx
mov edx, 0xb6e2
mov esi, dword [esp + 0x5c]
mov di, word [esp + 0x20]
imul bx, di, 0x4ceb
sub edx, dword [esp + 0x98]
add esi, ecx
sub eax, dword [esp + 0x98]
mov word [esp + 0xae], bx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], esi
cmp edx, eax
jae 0x4035f2
jmp 0x403485
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
cmp word [esp + 0x42], 0x2c65
jbe 0x403793
jmp 0x403641
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x8c]
mov ecx, dword [ecx]
mov dword [esp + 0x5c], ecx
jmp 0x403586
cmp dword [esp + 0x24], 0
jne 0x40369d
jmp 0x403798
jmp 0x4036df
mov eax, 0x5b47
sub eax, dword [esp + 0x98]
add eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
jmp 0x403763
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0xb0]
mov esi, dword [esp + 0xb4]
xor edx, eax
xor esi, ecx
xor edx, 0x2fbd
or edx, esi
mov dword [esp + 0x10], edx
je 0x403586
jmp 0x40383a
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x88]
movzx eax, word [ecx + eax*2]
movzx ecx, word [esp + 0x4e]
cmp eax, ecx
sete dl
mov eax, dword [esp + 0x98]
xor eax, 0x5b46
and dl, 1
movzx ecx, dl
mov dword [esp + 0x74], ecx
movzx ecx, word [esp + 0x4e]
cmp ecx, eax
je 0x403793
jmp 0x403511
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x28]
xor ecx, 0x5b44
mov dword [esp + 0xc], eax
mov eax, edx
xor edx, edx
div ecx
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jb 0x4034ba
jmp 0x4035ca
jmp 0x4035ca
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
xor edx, edx
mov esi, 0x6131
sub esi, eax
sbb edx, ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
xor esi, 0x86c
or esi, edx
mov dword [esp + 8], esi
je 0x40385b
jmp 0x40387a
mov eax, 0x5b46
sub eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x74]
mov dl, 0xcc
mov dh, byte [esp + 0x22]
mov dword [esp + 4], eax
mov al, dh
mul dl
mov byte [esp + 0xbb], al
mov esi, dword [esp + 4]
cmp ecx, esi
jne 0x403816
jmp 0x4036f5
mov ax, 0x2445
cmp ax, word [esp + 0x5a]
je 0x403586
jmp 0x4034f6
mov ax, 0xdc3
mov cx, word [esp + 0x20]
sub ax, cx
mov word [esp + 0xae], ax
mov edx, dword [esp + 0x48]
mov edx, dword [edx + 0x18]
mov dword [esp + 0x70], edx
jmp 0x4035f2
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov cx, word [esp + 0x20]
and cx, 0x6d76
mov word [esp + 0xae], cx
mov dword [esp + 0x5c], eax
jmp 0x403586
movzx eax, word [esp + 0x4e]
mov ecx, dword [esp + 0x98]
add ecx, 0xffffa514
cmp eax, ecx
jle 0x40362a
jmp 0x403726
mov eax, dword [esp + 0x98]
add eax, 0xffffa4ba
mov dword [esp + 0x74], eax
mov dword [esp + 0x50], 0
jmp 0x403763