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, 0xd0
mov eax, dword [ebp + 8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0x779d
mov word [esp + 0xae], 0x4c8b
mov ecx, dword [esp + 0xb0]
mov byte [esp + 0xad], 0x22
mov dword [esp + 0xa8], 0x5771
mov edx, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
xor edi, edi
mov ebx, 0xea9d
sub ebx, edx
sbb edi, esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov bl, byte [esp + 0xb7]
mov byte [esp + 0x67], 0x50
mov bh, byte [esp + 0xad]
xor bh, 0xb4
mov byte [esp + 0x4f], bh
mov edi, ecx
or edi, edi
mov dword [esp + 0xb0], edi
cmp byte [esp + 0x67], 0x8c
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x1b], bl
je 0x4027dc
jmp 0x402bb3
mov dword [esp + 0x9c], 0
jmp 0x40287e
mov al, byte [esp + 0xad]
xor al, 0xff
cmp byte [esp + 0x4f], al
jb 0x402a02
jmp 0x402b60
jmp 0x4027f2
mov eax, dword [esp + 0x8c]
add eax, 2
mov dword [esp + 0x8c], eax
jmp 0x402b71
mov eax, 0x5772
sub eax, dword [esp + 0xa8]
mov byte [esp + 0xb7], 0x12
add eax, dword [esp + 0x50]
mov dword [esp + 0x50], eax
jmp 0x40297b
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x88]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0x24]
add edx, 0xf09
mov dword [esp + 0xb0], edx
add eax, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x9c], eax
jmp 0x40287e
jmp 0x4029c8
mov eax, dword [esp + 0x88]
mov eax, dword [eax + 0x18]
cmp dword [esp + 0x48], eax
jb 0x402a12
jmp 0x402b10
mov eax, dword [esp + 0xa8]
xor eax, 0x114f
mov ecx, dword [esp + 0xa8]
xor ecx, 0x557f
mov dword [esp + 0x78], eax
cmp dword [esp + 0x78], ecx
jb 0x40297b
jmp 0x402b60
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x20]
and ecx, 0x5889
mov edx, dword [esp + 0x70]
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], 0
movsx eax, byte [edx + eax]
cmp eax, 0
je 0x402860
jmp 0x4027c2
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x50]
movsx eax, byte [eax + edx]
movsx ecx, byte [ecx + edx]
sub ecx, eax
sete bl
movzx eax, bl
mov dword [esp + 0x68], eax
movzx eax, word [esp + 0xb4]
mov edx, eax
add edx, 0xffffc415
mov si, dx
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x14], eax
mov eax, 0x5771
sub eax, edi
mov word [esp + 0xb4], si
mov edi, dword [esp + 0x14]
add edi, 0xffff9923
mov si, di
movsx edx, byte [ebx + edx]
mov word [esp + 0xb4], si
mov edi, dword [esp + 0x20]
and edi, edi
mov ebx, dword [esp + 0x1c]
and ebx, ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], edi
cmp edx, eax
mov dword [esp + 0x10], ecx
je 0x402860
jmp 0x4028aa
mov eax, 0xc25c
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x74], 0x2790
mov dword [esp + 0xb0], 0x6ba7
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x74]
sub eax, ecx
cmp eax, edx
jb 0x4027da
jmp 0x4029e7
cmp dword [esp + 0x94], 0xffffffff
je 0x4027b2
jmp 0x402813
mov al, byte [esp + 0x1b]
or al, 0x69
mov ecx, dword [esp + 0x68]
mov byte [esp + 0xb7], al
cmp ecx, 0
jne 0x402aba
jmp 0x4027dc
mov eax, dword [esp + 0xa8]
add eax, 0xffffa8af
cmp dword [esp + 0xa0], eax
jb 0x4028dc
jmp 0x4029c8
cmp dword [esp + 0x68], 0
je 0x402860
jmp 0x4027da
mov eax, dword [esp + 0x54]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xbc]
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x48]
mov edx, dword [edx + esi*4]
add eax, 0xffffcea5
adc ecx, 0xffffffff
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
xor eax, esi
xor ecx, edi
or eax, ecx
mov dword [esp + 0xc], eax
je 0x402860
jmp 0x402a5f
mov eax, dword [esp + 0xa8]
mov ecx, 0x5771
sub ecx, eax
mov eax, dword [esp + 0x60]
mov dl, byte [esp + 0x1b]
add dl, 0x6b
mov esi, dword [esp + 0x84]
mov byte [esp + 0xb7], dl
add esi, eax
mov dword [esp + 0xa4], esi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x20]
and eax, eax
mov ecx, dword [esp + 0x1c]
and ecx, ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], eax
jmp 0x40297b
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x24]
xor ecx, 0x5efd
mov edx, 0x7165
sub edx, eax
mov esi, dword [esp + 0x8c]
add eax, 0xffffec4d
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x80], esi
mov ecx, dword [esp + 0x20]
and ecx, ecx
mov esi, dword [esp + 0x1c]
and esi, esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x30], edx
cmp eax, dword [esp + 0x30]
ja 0x402b8e
mov ax, 0xb740
mov cx, word [esp + 0xae]
xor cx, 0x3f36
mov word [esp + 0x2e], cx
mov cx, word [esp + 0xae]
mov edx, dword [esp + 0x24]
imul esi, edx, 0x6bb7
mov di, word [esp + 0x2e]
sub ax, cx
mov dword [esp + 0xb0], esi
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x94], esi
cmp ax, di
jbe 0x4029b5
jmp 0x402a12
mov eax, dword [esp + 0x9c]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, 0x5772
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0x48]
sub eax, ecx
add edx, eax
mov dword [esp + 0x48], edx
jmp 0x402865
mov eax, dword [esp + 0x80]
mov cx, word [eax]
mov dl, 0x30
mov al, byte [esp + 0x1b]
mul dl
mov byte [esp + 0xb7], al
movzx esi, cx
mov dword [esp + 0x7c], esi
jmp 0x402b10
mov eax, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xa8]
add ecx, 0xffffa88e
mov dword [esp + 8], ecx
call fcn.00402ee0
mov dword [esp + 0x54], eax
mov ecx, esp
mov dword [ecx], eax
call fcn.00402cd0
sub esp, 4
mov dword [esp + 0x44], eax
mov ecx, eax
add ecx, 0x18
mov dword [esp + 0x34], ecx
mov dl, byte [esp + 0x1b]
or dl, 0x86
mov ecx, dword [esp + 0x54]
mov byte [esp + 0xb7], dl
mov eax, dword [eax + 0x78]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc4], esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0xc0], edi
add ecx, eax
mov dword [esp + 0x88], ecx
mov eax, dword [esp + 0x34]
mov bx, word [esp + 0xb4]
add bx, 0x29ae
mov word [esp + 0xb4], bx
mov word [esp + 0xb4], 0xe776
mov eax, dword [eax + 0x64]
mov dl, byte [esp + 0x1b]
and dl, dl
mov byte [esp + 0xb7], dl
mov dword [esp + 0x90], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x54]
mov bx, word [esp + 0xb4]
mov dx, word [esp + 0xb4]
mov esi, dword [esp + 0x88]
add ecx, dword [esi + 0x20]
and bx, dx
xor eax, 0x5771
mov word [esp + 0xb4], bx
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x24]
mov dword [esp + 0xb0], edi
add esi, dword [ecx + 0x24]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x48], eax
jmp 0x402865