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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xd8
mov eax, dword [ebp + 8]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], 0x1037
mov word [esp + 0xb6], 0x6301
mov byte [esp + 0xb5], 9
mov dword [esp + 0xb0], 0x52bf
movzx ecx, word [esp + 0xb6]
mov dx, cx
mov esi, 0xffffc1b9
sub esi, ecx
mov di, si
mov word [esp + 0x86], di
mov di, word [esp + 0xb6]
mov byte [esp + 0xd1], 0xfe
mov bx, 0xdd35
sub bx, di
mov word [esp + 0x52], bx
mov dword [esp + 0x54], 0x65c
mov dword [esp + 0x30], eax
mov word [esp + 0x2e], dx
call fcn.00402e70
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
mov edi, esp
mov dword [edi], eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], ecx
call fcn.00402d50
sub esp, 4
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov dx, word [esp + 0x2e]
imul dx, dx
mov word [esp + 0xd2], dx
add eax, 0x18
mov dword [esp + 0x68], eax
mov al, byte [esp + 0xd1]
mov ah, al
xor ah, ah
mov byte [esp + 0xd1], ah
mov ecx, dword [esp + 0x68]
mov dx, word [esp + 0x2e]
xor dx, 0x4f7e
mov ecx, dword [ecx + 0x60]
mov esi, dword [esp + 0x94]
add esi, ecx
mov word [esp + 0xd2], dx
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x68]
mov esi, dword [esi + 0x64]
mov dword [esp + 0xa8], esi
mov esi, dword [esp + 0xb0]
xor esi, 0xffffad40
mov dword [esp + 0x70], esi
mov esi, ecx
or esi, 0x637d
mov edi, dword [esp + 0x94]
mov dword [esp + 0xcc], esi
mov esi, dword [esp + 0x3c]
mov esi, dword [esi + 0x20]
add edi, esi
mov dword [esp + 0x98], edi
mov esi, dword [esp + 0x94]
mov edi, dword [esp + 0x3c]
add esi, dword [edi + 0x24]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x38], 0
mov byte [esp + 0x23], al
mov dword [esp + 0x1c], ecx
jmp 0x402c4e
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], ecx
mov dx, word [esp + 0x52]
movzx eax, word [eax]
mov dword [esp + 0x8c], eax
cmp dx, 0x70b9
jb 0x402c4e
jmp 0x402c00
mov eax, dword [esp + 0x34]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov eax, dword [esp + 0xb0]
mov cx, word [esp + 0x2e]
imul cx, cx
mov edx, dword [esp + 0x94]
xor eax, 0x52bf
mov word [esp + 0xd2], cx
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x38]
add edx, dword [esi + edi*4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x80], eax
jmp 0x402c3b
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xbc], ecx
jmp 0x402982
mov eax, 0x52bf
sub eax, dword [esp + 0xb0]
cmp dword [esp + 0x4c], eax
je 0x402a47
jmp 0x402c64
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x6c]
xor eax, 0x52bf
cmp ecx, eax
jne 0x402954
jmp 0x402ba3
mov eax, 0x52c0
sub eax, dword [esp + 0xb0]
add eax, dword [esp + 0x38]
mov dword [esp + 0x38], eax
jmp 0x402c4e
jmp 0x402a11
mov eax, dword [esp + 0xb0]
mov cl, byte [esp + 0x5b]
xor eax, 0x52bf
movsx edx, cl
cmp edx, eax
je 0x402a47
jmp 0x402c8c
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xc4]
mov si, word [esp + 0x2e]
mov dx, si
xor edx, 0x7008
mov di, dx
mov word [esp + 0xd2], di
xor eax, 0x2613
mov bl, byte [esp + 0x23]
not bl
mov byte [esp + 0xd1], bl
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x30]
movsx edx, byte [edx + esi]
movsx esi, byte [edi + esi]
sub edx, esi
sete bh
movzx esi, bh
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
mov byte [esp + 0xd1], bl
mov bl, byte [edi + esi]
mov byte [esp + 0x5b], bl
sub eax, 0x72a
sbb ecx, 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
jb 0x402a2e
jmp 0x402a49
mov eax, dword [esp + 0x3c]
mov cl, byte [esp + 0xb5]
mov dl, 0xc9
sub dl, cl
mov eax, dword [eax + 0x1c]
mov esi, dword [esp + 0x94]
add esi, eax
mov ch, 0xbf
sub ch, cl
mov byte [esp + 0xaf], ch
mov di, word [esp + 0x2e]
mov ax, di
add eax, 0x4b18
mov bx, ax
mov word [esp + 0xd2], bx
mov cl, byte [esp + 0xaf]
mov dword [esp + 0x90], esi
mov eax, 0x287a
mov esi, dword [esp + 0x24]
mov dword [esp + 0xc], eax
mov eax, esi
mov esi, dword [esp + 0xc]
mov byte [esp + 0xb], dl
mul esi
mov esi, dword [esp + 0x28]
imul esi, esi, 0x287a
add edx, esi
mov esi, dword [esp + 0x70]
mov dword [esp + 0xbc], edx
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax + esi*4]
mov dword [esp + 0x88], eax
mov ch, byte [esp + 0xb]
cmp cl, ch
jae 0x402c64
jmp 0x402c0c
mov eax, dword [esp + 0xb0]
add eax, 0x2719
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x5c], ecx
cmp eax, 0x67fa
jbe 0x402c0c
mov eax, dword [esp + 0x5c]
add eax, 2
mov ecx, dword [esp + 0x1c]
imul edx, ecx, 0x79c4
mov dword [esp + 0xcc], edx
mov dword [esp + 0xa0], eax
imul eax, ecx, 0x5367
mov dword [esp + 0xcc], eax
jmp 0x402a2e
cmp dword [esp + 0x78], 0x6a36
jae 0x402c64
jmp 0x402c7f
mov eax, dword [esp + 0x88]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x94]
add ecx, eax
mov dword [esp + 0x9c], ecx
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x34], eax
jmp 0x402982
cmp dword [esp + 0x80], 0x20
jb 0x402a65
jmp 0x402a11
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, dword [ecx + 0x18]
jb 0x402990
jmp 0x402cf4
mov eax, dword [esp + 0xb0]
xor eax, 0x52bf
cmp dword [esp + 0x6c], eax
je 0x402a47
jmp 0x402d12
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x70], eax
jmp 0x402cf4
mov eax, dword [esp + 0x30]
mov cl, byte [esp + 0xb5]
xor cl, 0xe6
mov edx, dword [esp + 0x80]
mov byte [esp + 0x85], cl
add eax, edx
mov cl, byte [esp + 0xb5]
xor cl, 3
mov ch, byte [esp + 0x85]
mov dword [esp + 0x64], eax
cmp cl, ch
jne 0x402d22
jmp 0x402c64
mov al, byte [esp + 0x23]
xor al, 0x27
mov ecx, dword [esp + 0xb0]
mov byte [esp + 0xd1], al
mov edx, dword [esp + 0x80]
xor ecx, 0x52be
add edx, ecx
mov dword [esp + 0x80], edx
jmp 0x402c3b
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0xb0]
xor ecx, 0xffffad40
cmp eax, ecx
je 0x4029da
jmp 0x402b01
mov eax, dword [esp + 0x1c]
xor eax, 0xffffffff
mov dword [esp + 0xcc], eax
jmp 0x402cc5
mov ax, word [esp + 0x86]
mov cx, word [esp + 0xb6]
mov edx, dword [esp + 0x64]
movsx edx, byte [edx]
add cx, 0xdf9c
mov dword [esp + 0x4c], edx
cmp ax, cx
ja 0x4029fa
jmp 0x402a11