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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov eax, dword [ebp + 8]
mov byte [esp + 0xb3], 0xe
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0x642f
mov word [esp + 0x8e], 0x6404
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
xor esi, esi
mov edi, 0x68d8
sub edi, ecx
mov ebx, esi
sbb ebx, edx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebx
mov edi, dword [esp + 0x90]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x40], eax
movzx eax, word [esp + 0x9c]
mov dword [esp + 0x3c], esi
mov si, ax
not eax
mov word [esp + 0x9c], ax
add edi, 0x12ee
adc ebx, 0
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x90]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x34], eax
mov eax, 0xd256
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
sbb ecx, eax
mov eax, dword [esp + 0x2c]
sub edi, eax
setb al
sub ebx, ecx
setb ah
mov byte [esp + 0x2b], ah
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], edx
mov word [esp + 0x1e], si
mov dword [esp + 0x18], edi
mov byte [esp + 0x17], al
je 0x42184d
mov al, byte [esp + 0x2b]
mov byte [esp + 0x17], al
mov al, byte [esp + 0x17]
test al, al
jne 0x421a16
jmp 0x42185b
mov al, byte [esp + 0xb3]
xor al, 0x52
mov byte [esp + 0x4b], al
cmp byte [esp + 0x4b], 0x49
jbe 0x4218a0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], eax
call fcn.00421a30
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
add eax, 0xc
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov dword [esp + 0x64], eax
mov ax, word [esp + 0x8e]
add ax, 0x534
mov word [esp + 0x6e], ax
mov ax, word [esp + 0x6e]
mov cx, word [esp + 0x8e]
xor cx, 0x23f3
cmp ax, cx
jb 0x4218e9
mov ax, word [esp + 0x1e]
sub ax, 0x2427
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x64]
mov word [esp + 0x9c], ax
cmp edx, ecx
je 0x421a0b
mov eax, dword [esp + 0xac]
and eax, eax
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
mov dword [esp + 0xac], eax
mov dword [esp + 0x88], esi
add esi, 0x18
mov eax, dword [esp + 0x90]
mov edi, dword [esp + 0x94]
xor ebx, ebx
mov dword [esp + 0x10], eax
mov eax, 0x9e85
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x10]
sub eax, ecx
sbb ebx, edi
mov dword [esp + 0x54], esi
mov si, word [esp + 0x1e]
mov cx, si
add ecx, 0xf04
mov si, cx
mov word [esp + 0x9c], si
mov byte [esp + 0x87], 0xb5
mov ecx, dword [esp + 0xc]
xor ecx, eax
xor edx, ebx
or ecx, edx
mov dword [esp + 8], ecx
je 0x4218a0
jmp 0x42196f
mov al, byte [esp + 0x87]
mov ecx, dword [esp + 0x54]
mov word [esp + 0x9c], 0x10d3
mov ecx, dword [ecx]
mov dword [esp + 0x70], ecx
mov dl, byte [esp + 0xb3]
add dl, 0xc4
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x74], ecx
cmp al, dl
jae 0x421a16
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov ecx, dword [ecx + 0x34]
mov edx, 0x1e8b
mov esi, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, esi
mul edx
mov edi, dword [esp + 0x20]
imul ebx, edi, 0x1e8b
add edx, ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov eax, dword [esp + 4]
cmp eax, ecx
jne 0x4219ee
mov eax, dword [esp + 0x88]
mov dword [esp + 0x80], eax
jmp 0x421a16
mov eax, dword [esp + 0x64]
mov cl, byte [esp + 0x9f]
mov byte [esp + 0x9f], cl
mov eax, dword [eax]
mov dword [esp + 0x64], eax
jmp 0x4218a0
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x80]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret