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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f875
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6ec7c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 4]
mov eax, 0x88888889
sub ecx, esi
imul ecx
add edx, ecx
sar edx, 6
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4208db
mov ecx, dword [ebp - 0x2c]
add ecx, 0x2c
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.004146c0
mov eax, dword [ebp - 0x34]
jmp 0x420a45
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
cmp ecx, edx
jge 0x4208f2
test byte [eax + 0x44], 2
jne 0x420a62
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 7
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], cx
mov eax, dword [eax + 0x3c]
mov dword [ebp - 4], 1
test edi, edi
je 0x42093e
nop dword [eax + eax]
mov ecx, dword [esi + 0x14]
add ecx, eax
cmp dword [esi], 0xfffffffe
jne 0x420931
cmp ecx, dword [esi + 0x38]
cmovb ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x2c]
add esi, 0x78
add eax, ecx
sub edi, 1
jne 0x420920
push eax
lea ecx, [ebp - 0x28]
call fcn.00420100
mov esi, dword [ebp - 0x2c]
cmp dword [esi + 0x40], 7
lea ecx, [esi + 0x2c]
jbe 0x420956
mov ecx, dword [esi + 0x2c]
push dword [esi + 0x3c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00418500
mov edi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov eax, 0x88888889
mov ecx, dword [esi + 4]
sub ecx, edi
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x420a19
xor eax, eax
mov dword [ebp - 0x2c], eax
nop dword [eax]
add eax, edi
cmp dword [eax + 0x18], 7
lea ecx, [eax + 4]
jbe 0x42099e
mov ecx, dword [eax + 4]
push dword [eax + 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00418500
mov eax, dword [ebp - 0x2c]
cmp dword [edi + eax], 0xfffffffe
jne 0x4209d2
mov ecx, dword [edi + eax + 0x38]
mov edx, dword [ebp - 0x18]
cmp ecx, edx
jbe 0x4209d2
movzx eax, word [edi + eax + 0x48]
sub ecx, edx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041ece0
mov eax, dword [ebp - 0x2c]
add eax, edi
cmp dword [eax + 0x30], 7
lea ecx, [eax + 0x1c]
jbe 0x4209e0
mov ecx, dword [eax + 0x1c]
push dword [eax + 0x2c]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00418500
mov ecx, dword [esi + 4]
mov eax, 0x88888889
mov edi, dword [esi]
sub ecx, edi
inc dword [ebp - 0x30]
add dword [ebp - 0x2c], 0x78
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
jb 0x420990
mov eax, dword [ebp - 0x34]
xorps xmm0, xmm0
mov byte [esi + 0x28], 1
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [eax + 0x10], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00604ed9
mov esp, ebp
pop ebp
ret 4
push edx
push ecx
lea ecx, [ebp - 0x4c]
call fcn.0041d1c0
push eax
mov dword [ebp - 4], 0
call fcn.0041bec0
int3