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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x34
mov eax, dword [ecx + 0x24]
movsd xmm0, qword [0x530d30]
push ebx
push esi
push edi
sub esp, 0x18
movsd qword [eax + 0x110], xmm1
mov eax, dword [ecx + 0x24]
xor esi, esi
movsd qword [esp + 0x48], xmm2
mov dword [esp + 0x38], ecx
movsd qword [esp + 0x10], xmm0
movsd xmm0, qword [eax + 0x118]
movsd qword [esp + 8], xmm2
mov dword [esp + 0x3c], esi
movsd qword [esp], xmm0
call dword [sym.imp.PHDPFuncs.dll_IsEqual]
mov edx, dword [esp + 0x38]
add esp, 0x18
mov ecx, dword [edx + 0x24]
test eax, eax
jne 0x470d25
movsd xmm0, qword [esp + 0x30]
movsd qword [ecx + 0x118], xmm0
mov ecx, dword [edx + 0x340]
mov eax, dword [ecx]
mov dword [esp + 0x2c], eax
cmp eax, ecx
je 0x470f19
mov esi, dword [ebp + 8]
or edi, 0xffffffff
nop
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x470d03
cmp dword [eax + 8], 0
je 0x470c1e
cmp dword [eax + 8], 1
jne 0x470d03
mov eax, dword [edx + 0x24]
mov dword [esp + 0x28], 0
movsd xmm0, qword [eax + 0x118]
movsd qword [ecx + 0x80], xmm0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, esi
sar eax, 4
test eax, eax
je 0x470d03
xor ebx, ebx
nop
push dword [ebx + esi]
lea eax, [esp + 0x3c]
mov ecx, edx
push eax
call fcn.00482970
mov esi, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp + 0x24], ecx
test esi, esi
je 0x470ca0
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x470ca0
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x470ca0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x470cc7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x470cc7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x470cc7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x470ce0
mov eax, dword [ebp + 8]
movsd xmm0, qword [ebx + eax + 8]
movsd qword [ecx + 0x80], xmm0
mov eax, dword [ebp + 0xc]
add ebx, 0x10
mov ecx, dword [esp + 0x28]
mov esi, dword [ebp + 8]
inc ecx
mov edx, dword [esp + 0x20]
sub eax, esi
sar eax, 4
mov dword [esp + 0x28], ecx
cmp ecx, eax
jb 0x470c50
lea ecx, [esp + 0x2c]
call fcn.00401c60
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
cmp eax, dword [edx + 0x340]
jne 0x470c00
jmp 0x470ef3
mov eax, dword [ecx + 0x148]
xor ebx, ebx
sub eax, dword [ecx + 0x144]
or edi, 0xffffffff
sar eax, 4
test eax, eax
je 0x470e1c
xor edx, edx
mov dword [esp + 0x2c], edx
jmp 0x470d54
mov esi, dword [esp + 0x24]
mov eax, dword [ecx + 0x144]
mov ecx, dword [esp + 0x20]
push dword [eax + edx]
lea eax, [esp + 0x3c]
push eax
call fcn.00482970
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp + 0x24], ecx
test esi, esi
je 0x470da8
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x470da8
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x470da8
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x470dcf
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x470dcf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x470dcf
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x470dee
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x24]
movsd xmm0, qword [eax + 0x118]
movsd qword [ecx + 0x80], xmm0
mov eax, dword [esp + 0x20]
inc ebx
mov edx, dword [esp + 0x2c]
add edx, 0x10
mov dword [esp + 0x2c], edx
mov ecx, dword [eax + 0x24]
mov eax, dword [ecx + 0x148]
sub eax, dword [ecx + 0x144]
sar eax, 4
cmp ebx, eax
jb 0x470d50
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
sub eax, esi
sar eax, 4
mov dword [esp + 0x2c], 0
test eax, eax
je 0x470ef3
xor ebx, ebx
nop dword [eax]
push dword [ebx + esi]
lea eax, [esp + 0x3c]
mov ecx, edx
push eax
call fcn.00482970
mov esi, dword [esp + 0x24]
mov ecx, dword [eax]
mov dword [esp + 0x30], ecx
mov ecx, dword [eax + 4]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [esp + 0x24], ecx
test esi, esi
je 0x470e90
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x470e90
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x470e90
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x470eb7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x470eb7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x470eb7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x470ed0
mov eax, dword [ebp + 8]
movsd xmm0, qword [ebx + eax + 8]
movsd qword [ecx + 0x80], xmm0
mov eax, dword [ebp + 0xc]
add ebx, 0x10
mov ecx, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
inc ecx
mov edx, dword [esp + 0x20]
sub eax, esi
sar eax, 4
mov dword [esp + 0x2c], ecx
cmp ecx, eax
jb 0x470e40
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x470f1c
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x470f19
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x470f19
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [ebp + 8]
test esi, esi
je 0x470f4c
mov ecx, dword [ebp + 0x10]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffff0
cmp ecx, 0x1000
jb 0x470f42
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x470f55
push ecx
push esi
call fcn.00443e34
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.0044d695
int3