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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x98], 0
mov esi, dword [esp + 0x98]
mov dword [esp + 0xb0], 0
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x70], 0
mov dword [esp + 0xa8], 0
mov byte [esp + 0xbb], 0
mov bl, byte [esp + 0xbb]
mov byte [esp + 0x6f], 0x37
mov byte [esp + 0x8f], 0x2d
mov dword [esp + 0x7c], 1
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x5d], 0xb3
mov dword [esp + 0x44], 0
mov byte [esp + 0x9f], 0xa
mov dword [esp + 0xa0], 0xa
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x90], 0
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x60], 0
mov word [esp + 0x5a], 0x69f3
mov dword [esp + 0x94], 0x1000
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x94]
mov word [esp + 0x5e], 0
mov dword [esp + 0x30], eax
mov ax, word [esp + 0x5e]
mov word [esp + 0xae], 0x38bc
mov dword [esp + 0x74], 0
mov byte [esp + 0xba], 0xa8
mov dword [esp + 0x54], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0xb4], 0
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x30]
cmp dword [esp + 0x80], edx
mov dword [esp + 0x2c], edi
mov word [esp + 0x2a], ax
mov byte [esp + 0x29], bl
mov dword [esp + 0x24], esi
jbe 0x402823
mov eax, 0xffffffff
lea ecx, [esp + 0x5a]
mov dl, 0x5c
sub dl, byte [esp + 0x5d]
mov dh, byte [esp + 0x9f]
mov bl, cl
and dh, bl
mov byte [esp + 0x9f], dh
mov byte [esp + 0x5d], dl
mov dword [esp + 0x84], eax
jmp 0x402ad4
lea eax, [esp + 0x70]
mov cx, 0
mov edx, dword [esp + 0x74]
sub cx, word [esp + 0x5a]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0xa8]
mov esi, dword [esp + 0x34]
mov dword [esp + 0xa4], esi
sub eax, edx
mov word [esp + 0x5a], cx
mov dword [esp + 0x70], eax
mov al, 0
mov cx, word [esp + 0xae]
or cx, 0xd29
mov word [esp + 0xae], cx
mov edx, dword [esp + 0xb4]
add edx, 0
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x80]
sub al, byte [esp + 0x6f]
mov byte [esp + 0x6f], al
cmp edx, esi
jae 0x40295e
lea eax, [esp + 0xba]
lea ecx, [esp + 0x74]
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0x68]
movsx edx, byte [esi + edx]
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x20], eax
mov eax, esi
mov dword [esp + 0x1c], edx
xor edx, edx
mov esi, dword [esp + 0x38]
div esi
mov eax, dword [esp + 0xa8]
xor eax, 0
mov dword [esp + 0xb4], eax
movsx eax, byte [edx + 0x40e01c]
mov edx, dword [esp + 0x1c]
sub edx, eax
mov bl, dl
mov eax, dword [esp + 0xa4]
mov di, word [esp + 0x5a]
xor di, cx
mov bh, byte [esp + 0x9f]
mov edx, dword [esp + 0x20]
mov cl, dl
or bh, cl
mov byte [esp + 0x9f], bh
mov word [esp + 0x5a], di
mov byte [esp + eax + 0xbc], bl
lea eax, [esp + 0xba]
mov ecx, dword [esp + 0xa4]
mov dx, word [esp + 0x5a]
and dx, 0x4f3f
mov word [esp + 0x5a], dx
mov esi, dword [esp + 0x60]
xor esi, eax
mov dword [esp + 0x60], esi
mov eax, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0xa4], ecx
jmp 0x402855
lea eax, [esp + 0xbc]
mov ecx, dword [esp + 0x80]
mov byte [esp + 0x6f], 0x5c
mov dl, byte [esp + 0x29]
mov byte [esp + ecx + 0xbc], dl
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x74]
add eax, 0
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00401900
lea ecx, [0x40f284]
mov si, ax
mov word [esp + 0x48], si
mov word [esp + 0x4a], si
mov word [esp + 0x5a], 0x6753
mov dword [esp], ecx
call fcn.00401900
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jne 0x4029e1
mov eax, 0
mov ecx, 0xfffffffd
mov dword [esp + 0x84], ecx
sub eax, dword [esp + 0x60]
mov dword [esp + 0x60], eax
jmp 0x402ad4
call fcn.00402610
lea ecx, [0x40f289]
mov dword [esp + 0x78], eax
mov dword [esp], ecx
call fcn.00401900
mov dl, 0xad
mov ecx, dword [esp + 0x78]
sub dl, byte [esp + 0xba]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x74], 0
lea edi, [esp + 0x88]
mov ebx, esp
mov dword [ebx + 0xc], edi
mov di, word [esp + 0x2a]
movzx edi, di
mov dword [ebx + 8], edi
lea edi, [esp + 0x48]
mov dword [ebx + 4], edi
mov dword [ebx], esi
mov dword [esp + 0x18], eax
mov byte [esp + 0x17], dl
call ecx
sub esp, 0x10
mov dl, byte [esp + 0x17]
mov byte [esp + 0x5d], dl
mov ecx, dword [esp + 0x24]
cmp eax, ecx
je 0x402a94
lea eax, [esp + 0xae]
lea ecx, [esp + 0x5a]
lea edx, [esp + 0x9f]
mov esi, dword [esp + 0x70]
xor esi, edx
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], 0
mov di, word [esp + 0x5a]
mov edx, dword [esp + 0x60]
sub ecx, edx
mov bx, ax
mov dword [esp + 0x60], ecx
and di, bx
mov word [esp + 0xae], di
jmp 0x402ad4
lea eax, [0x40f28f]
mov dword [esp], eax
call fcn.00401900
mov ecx, 0
mov dl, 0
sub dl, byte [esp + 0x9f]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x84], esi
mov byte [esp + 0x9f], dl
sub ecx, dword [esp + 0xa8]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x70]
neg eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x84]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8