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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x218
mov ebp, dword [esp + 0x230]
call 0x471026
pop eax
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [esp + 0x60], eax
mov eax, 0x7fffffff
add eax, dword [ebp]
cmp eax, 4
setb cl
cmp eax, 1
setne al
test cl, al
jne 0x471094
mov esi, dword [ebp + 4]
mov ebx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov edi, edx
push ebx
push esi
push dword [edx + 0x14]
call dword [eax + 0x18]
add esp, 0xc
mov eax, dword [edi]
mov ecx, eax
neg ecx
jo 0x471094
mov edi, dword [edi + 8]
sub eax, edi
cmp eax, ebx
jb 0x4716b6
mov ebp, dword [esp]
mov eax, dword [ebp + 4]
add eax, edi
push ebx
push esi
push eax
call fcn.004ef180
add esp, 0xc
add edi, ebx
mov dword [ebp + 8], edi
mov ebp, dword [esp + 0x230]
mov eax, dword [ebp]
mov esi, ebp
lea edi, [eax + 0x7fffffff]
cmp edi, 4
setb dl
cmp edi, 1
setne dh
test dl, dh
jne 0x4710f9
cmp dword [esi + 0xc], 0x80000006
jne 0x4710f9
mov ebp, dword [esi + 0x1c]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x18]
lea ebx, [esi + 0xc]
mov dword [esp + 4], ebp
mov ebp, dword [esi + 0x20]
cmp edx, 0x80000001
jne 0x4711e5
mov edx, dword [esi + 0x14]
mov esi, ebx
mov ebx, dword [esp + 8]
mov dword [ebx], edx
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 4]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ebp
mov ebp, dword [esp]
mov ecx, esi
jmp 0x4713bc
lea edi, [esp + 0xec]
mov ecx, 0x1f
mov edx, 2
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xec]
movzx eax, byte [0x6019e5]
lea edi, [esi + 0x7fffffff]
cmp edi, 4
setb bl
cmp edi, 1
setne bh
xor ecx, ecx
call fcn.00499510
test bl, bh
jne 0x471179
mov ebp, dword [esp]
test eax, eax
je 0x471a41
mov word [eax], 0x12
mov edx, dword [esp + 0x60]
cmp edi, 4
movzx ecx, byte [esp + 0x165]
movzx ebx, byte [esp + 0x164]
mov byte [esp + 0xc], cl
mov cl, 1
mov dword [esp + 4], ecx
mov ecx, 1
cmovb ecx, edi
add edx, dword [ecx*4 + 0x471a44]
jmp edx
mov ebp, dword [esp]
test eax, eax
je 0x471a41
mov edx, 0x3000201
lea ecx, [edi*8]
mov ebx, 2
mov word [eax], 2
mov dword [esp + 4], 0
shr edx, cl
cmp edi, 4
mov ecx, 1
cmovb ecx, edi
mov edi, dword [esp + 0x60]
cmovb ebx, edx
add edi, dword [ecx*4 + 0x471a44]
jmp edi
mov eax, dword [esi + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x22c]
mov esi, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x5c]
mov ebx, dword [eax + 0x24]
test ebx, ebx
je 0x47133c
mov edi, dword [eax + 0x20]
cmp si, 3
jne 0x471316
shr esi, 0x10
shl ebx, 3
jmp 0x47123c
add edi, 8
add ebx, 0xfffffff8
je 0x47133c
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
cmp ax, 3
jne 0x471230
cmp dx, si
jne 0x471230
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp]
mov ecx, dword [esp + 0x14]
cmp ebx, 0x10000
jbe 0x471554
mov eax, dword [esp + 0x22c]
mov word [esp + 0x168], 4
mov dword [esp + 0xec], 0x80000001
mov dword [esp + 0xf0], 0x80001
lea edx, [esp + 0xec]
mov edi, dword [eax]
xor eax, eax
cmp byte [edi + 0x31], 2
mov ecx, edi
sete al
push eax
call fcn.00456630
add esp, 4
mov eax, dword [esp + 8]
mov byte [edi + 0x249], 1
mov byte [eax], 3
mov byte [eax + 4], 0xa
jmp 0x47138d
shl ebx, 3
nop dword [eax]
mov eax, dword [edi + 4]
push dword [edi]
call dword [eax + 0x1c]
add esp, 4
cmp ax, si
je 0x471252
add edi, 8
add ebx, 0xfffffff8
jne 0x471320
mov edi, dword [ebp]
mov word [esp + 0x168], 4
mov dword [esp + 0xec], 0x80000001
mov dword [esp + 0xf0], 0x80001
xor eax, eax
lea edx, [esp + 0xec]
cmp byte [edi + 0x31], 2
mov ecx, edi
sete al
push eax
call fcn.00456630
add esp, 4
mov ebp, dword [esp]
mov eax, dword [esp + 8]
mov byte [edi + 0x249], 1
mov word [eax], 0x3309
mov edi, dword [esp + 0x230]
test dword [esp + 0x18], 0x7fffffff
je 0x4713b0
push dword [esp + 0x10]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi]
mov ecx, dword [esp + 0xc]
lea edi, [eax + 0x7fffffff]
cmp edi, 4
setae dl
cmp edi, 1
sete dh
or dh, dl
je 0x4713eb
cmp dword [ecx], 0x80000006
mov esi, dword [esp + 0x230]
je 0x4713e2
call fcn.0044cc20
mov eax, dword [esi]
test eax, 0x7fffffff
je 0x47141f
jmp 0x471409
mov edx, dword [esp + 0x60]
add eax, 0x7fffffff
mov esi, dword [esp + 0x230]
add edx, dword [eax*4 + 0x471a54]
jmp edx
mov eax, 4
push dword [esi + eax]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [ebp + 0x5c]
lock dec dword [eax]
jne 0x47142f
lea ecx, [ebp + 0x5c]
call fcn.00464a30
cmp byte [ebp + 0x48], 0
jne 0x47144f
test dword [ebp + 0x4c], 0x7fffffff
je 0x47144f
push dword [ebp + 0x50]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x471461
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x47147f
cmp dword [edi + 8], 9
jb 0x471470
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [ebp], 0x7fffffff
je 0x471499
push dword [ebp + 4]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov edi, dword [ebp + 0x68]
mov esi, dword [ebp + 0x64]
mov eax, dword [edi]
test eax, eax
je 0x4714ab
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x4714c9
cmp dword [edi + 8], 9
jb 0x4714ba
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
lea ecx, [ebp + 0x70]
call fcn.00438e90
lea ecx, [ebp + 0xb4]
call fcn.00438e90
lea ecx, [ebp + 0x28]
call fcn.00470880
mov edi, dword [ebp + 0x1c]
mov eax, edi
neg eax
jo 0x471523
mov ebx, dword [ebp + 0x20]
mov ebp, dword [ebp + 0x24]
test ebp, ebp
je 0x47150d
mov esi, ebx
nop dword [eax]
mov ecx, esi
call fcn.004a6b30
add esi, 0x3c
dec ebp
jne 0x471500
mov ebp, dword [esp]
test edi, edi
je 0x471523
push ebx
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
push ebp
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
test ebx, ebx
je 0x471574
mov ecx, 8
mov edx, ebx
call fcn.00499510
test eax, eax
je 0x471a41
mov ecx, dword [esp + 0x14]
mov esi, eax
jmp 0x471579
mov esi, 1
mov eax, dword [edi + 4]
push ebx
push esi
push ecx
push dword [esp + 0x1c]
push dword [edi]
call dword [eax + 0x18]
add esp, 0x14
test al, al
je 0x4715e8
mov eax, dword [esp + 0x22c]
mov word [esp + 0x168], 4
mov dword [esp + 0xec], 0x80000001
mov dword [esp + 0xf0], 0x80001
lea edx, [esp + 0xec]
mov edi, dword [eax]
xor eax, eax
cmp byte [edi + 0x31], 2
mov ecx, edi
sete al
push eax
call fcn.00456630
add esp, 4
mov eax, dword [esp + 8]
mov byte [edi + 0x249], 1
mov word [eax], 0x1809
jmp 0x471693
lea ecx, [esp + 0x7c]
lea edx, [esp + 0x70]
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0
call fcn.00448d00
xor eax, eax
cmp eax, dword [esp + 0x7c]
jno 0x4716d2
mov eax, dword [esp + 0x22c]
mov word [esp + 0x168], 4
mov dword [esp + 0xec], 0x80000001
mov dword [esp + 0xf0], 0x80001
lea edx, [esp + 0xec]
mov edi, dword [eax]
xor eax, eax
cmp byte [edi + 0x31], 2
mov ecx, edi
sete al
push eax
call fcn.00456630
add esp, 4
mov byte [edi + 0x249], 1
mov eax, dword [esp + 0x88]
movsd xmm0, qword [esp + 0x80]
mov dword [esp + 0x2b], eax
movsd qword [esp + 0x23], xmm0
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x27]
mov byte [eax], 3
movsd qword [eax + 1], xmm0
movsd qword [eax + 8], xmm1
mov edi, dword [esp + 0x230]
test ebx, ebx
je 0x471394
push esi
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
jmp 0x471394
mov ebp, dword [esp]
mov edx, edi
mov ecx, ebp
push 1
push 1
push ebx
call fcn.004fe890
add esp, 0xc
mov edi, dword [ebp + 8]
jmp 0x471075
movsd xmm0, qword [esp + 0x8c]
movsd xmm2, qword [esp + 0x7c]
movsd xmm1, qword [esp + 0x84]
lea ecx, [esp + 0x80]
lea edx, [esp + 0x180]
mov dword [esp + 4], esi
movsd qword [esp + 0x190], xmm0
movsd qword [esp + 0x188], xmm1
movsd qword [esp + 0x180], xmm2
call fcn.0044d430
mov byte [esp + 0xe8], 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x7c], 0x80000005
mov dword [esp + 0x28], 0
sub esp, 4
lea esi, [esp + 0x80]
lea edx, [esp + 0x24]
mov ecx, esi
push 0x80000000
call fcn.0044c4e0
add esp, 8
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
lea edi, [esp + 0xf8]
mov ecx, 0x1c
lea edx, [esp + 0xec]
mov dword [esp + 0xf4], eax
movsd qword [esp + 0xec], xmm0
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x214], 5
lea edi, [esp + 0x198]
mov ecx, 0x1f
mov esi, edx
rep movsd dword es:[edi], dword [esi]
movsd xmm1, qword [ebp + 0x50]
movsd xmm2, qword [ebp + 0xf8]
mov eax, dword [ebp + 0x58]
movsd xmm0, qword [ebp + 0x48]
movsd qword [esp + 0xcc], xmm1
movsd xmm1, qword [ebp + 0x100]
movsd qword [esp + 0x20], xmm2
movsd xmm2, qword [ebp + 0x110]
mov dword [esp + 0xd4], eax
mov eax, dword [ebp + 0x18]
movsd qword [esp + 0xc4], xmm0
movsd qword [esp + 0x28], xmm1
movsd xmm1, qword [ebp + 0x108]
movsd qword [esp + 0x38], xmm2
movsd xmm2, qword [ebp + 0x120]
mov dword [esp + 0x94], eax
lea eax, [ebp + 0x64]
movsd qword [esp + 0x30], xmm1
movsd xmm1, qword [ebp + 0x118]
movsd qword [esp + 0x48], xmm2
movsd xmm2, qword [ebp + 0x130]
movsd qword [esp + 0x40], xmm1
movsd xmm1, qword [ebp + 0x128]
movsd qword [esp + 0x58], xmm2
movsd xmm2, qword [ebp]
movsd qword [esp + 0x50], xmm1
movsd xmm1, qword [ebp + 0x5c]
movsd qword [esp + 0x7c], xmm2
movups xmmword [esp + 0x60], xmm1
movsd xmm1, qword [ebp + 8]
movsd qword [esp + 0x84], xmm1
movsd xmm1, qword [ebp + 0x10]
movsd qword [esp + 0x8c], xmm1
push 0x94
push eax
push edx
call fcn.004ef180
add esp, 0xc
movsd xmm1, qword [ebp + 0x30]
movsd xmm0, qword [ebp + 0x28]
movsd xmm2, qword [ebp + 0x40]
mov eax, dword [ebp + 0x24]
xor ecx, ecx
mov edx, 0x13c
movsd qword [esp + 0xac], xmm1
movsd xmm1, qword [ebp + 0x38]
movsd qword [esp + 0xa4], xmm0
movsd qword [esp + 0xbc], xmm2
movsd qword [esp + 0xb4], xmm1
movsd xmm1, qword [ebp + 0x1c]
mov dword [esp + 0xa0], eax
movsd qword [esp + 0x98], xmm1
movzx eax, byte [0x6019e5]
call fcn.00499510
test eax, eax
je 0x471a41
lea esi, [esp + 0x7c]
mov ecx, 0x17
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, eax
movups xmm0, xmmword [esp + 0x60]
movlps qword [eax + 0x5c], xmm0
add eax, 0x64
push 0x94
lea ecx, [esp + 0xf0]
push ecx
push eax
call fcn.004ef180
add esp, 0xc
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
lea eax, [esp + 0x198]
movsd qword [esi + 0xf8], xmm0
movsd qword [esi + 0x100], xmm1
movsd xmm0, qword [esp + 0x30]
movsd qword [esi + 0x108], xmm0
movsd xmm0, qword [esp + 0x38]
movsd qword [esi + 0x110], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esi + 0x118], xmm0
movsd xmm0, qword [esp + 0x48]
movsd qword [esi + 0x120], xmm0
movsd xmm0, qword [esp + 0x50]
movsd qword [esi + 0x128], xmm0
movsd xmm0, qword [esp + 0x58]
movsd qword [esi + 0x130], xmm0
mov byte [esi + 0x138], 1
push eax
push dword [esp + 0x230]
push esi
push dword [esp + 0x14]
call fcn.0046eca0
add esp, 0x10
test ebx, ebx
je 0x4719d2
push dword [esp + 4]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
test dword [esp + 0x18], 0x7fffffff
mov esi, dword [esp + 0x230]
mov edi, dword [esp + 0xc]
je 0x4719f9
push dword [esp + 0x10]
push 0
push dword [0x6019d8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi]
lea ecx, [eax + 0x7fffffff]
cmp ecx, 4
setae dl
cmp ecx, 1
sete cl
or cl, dl
je 0x471a35
cmp dword [edi], 0x80000006
je 0x471a22
mov ecx, edi
call fcn.0044cc20
mov eax, dword [esi]
test eax, 0x7fffffff
je 0x471523
push dword [esi + 4]
jmp 0x471515
mov ecx, esi
call fcn.0046a530
jmp 0x471523
ud2