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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1b0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], ecx
call 0x47103b
pop ecx
mov dword [esp + 0xa0], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xc], ecx
mov edi, dword [eax + 0x10]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x68], esi
shl esi, 4
lea ebx, [edi + 0xe]
mov dword [esp + 0x64], edi
jmp 0x47109d
test esi, esi
je 0x4711a6
cmp dword [edi], 0x80000001
mov dx, 0x17
jne 0x4710d0
movzx eax, dx
mov eax, dword [eax*4 + 0x4718e4]
add eax, dword [esp + 0xc]
jmp eax
movzx edx, word [edi + 0xc]
movzx eax, dx
mov eax, dword [eax*4 + 0x4718e4]
add eax, dword [esp + 0xc]
jmp eax
lea ecx, [esp + 0xa0]
call fcn.00462af0
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x168]
mov eax, dword [esi + 0x18]
push dword [esi + 0x14]
push ecx
call dword [eax + 0xc]
add esp, 8
mov ebx, dword [esp + 0x1a8]
cmp ebx, 0x41
jae 0x4718e1
mov eax, dword [ebp + 0xc]
mov edi, dword [esi + 0x40]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x10], ecx
push edi
call dword [eax + 0x14]
add esp, 4
rol ax, 8
mov byte [esp + 6], 0x10
mov byte [esp + 7], bl
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], eax
lea eax, [esp + 6]
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], eax
lea eax, [esp + 7]
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x735090
mov dword [esp + 0x3c], 6
mov dword [esp + 0x40], 0x734fa9
mov dword [esp + 0x44], 0xa
mov dword [esp + 0x48], eax
lea eax, [esp + 0x168]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x54], ebx
push 6
push eax
push edi
lea edi, [esp + 0xac]
push edi
call dword [esp + 0x20]
add esp, 0x10
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0xc]
push edi
push dword [eax + 8]
call dword [ecx + 0x18]
add esp, 8
mov edi, dword [edx + 0x10]
mov esi, eax
mov ebx, edx
push eax
call dword [edx + 0x14]
add esp, 4
rol ax, 8
mov byte [esp + 6], 0x10
mov word [esp + 0x6c], ax
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], eax
lea eax, [esp + 6]
mov dword [esp + 0x2c], 2
mov dword [esp + 0x30], eax
lea eax, [esp + 7]
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], 0x735090
mov dword [esp + 0x3c], 6
mov dword [esp + 0x40], 0x73507e
mov dword [esp + 0x44], 0xa
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], eax
mov eax, dword [esp + 8]
mov byte [esp + 7], al
mov dword [esp + 0x54], eax
lea eax, [esp + 0x124]
push 6
lea ecx, [esp + 0x2c]
push ecx
push esi
push eax
call edi
add esp, 0x10
mov eax, dword [ebx]
test eax, eax
je 0x471338
push esi
call eax
add esp, 4
cmp dword [ebx + 4], 0
mov edi, dword [esp + 0x14]
je 0x47135a
cmp dword [ebx + 8], 9
jb 0x47134b
mov esi, dword [esi - 4]
push esi
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0xa0]
call fcn.0043ad30
mov eax, dword [edi + 0x30]
mov ecx, dword [eax + 0x94]
mov eax, dword [eax + 0x98]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [ecx + edx + 8]
lea edx, [esp + 0x90]
push ecx
push edx
call dword [eax + 0x18]
add esp, 8
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
mov byte [esp + 0xa0], 0xe
test eax, eax
je 0x471577
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0xa0]
call fcn.0043da20
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
lock inc dword [eax]
jle 0x4718e1
mov ecx, dword [esp + 0x164]
mov esi, dword [ebp + 8]
cmp ecx, 0x41
mov dword [esp + 0x20], ecx
jae 0x4718e1
xor edi, edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x10], 4
mov dword [esp + 0x84], ebx
cmp edi, dword [esi + 0x220]
jo 0x471587
mov eax, dword [esi + 0x228]
mov ecx, 0xc
mov dword [esp + 0x1c], eax
mul ecx
jo 0x4718e1
cmp eax, 0x7ffffffd
jae 0x4718e1
test eax, eax
je 0x471587
mov ebx, dword [esi + 0x224]
movzx ecx, byte [0x77618d]
mov edx, eax
xor edi, edi
mov dword [esp + 0x24], eax
xor ecx, ecx
call fcn.00490be0
test eax, eax
je 0x4718e1
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
test edx, edx
je 0x471587
xor edi, edi
jmp 0x471506
mov dword [esp + 8], eax
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 8]
dec edx
add ebx, 0xc
mov dword [eax + edi + 4], ecx
mov dword [eax + edi + 8], esi
add edi, 0xc
test edx, edx
je 0x471583
cmp dword [esp + 0x24], edi
je 0x471583
xor ecx, ecx
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [esp + 0xc], edx
cmp ecx, dword [ebx]
mov ecx, 0x80000000
jo 0x4714e0
test esi, esi
js 0x4718e1
mov edx, esi
mov esi, eax
je 0x471552
movzx eax, byte [0x77618d]
mov dword [esp + 8], edx
xor ecx, ecx
mov edx, dword [esp + 8]
call fcn.00490be0
mov edx, dword [esp + 8]
test eax, eax
jne 0x471557
jmp 0x4718e1
mov eax, 1
mov dword [esp + 8], eax
push edx
push esi
push eax
mov esi, edx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ecx, esi
jmp 0x4714ec
mov eax, dword [esp + 0x18]
mov byte [eax], 0xe
jmp 0x4718a0
mov edi, dword [esp + 0x1c]
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x20]
mov dword [esp + 0xc], edi
xor edi, edi
mov ecx, dword [eax + 0x1c]
mov ebx, dword [eax + 0x20]
mov eax, dword [esp + 0x68]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
shl eax, 4
nop dword [eax]
test eax, eax
je 0x4715c9
cmp dword [ecx], 0x80000001
je 0x4715e8
add eax, 0xfffffff0
cmp word [ecx + 0xc], 0x17
lea ecx, [ecx + 0x10]
jne 0x4715b0
test esi, esi
je 0x4715ef
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, esi
call fcn.00490be0
mov ecx, eax
test eax, eax
jne 0x4715f4
jmp 0x4718e1
mov edi, dword [ecx + 4]
test esi, esi
jne 0x4715cd
mov ecx, 1
mov dword [esp + 0x24], ebx
push esi
lea eax, [esp + 0x128]
push eax
mov dword [esp + 0x28], ecx
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, 0x14
call fcn.00490be0
test eax, eax
je 0x4718e1
mov edx, dword [esp + 8]
mov ecx, 0x93a80
mov ebx, dword [esp + 0xc]
mov dword [eax], 1
mov dword [eax + 4], 1
cmp edx, 0x93a80
mov dword [eax + 8], ebx
cmovb ecx, edx
mov edx, dword [esp + 0x10]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x88]
mov dword [eax + 0x10], ebx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 8]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 1
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x14]
cmp byte [edx + 0x24c], 1
jne 0x471763
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
shl esi, 4
test esi, esi
je 0x471708
cmp dword [eax], 0x80000001
je 0x4716fb
add esi, 0xfffffff0
cmp word [eax + 0xc], 0x17
lea eax, [eax + 0x10]
jne 0x4716e0
jmp 0x471708
mov eax, dword [eax + 4]
inc eax
cmp eax, 1
ja 0x4718b4
xor eax, eax
cmp eax, dword [edx + 0xc0]
jo 0x471763
mov esi, dword [edx + 0xc8]
test esi, esi
js 0x4718e1
mov ebx, dword [edx + 0xc4]
je 0x471743
movzx eax, byte [0x77618d]
xor ecx, ecx
mov edx, esi
call fcn.00490be0
mov edi, eax
test eax, eax
jne 0x471748
jmp 0x4718e1
mov edi, 1
push esi
push ebx
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
mov esi, dword [ecx + 0x38]
mov edi, dword [ecx + 0x34]
cmp byte [ecx + 0x1c], 0
mov ebx, dword [esi + 8]
je 0x471798
movzx eax, byte [ecx + 0x2d]
movsd xmm0, qword [ecx + 0x1d]
movsd xmm1, qword [ecx + 0x25]
mov cl, 1
lea edx, [esp + 0x6c]
mov byte [esp + 0x7d], al
movsd qword [esp + 0x75], xmm1
movsd qword [esp + 0x6d], xmm0
jmp 0x471814
xor eax, eax
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], esi
cmp eax, dword [ecx + 0x20]
jno 0x4717b4
mov edi, dword [ecx + 0x24]
mov eax, dword [ecx + 0x28]
mov esi, 0x80000000
jmp 0x4717fa
mov esi, dword [ecx + 0x28]
test esi, esi
js 0x4718e1
mov eax, dword [ecx + 0x24]
je 0x4717e8
mov dword [esp + 8], eax
xor ecx, ecx
mov edx, esi
movzx eax, byte [0x77618d]
call fcn.00490be0
test eax, eax
je 0x4718e1
mov edi, eax
mov eax, dword [esp + 8]
jmp 0x4717ed
mov edi, 1
push esi
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], edi
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x6c]
xor ecx, ecx
mov dword [esp + 0x78], eax
movsd xmm2, qword [esp + 0x50]
movsd xmm1, qword [esp + 0x48]
movsd xmm0, qword [esp + 0x58]
dec ebx
mov byte [esp + 0x6c], cl
lea ecx, [esp + 0xa0]
and ebx, 0xfffffff8
lea eax, [edi + ebx + 8]
movsd qword [esp + 0xc8], xmm2
movsd qword [esp + 0xc0], xmm1
movsd xmm2, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x38]
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xb8], xmm2
movsd qword [esp + 0xb0], xmm1
movsd xmm2, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
movsd qword [esp + 0xa8], xmm1
movsd qword [esp + 0xa0], xmm2
push ecx
push edx
push eax
call dword [esi + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x18]
mov byte [eax], 0x16
lea ecx, [esp + 0x124]
call fcn.0043ad30
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x28]
mov word [eax], 0x1909
call fcn.00459cc0
cmp dword [esp + 0x48], 0
je 0x4718a0
push dword [esp + 0x4c]
push 0
push dword [0x776180]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4718a0
ud2