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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x88
mov edi, dword [ebp + 8]
mov dword [esp + 4], ecx
xor ecx, ecx
mov dword [esp + 0x4c], edx
mov ebx, dword [ebp + 0xc]
movzx eax, byte [edi + 0xc9]
mov edx, dword [edi + 0xc4]
cmp al, 8
mov byte [esp + 0xb], al
mov eax, dword [edi + 0xcc]
sete cl
lea esi, [eax + ecx*8 + 4]
mov dword [esp + 0x14], eax
mov eax, ebx
sub esi, edx
sub eax, esi
lea esi, [edi + 0xa8]
mov edi, dword [edi + 0xf0]
mov dword [esp + 0x1c], edi
lea edi, [edi + 8]
jb 0x4208f1
cmp eax, edx
jae 0x4208f1
mov eax, dword [ebp + 8]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], 0
mov dword [esp + 0x10], 0
xor edi, edi
mov esi, dword [eax + 0xc0]
add esi, edx
lea edx, [ecx*8 + 4]
xor ecx, ecx
sub ebx, edx
mov dword [esp + 0xc], esi
sub ebx, dword [esp + 0x14]
nop word cs:[eax + eax]
nop dword [eax]
movzx eax, byte [esi + ebx]
cmp ecx, 0x3f
mov byte [esp + 0x14], al
jne 0x4208b1
cmp al, 2
jae 0x42090a
mov ah, byte [esp + 0x14]
mov edx, edi
mov edi, 0
and ah, 0x7f
movzx esi, ah
xor eax, eax
shld eax, esi, cl
shl esi, cl
test cl, 0x20
cmovne eax, esi
cmovne esi, edi
mov edi, edx
or edi, eax
or dword [esp + 0x10], esi
cmp byte [esp + 0x14], 0
jns 0x42092e
mov esi, dword [esp + 0xc]
add ecx, 7
inc ebx
jne 0x4208a0
xor ecx, ecx
mov dl, 0x13
jmp 0x42090c
mov eax, dword [esp + 4]
mov dword [eax], 0x38
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov dword [eax + 0xc], 0
jmp 0x420926
mov dl, 6
mov eax, dword [esp + 4]
mov dh, byte [esp + 0x14]
mov byte [eax], dl
mov byte [eax + 1], dh
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea eax, [ebx + eax + 1]
or ecx, edi
not ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
je 0x420aec
mov eax, dword [esp + 0x1c]
test edi, edi
jne 0x420af8
mov ecx, dword [esp + 0x10]
dec ecx
cmp ecx, dword [eax + 0x10]
jae 0x420af8
imul ecx, ecx, 0x68
add ecx, dword [eax + 0xc]
cmp byte [ecx + 0x62], 1
jne 0x42097a
mov dword [esp + 0x64], 1
push ecx
call fcn.0045cfc0
add esp, 4
test edx, edx
je 0x420c14
mov edi, eax
mov eax, dword [ebp + 8]
mov ebx, edx
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0xc], 0
shl ebx, 4
mov eax, dword [eax + 0xf4]
mov dword [esp + 0x14], eax
jmp 0x4209f1
lea ecx, [esp + 0x28]
lea edx, [esp + 0x68]
call fcn.004111b0
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x1c], ecx
add edi, 0x10
add ebx, 0xfffffff0
je 0x420be2
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
mov eax, dword [esp + 0x5c]
lea esi, [esp + 0x28]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x54]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
push esi
push dword [eax + 0x20]
call fcn.0040ed10
add esp, 8
mov eax, dword [esp + 0x68]
xor eax, 0x2e
or eax, dword [esp + 0x6c]
je 0x420bc4
movzx eax, word [esp + 0x78]
cmp eax, 0x46
jle 0x420a90
cmp eax, 0x47
je 0x4209c0
cmp eax, 0x6e
je 0x420a52
cmp eax, 0x2007
jne 0x4209e5
lea esi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.004111b0
movzx eax, byte [esp + 0xb]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push esi
push dword [esp + 0x18]
push eax
call fcn.004152c0
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x4209e5
jmp 0x420c27
cmp eax, 3
je 0x420aa3
cmp eax, 0x31
je 0x4209c0
jmp 0x4209e5
lea esi, [esp + 0x28]
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.004111b0
movzx eax, byte [esp + 0xb]
mov edx, dword [ebp + 0x14]
lea ecx, [esp + 0x38]
push esi
push dword [esp + 0x18]
push eax
call fcn.004152c0
add esp, 0xc
cmp byte [esp + 0x38], 0x4b
jne 0x4209e5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
jmp 0x4209e5
mov eax, dword [esp + 4]
mov byte [eax], 0x37
jmp 0x420926
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x420bfa
mov eax, dword [eax + 0x18]
mov dword [esp + 0x24], eax
movzx eax, word [ecx + 0x4d6]
xor edx, edx
mov esi, 0xffffffff
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], eax
imul eax, eax, 0x68
mov dword [esp + 0x50], eax
nop word [eax + eax]
mov ecx, dword [esp + 0x50]
add ecx, edx
je 0x420b8b
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + esi*8 + 8]
mov eax, dword [eax + esi*8 + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x20], eax
xor eax, edi
xor ecx, ecx
mov ebx, dword [esp + 0xc]
xor ebx, edx
or ebx, eax
mov eax, edi
setne cl
cmp edx, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
sbb eax, dword [esp + 0x20]
mov eax, 0xff
cmovb ecx, eax
add edx, 0xffffff98
inc esi
cmp cl, 1
je 0x420b30
movzx eax, cl
test eax, eax
je 0x420bac
jmp 0x420b8f
mov esi, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
sub eax, 1
jb 0x420bfa
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov ecx, dword [ecx + esi*4 + 0x4d8]
jmp 0x420b0a
mov ecx, dword [esp + 0x18]
sub ecx, edx
add ecx, 0xfffffff0
cmp byte [ecx + 0x62], 1
je 0x420972
jmp 0x42097a
movsd xmm0, qword [esp + 0x70]
mov eax, dword [esp + 4]
movsd xmm1, qword [esp + 0x78]
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
jmp 0x420926
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x420c05
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x420c1f
mov eax, dword [esp + 4]
mov dl, 0x12
jmp 0x420910
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
xor eax, 0x2e
or eax, edi
jne 0x420c41
mov eax, dword [esp + 4]
mov dword [eax + 4], 0
mov byte [eax], 0x4b
jmp 0x420926
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x40]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov byte [edx], 0x4b
jmp 0x420926
mov esi, dword [ebp + 0x18]
movzx eax, byte [esp + 0x4c]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x10]
dec esi
push esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
push dword [esp + 0x30]
push edi
call fcn.00421ec0
add esp, 0x1c
jmp 0x420926