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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0x42e4
mov byte [esp + 0xa7], 0xed
mov dword [esp + 0xa0], 0x103a
mov edx, dword [esp + 0xc4]
mov esi, edx
not esi
mov dword [esp + 0xc4], esi
mov bl, byte [esp + 0xa7]
mov bh, 0xb8
sub bh, bl
mov byte [esp + 0x7f], bh
mov byte [esp + 0x72], 0x17
mov bh, byte [esp + 0xa7]
add bh, 0x46
mov byte [esp + 0x73], bh
mov bh, bl
xor bh, 0x86
mov byte [esp + 0xcb], bh
mov esi, dword [esp + 0xb8]
mov edi, dword [esp + 0xbc]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, 0xb53f
sub eax, esi
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
sbb eax, edi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edx
mov byte [esp + 0x23], bl
mov dword [esp + 0x1c], esi
call fcn.00403910
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x94]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
mov dword [esp + 0x8c], eax
jmp 0x403717
mov eax, dword [esp + 0x28]
not eax
mov ecx, dword [esp + 0x1c]
not ecx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x68]
movzx edx, word [esp + 0x44]
movzx eax, word [eax + ecx*2]
sub eax, edx
sete bl
movzx ecx, bl
mov edx, dword [esp + 0xa0]
xor edx, 0x103a
mov dword [esp + 0x90], ecx
movzx ecx, word [esp + 0x44]
mov esi, dword [esp + 0x1c]
add esi, 0xffff8dab
mov edi, dword [esp + 0x28]
adc edi, 0xffffffff
mov dword [esp + 0xac], edi
mov dword [esp + 0xa8], esi
cmp ecx, edx
mov dword [esp + 0x18], eax
je 0x403781
jmp 0x403587
mov ax, word [esp + 0xb6]
mov word [esp + 0xb6], ax
mov dword [esp + 0x6c], 0x7f0f
mov ecx, dword [esp + 0xa0]
add ecx, 0x3bc2
cmp ecx, dword [esp + 0x6c]
jne 0x4037ad
jmp 0x4037dc
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x4c], eax
mov cx, word [esp + 0xb6]
mov word [esp + 0xb6], cx
jmp 0x4038e4
mov eax, dword [esp + 0xa0]
add eax, 0xffffefc7
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc4], ecx
add eax, dword [esp + 0x68]
mov dword [esp + 0x68], eax
jmp 0x40350f
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
xor edx, edx
mov esi, 0x71fa
sub esi, eax
mov eax, edx
sbb eax, ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
mov ecx, 0x2c52
sub ecx, esi
sbb edx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jb 0x4036da
jmp 0x403566
mov eax, dword [esp + 0x68]
mov dword [esp + 0x64], eax
mov cl, byte [esp + 0xa7]
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa8], edx
add cl, 0xcb
cmp byte [esp + 0x72], cl
je 0x403781
jmp 0x403786
mov eax, dword [esp + 0xa0]
xor eax, 0x103a
cmp dword [esp + 0x90], eax
jne 0x403543
jmp 0x40374a
mov dword [esp + 0x4c], 0
jmp 0x4038e4
mov eax, 0x279c
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0xc4], eax
jmp 0x4038e4
cmp dword [esp + 0x74], 0
jne 0x40362b
mov byte [esp + 0x47], 0x6c
cmp byte [esp + 0x47], 0x61
jae 0x403893
jmp 0x4037dc
movzx eax, word [esp + 0x44]
mov dword [esp + 0x48], eax
cmp byte [esp + 0x7f], 0xd2
jbe 0x4038c7
jmp 0x403893
xor eax, eax
mov ecx, eax
add ecx, 8
sub eax, ecx
add eax, dword [esp + 0x58]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x9c]
movzx eax, word [eax + 0x2c]
mov dword [esp + 0x3c], eax
mov dl, byte [esp + 0x23]
mov byte [esp + 0xcb], dl
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + 0x18]
cmp eax, dword [esp + 0x74]
je 0x40364d
jmp 0x403654
mov eax, dword [esp + 0xa0]
mov byte [esp + 0xcb], 0xf6
mov ecx, dword [esp + 0x1c]
or ecx, 0x7a58
mov edx, 0x103a
sub edx, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], ecx
cmp dword [esp + 0x90], edx
je 0x403781
jmp 0x403745
mov ax, word [esp + 0xb6]
sub ax, word [esp + 0xb6]
mov word [esp + 0xb6], ax
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x8c], ecx
jne 0x403862
jmp 0x40361e
jmp 0x403566
mov eax, dword [esp + 0xa0]
add eax, 0xfffffed8
mov ecx, dword [esp + 0xa0]
add ecx, 0x177
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x98], edx
mov dword [esp + 0x78], eax
cmp dword [esp + 0x78], ecx
jne 0x40384d
jmp 0x40374a
jmp 0x403600
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x64]
mov dx, word [eax + ecx*2]
mov word [esp + 0x44], dx
movzx eax, word [esp + 0x44]
cmp eax, 0x41
jge 0x403669
jmp 0x403496
mov eax, dword [esp + 0xa0]
xor eax, 0x1038
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, edx
xor edx, edx
mov esi, dword [esp + 0xc]
div esi
cmp ecx, eax
jb 0x4035c9
jmp 0x403600
mov ax, word [esp + 0x44]
mov word [esp + 0x62], ax
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
sub ecx, 0x979
sbb edx, 0
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
jb 0x403496
jmp 0x403807
mov eax, dword [esp + 0x24]
add eax, eax
mov ecx, dword [esp + 0xa0]
movzx edx, word [esp + 0x62]
mov dword [esp + 0xc4], eax
xor ecx, 0x105b
lea eax, [ecx + edx - 0x41]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xac], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xa8], edx
mov si, ax
mov word [esp + 0x44], si
jmp 0x403496
mov eax, dword [esp + 0x98]
mov eax, dword [eax]
mov dword [esp + 0x8c], eax
jmp 0x403717
mov al, byte [esp + 0x73]
mov ecx, dword [esp + 0x8c]
mov dl, byte [esp + 0xa7]
add dl, 0xaa
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc4], ecx
cmp dl, al
jbe 0x4035c9
jmp 0x403682
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
xor ecx, 0x103a
add eax, 0xffffefc6
mov dword [esp + 0x90], ecx
mov dword [esp + 0xc4], 0x3ef9
mov dword [esp + 0x68], eax
jmp 0x40350f
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x48]
xor eax, 0x1060
cmp ecx, eax
jle 0x4037dc
jmp 0x403496
mov eax, dword [esp + 0x28]
and eax, eax
mov ecx, dword [esp + 0x1c]
and ecx, ecx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
mov eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8