Function at 0x4023b0
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 dword [esp + 0xbc], 0
mov dword [esp + 0xb8], 0x278f
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
mov word [esp + 0xa6], 0x21ea
mov byte [esp + 0xa5], 0xbd
mov dword [esp + 0xa0], 0x6164
mov word [esp + 0x74], 0x690e
mov esi, dword [esp + 0xa0]
mov edi, esi
add edi, 0xa59
mov dword [esp + 0x4c], edi
movzx edi, word [esp + 0xa6]
mov bx, di
add edi, 0x3fe2
mov word [esp + 0x66], di
mov edi, ecx
add edi, edi
mov dword [esp + 0x34], eax
mov eax, edx
adc eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], eax
mov dword [esp + 0xa8], edi
mov eax, dword [esp + 0x2c]
xor eax, 0x3b23
mov edi, dword [esp + 0x28]
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov dword [esp + 0xac], 0xffffffff
mov dword [esp + 0xa8], 0xffffb4c5
mov word [esp + 0x26], bx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
call fcn.00402bb0
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x8c]
mov ecx, esp
mov dword [ecx], eax
call fcn.00402960
sub esp, 4
mov ecx, 0x6163
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
add eax, 0x18
mov edx, dword [esp + 0x18]
imul edx, edx
mov dword [esp + 0xc0], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x18]
and eax, 0x4551
mov edx, dword [esp + 0x8c]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x6c]
add edx, dword [eax + 0x60]
mov al, byte [esp + 0xb5]
mov dword [esp + 0x54], edx
mov ah, al
xor ah, 0xbc
mov byte [esp + 0xb5], ah
mov edx, dword [esp + 0x6c]
mov edx, dword [edx + 0x64]
mov dword [esp + 0x60], edx
sub ecx, dword [esp + 0xa0]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x54]
add ecx, dword [edx + 0x20]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x54]
add ecx, dword [edx + 0x24]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0xa0]
add ecx, 0xffff9e9c
mov dword [esp + 0x78], ecx
mov word [esp + 0xb6], 0x2d7f
mov byte [esp + 0x17], al
jmp 0x4026a8
mov eax, dword [esp + 0x9c]
movzx eax, word [eax]
mov dword [esp + 0x50], eax
jmp 0x402943
jmp 0x402879
mov ax, 0x1c2c
cmp ax, word [esp + 0x66]
jae 0x40260e
jmp 0x4027a1
mov eax, dword [esp + 0xa0]
add eax, 0xffff9e9d
add eax, dword [esp + 0x78]
mov dword [esp + 0x78], eax
jmp 0x4026a8
jmp 0x402929
mov eax, dword [esp + 0xa0]
mov word [esp + 0xb6], 0x5833
mov ecx, dword [esp + 0x44]
add eax, 0xffff9e9c
cmp ecx, eax
je 0x4025a2
jmp 0x4025d0
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
movsx eax, byte [ecx + eax]
cmp eax, 0
je 0x4025a2
jmp 0x4025d5
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x54]
mov dl, byte [esp + 0x17]
or dl, 0x54
mov byte [esp + 0xb5], dl
mov ecx, dword [ecx + 0x1c]
add eax, ecx
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], ecx
mov esi, dword [esp + 0x20]
mov dword [esp + 0xa8], esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x8c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0xc0], 0x171fe702
add eax, edi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x48], eax
jmp 0x40286b
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x38]
mov dx, word [esp + 0x26]
sub dx, dx
add eax, 0xffff9e9d
mov word [esp + 0xb6], dx
add ecx, eax
mov dword [esp + 0x98], ecx
jmp 0x402898
mov ax, word [esp + 0x26]
or ax, ax
mov word [esp + 0xb6], ax
mov ecx, dword [esp + 0x78]
mov word [esp + 0xb6], 0x71ff
mov edx, dword [esp + 0x54]
cmp ecx, dword [edx + 0x18]
jae 0x402943
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x8c]
mov bl, byte [esp + 0x17]
or bl, 0xf4
mov byte [esp + 0xb5], bl
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0xa0]
add ecx, 0xffff9e9c
add edx, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x44], 0
mov dword [esp + 0x98], ecx
jmp 0x402898
mov cx, word [esp + 0x26]
mov ax, cx
or eax, 0x1be9
mov dx, ax
mov word [esp + 0xb6], dx
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0x20]
and esi, 0x6290
mov edi, dword [esp + 0x58]
mov dword [esp + 0xa8], esi
mov dword [esp + 0xac], 0
xor eax, 0x6164
mov dword [esp + 0x44], edi
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x98]
movsx esi, byte [esi + edi]
cmp esi, eax
je 0x4025a2
jmp 0x4028e0
mov dword [esp + 0x48], 0
jmp 0x40286b
mov eax, dword [esp + 0x90]
add eax, 2
mov dword [esp + 0x9c], eax
jmp 0x4025b7
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
add eax, 0xaeb
mov ecx, dword [esp + 0x1c]
adc ecx, 0
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
sub eax, 0x6adb
sbb ecx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ecx
jb 0x40278b
jmp 0x4028e0
mov ax, 0x665a
mov cx, 0x3cdc
mov dx, word [esp + 0xa6]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x98]
sub cx, dx
mov word [esp + 0x76], cx
mov cx, word [esp + 0xa6]
mov ebx, dword [esp + 0x98]
mov edx, dword [esp + 0x94]
movsx edx, byte [edx + ebx]
movsx esi, byte [esi + edi]
cmp esi, edx
sete dl
sub ax, cx
mov cx, word [esp + 0x76]
mov si, word [esp + 0x26]
mov word [esp + 0xb6], si
and dl, 1
movzx edi, dl
mov dword [esp + 0x58], edi
mov dword [esp + 0xc0], 0x2084c9a
cmp ax, cx
jae 0x40271a
mov eax, dword [esp + 0x48]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov al, byte [esp + 0x17]
xor al, 0xff
mov ecx, dword [esp + 0x44]
mov byte [esp + 0xb5], al
cmp ecx, 0
jne 0x40258f
jmp 0x4025a7
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
imul eax, ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, edx
mul edx
mov esi, dword [esp + 8]
add edx, esi
add edx, esi
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0xa0]
xor edx, 0x4d58
cmp edx, eax
je 0x4026a8
jmp 0x402916
mov al, byte [esp + 0xa5]
xor al, 0xda
mov byte [esp + 0x8b], 0x7f
mov cl, 0x7f
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0x274e
cmp cl, al
je 0x402879
jmp 0x4025f5
cmp dword [esp + 0x98], 0x20
jb 0x4027f2
jmp 0x402879
mov eax, dword [esp + 0x98]
mov dword [esp + 0x38], eax
cmp word [esp + 0x74], 0x532a
ja 0x40267a
jmp 0x402916
mov eax, dword [esp + 0xa0]
add eax, 0xffff9e9b
cmp dword [esp + 0x50], eax
je 0x40277e
jmp 0x40260e