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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov eax, dword [ebp + 8]
mov cl, 0x62
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x1aee
mov byte [esp + 0xa7], 0x5a
mov dword [esp + 0xa0], 0xc0b
mov edx, 0xc0b
mov dword [esp + 0x74], 0x55a7
mov ch, byte [esp + 0xa7]
mov bl, ch
not bl
mov byte [esp + 0xb3], bl
mov bl, ch
xor bl, 0xb9
mov byte [esp + 0x73], bl
mov bl, byte [esp + 0xa7]
xor bl, 0x40
mov byte [esp + 0x83], bl
mov byte [esp + 0x4b], 0xaf
mov bl, byte [esp + 0x83]
mov dword [esp + 0x44], eax
mov byte [esp + 0x2f], bl
mov byte [esp + 0x2e], cl
mov dword [esp + 0x28], edx
mov byte [esp + 0x27], ch
call fcn.00402d30
mov dword [esp + 0x38], eax
mov edx, esp
mov dword [edx], eax
call fcn.00402c00
sub esp, 4
mov dword [esp + 0x78], eax
mov edx, eax
add edx, 0x18
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0xb4], 0xa
mov eax, dword [eax + 0x78]
add edx, eax
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0xb8]
mov edx, dword [esp + 0xbc]
mov esi, eax
or esi, 0x46b7
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], esi
mov esi, dword [esp + 0x98]
mov edi, eax
add edi, 0x4db6
mov ebx, edx
adc ebx, 0
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xb8], edi
mov esi, dword [esi + 0x64]
mov dword [esp + 0x40], esi
mov dword [esp + 0x6c], 0xffffffff
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x58]
mov edi, dword [edi + 0x20]
add esi, edi
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0x4c], esi
mov cl, byte [esp + 0x2e]
sub cl, byte [esp + 0xa7]
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
add esi, 0x24
mov ch, byte [esp + 0x2f]
cmp cl, ch
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edi
ja 0x402ae7
jmp 0x402ac9
mov eax, dword [esp + 0x30]
mov cl, byte [esp + 0x27]
xor cl, 0xbb
mov edx, dword [esp + 0x44]
movsx edx, byte [edx + eax]
mov esi, dword [esp + 0x68]
movsx eax, byte [esi + eax]
mov esi, dword [esp + 0xa0]
xor esi, 0xc0b
mov byte [esp + 0xb3], cl
sub eax, edx
sete cl
movzx edx, cl
mov dword [esp + 0x34], edx
mov edx, 0x4f46
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], eax
mov eax, edi
mul edx
mov ebx, dword [esp + 0x1c]
imul ecx, ebx, 0x4f46
add edx, ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x68]
movsx eax, byte [eax + ecx]
cmp eax, esi
je 0x402be6
jmp 0x402a40
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
add ecx, 0xfffff3f4
cmp eax, ecx
je 0x402bc9
jmp 0x402b41
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa0]
add ecx, 0xfffff3f5
mov edx, dword [esp + 0x9c]
add eax, 0xfffff3f5
mov dword [esp + 0x68], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
jmp 0x402a80
mov eax, dword [esp + 0x58]
mov eax, dword [eax + 0x18]
cmp dword [esp + 0x50], eax
jb 0x402986
jmp 0x4028fd
mov al, byte [esp + 0x27]
and al, al
mov ecx, dword [esp + 0xa0]
mov byte [esp + 0xb3], al
mov edx, dword [esp + 0x34]
add ecx, 0xfffff3f5
cmp edx, ecx
jne 0x402a6d
jmp 0x402a16
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
xor edx, edx
mov esi, 0x6703
sub esi, eax
sbb edx, ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edx
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0xc]
add ecx, eax
add edi, 0xfffffbdb
adc ebx, 0xffffffff
mov dword [esp + 0x9c], ecx
sub edi, esi
sbb ebx, edx
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
jb 0x40291b
jmp 0x402afc
mov eax, dword [esp + 0x3c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [esp + 0x3c], 0
jmp 0x402ae7
mov ax, word [esp + 0xb0]
xor ax, 0x354f
mov ecx, dword [esp + 0x84]
mov word [esp + 0xb0], ax
add ecx, 2
mov dword [esp + 0x84], ecx
jmp 0x402afc
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x30]
mov dl, byte [eax + ecx]
mov dh, byte [esp + 0x4b]
mov bl, byte [esp + 0xa7]
xor bl, 0x41
mov byte [esp + 0x8f], dl
cmp dh, bl
jae 0x402bab
jmp 0x402bc9
mov eax, dword [esp + 0x84]
movzx eax, word [eax]
mov dword [esp + 0x6c], eax
jmp 0x4028fd
cmp dword [esp + 0x30], 0x20
jb 0x40287e
mov al, 8
mov cl, byte [esp + 0xa7]
sub al, byte [esp + 0xa7]
add cl, 0xc1
mov byte [esp + 0x5f], al
cmp cl, byte [esp + 0x5f]
jb 0x40295b
jmp 0x40294c
mov eax, dword [esp + 0xa0]
xor eax, 0xc0b
cmp dword [esp + 0x34], eax
je 0x402be6
jmp 0x402b3f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, dword [ecx]
mov dword [esp + 0x84], eax
mov dword [esp + 0x50], 0
jmp 0x40294c
mov al, 0x71
sub al, byte [esp + 0xa7]
cmp al, byte [esp + 0x73]
jb 0x4029fb
jmp 0x402a8b
mov eax, 0xc0c
mov ecx, 0x4be4
mov edx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa0]
mov edi, dword [esp + 0xa0]
xor edi, 0x7461
sub ecx, esi
mov esi, dword [esp + 0x50]
sub eax, edx
add esi, eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x60], ecx
cmp dword [esp + 0x60], edi
jne 0x402beb
jmp 0x402ae7
jmp 0x402b90
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x28]
add eax, 0x7eb1
mov dword [esp + 0xb4], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x7c]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x38]
add eax, dword [esp + 0x88]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x3c], eax
jmp 0x402ae7
mov eax, 0xc0c
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0xa0]
add ecx, eax
mov dword [esp + 0x30], ecx
jmp 0x402a80
movsx eax, byte [esp + 0x8f]
mov ecx, dword [esp + 0xa0]
add ecx, 0xfffff3f5
cmp eax, ecx
je 0x402be6
jmp 0x402ab1
mov eax, 0xfc6
mov ecx, dword [esp + 0x74]
sub eax, dword [esp + 0xa0]
cmp eax, ecx
jae 0x402a16
jmp 0x402a09
jmp 0x402a8b
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], eax
jmp 0x40294c