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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489ee0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x4bca04]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edi, dword [ebp + 8]
cmp edi, 0x2222222
ja 0x418afc
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
imul eax, eax, 0xeeeeeeef
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
sar eax, 3
imul edx, eax, 0xeeeeeeef
mov eax, 0x2222222
mov ecx, edx
shr ecx, 1
sub eax, ecx
cmp edx, eax
jbe 0x418abd
mov eax, 0x2222222
mov dword [ebp - 0x14], eax
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 3
push ecx
mov dword [ebp - 0x24], ecx
call fcn.00414b40
mov ecx, dword [ebp - 0x1c]
mov edx, edi
sub edx, dword [ebp - 0x1c]
shl ecx, 4
sub ecx, dword [ebp - 0x1c]
push esi
push dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
lea ecx, [eax + ecx*8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], ecx
call fcn.00418b20
mov eax, dword [esi + 4]
add esp, 0xc
mov edi, dword [esi]
mov dword [ebp - 0x1c], eax
cmp edi, eax
je 0x418a2d
mov esi, dword [ebp - 0x18]
lea edx, [edi + 0x14]
mov dword [ebp + 0xc], edx
add esi, 0x14
mov eax, dword [edi]
xorps xmm0, xmm0
mov dword [esi - 0x14], eax
movups xmmword [esi - 0x10], xmm0
mov dword [esi], 0
mov dword [esi + 4], 0
movups xmm0, xmmword [edx - 0x10]
movups xmmword [esi - 0x10], xmm0
movq xmm0, qword [edx]
movq qword [esi], xmm0
xorps xmm0, xmm0
mov dword [edx], 0
mov dword [edx + 4], 0xf
mov byte [edx - 0x10], 0
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
movups xmm0, xmmword [edx + 8]
movups xmmword [esi + 8], xmm0
movq xmm0, qword [edx + 0x18]
movq qword [esi + 0x18], xmm0
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0xf
mov byte [edx + 8], 0
mov eax, dword [edx + 0x24]
mov ecx, dword [edx + 0x28]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov eax, dword [edx + 0x2c]
mov ecx, dword [edx + 0x30]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ecx
mov al, byte [edx + 0x34]
mov byte [esi + 0x34], al
mov eax, dword [edx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edx + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edx + 0x40]
mov dword [esi + 0x40], eax
mov byte [esi + 0x44], 0
cmp byte [edx + 0x44], 0
je 0x418a01
mov ecx, dword [edx + 0x4c]
mov dword [esi + 0x4c], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov byte [esi + 0x44], 1
mov eax, dword [edx + 0x54]
add edi, 0x78
mov ecx, dword [edx + 0x58]
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], ecx
mov eax, dword [edx + 0x5c]
add edx, 0x78
mov dword [esi + 0x5c], eax
add esi, 0x78
mov dword [ebp + 0xc], edx
cmp edi, dword [ebp - 0x1c]
jne 0x418942
mov esi, dword [ebp - 0x20]
mov edi, dword [esi]
test edi, edi
je 0x418a8d
mov eax, dword [esi + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
je 0x418a4f
nop dword [eax + eax]
mov ecx, edi
call fcn.004164d0
add edi, 0x78
cmp edi, dword [ebp + 0xc]
jne 0x418a40
mov eax, dword [esi + 8]
mov edx, dword [esi]
sub eax, edx
sar eax, 3
imul eax, eax, 0xeeeeeeef
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 3
cmp ecx, 0x1000
jb 0x418a84
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x418b06
mov edx, ecx
push edx
call fcn.0045a450
add esp, 4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
shl eax, 4
sub eax, dword [ebp + 8]
mov dword [esi], edx
lea eax, [edx + eax*8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x24]
add eax, edx
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ecx + edx]
cmp eax, edi
jae 0x418acb
mov eax, edi
jmp 0x4188e6
mov dword [ebp - 0x14], eax
cmp eax, 0x2222222
ja 0x418b01
jmp 0x4188e9
call fcn.00416cc0
call fcn.00410520
call fcn.00469335
int3