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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1dc
call 0x47f2af
pop eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1f0]
mov eax, dword [eax + 8]
test eax, eax
mov dword [esp + 0x1c], eax
je 0x47f367
mov eax, dword [esp + 0x1f0]
mov edi, 4
mov ebp, dword [eax + 4]
lea eax, [esp + 0xd8]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], ebp
shl eax, 4
jmp 0x47f308
add ebp, 0x10
add eax, 0xfffffff0
je 0x47f367
mov ebx, dword [ebp]
lea esi, [ebx + 0x7fffffff]
cmp esi, 4
cmovae esi, edi
cmp esi, 3
jb 0x47f300
cmp esi, 4
jne 0x47f328
cmp word [ebp + 0xc], 0x26
jne 0x47f300
cmp ebx, 0x80000004
jne 0x47f367
cmp dword [ebp + 0xc], 8
jne 0x47f377
mov esi, dword [edx + 8]
test esi, esi
js 0x47fc27
mov ebx, dword [edx + 4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x14], edx
je 0x47f3c9
movzx eax, byte [0xfd520d]
xor ecx, ecx
mov edx, esi
call fcn.00494530
test eax, eax
jne 0x47f3ce
jmp 0x47fc27
mov word [ecx], 0x16
add esp, 0x1dc
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [esp + 0x1f8]
xor eax, eax
mov word [esp + 0x14c], 4
mov dword [esp + 0xd0], 0x80000001
mov esi, ecx
mov dword [esp + 0xd4], 0x100001
lea edx, [esp + 0xd0]
cmp byte [edi + 0x31], 2
mov ecx, edi
sete al
push eax
call fcn.00452600
add esp, 4
mov byte [edi + 0x249], 1
mov word [esi], 0x1409
jmp 0x47f36c
mov eax, 1
push esi
push ebx
push eax
mov ebx, eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xc]
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x1f4]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0xc]
mov dword [esp], ecx
push ecx
mov dword [esp + 0xc], eax
call eax
add esp, 4
mov edi, edx
push esi
mov dword [esp + 0x10], ebx
push ebx
mov dword [esp + 0xc], eax
push eax
call dword [edx + 0x18]
add esp, 0xc
cmp byte [esp + 0x40], 0
je 0x47f449
mov ecx, dword [esp]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov ebx, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x2c], esi
jmp 0x47f4a0
mov ecx, dword [esp]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test esi, esi
mov ebx, edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov edx, dword [esp + 4]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24], 0x80000000
je 0x47f4a0
push eax
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x3c]
mov edx, dword [eax + 0xc]
mov dword [esp + 4], esi
push ecx
call edx
add esp, 4
mov esi, edx
lea edi, [esp + 0x150]
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov dword [esp + 0x3c], edx
push dword [esp + 4]
push edi
call dword [ebx + 0x14]
add esp, 8
mov ebx, dword [esp + 0x190]
cmp ebx, 0x41
jae 0x47fc27
test ebx, ebx
mov dword [esp + 4], esi
je 0x47f4f8
movzx eax, byte [0xfd520d]
xor ecx, ecx
mov edx, ebx
call fcn.00494530
mov esi, eax
test eax, eax
jne 0x47f4fd
jmp 0x47fc27
mov esi, 1
push ebx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0x13c], 0x13
mov dword [esp + 0xd0], 0x80000014
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], esi
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 1
mov dword [esp + 0xdc], ebx
mov dword [esp + 0x68], 0
sub esp, 4
lea ecx, [esp + 0xd4]
lea edx, [esp + 0x64]
push 0x80000000
call fcn.004512d0
add esp, 8
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x68]
push edi
push ebx
push dword [esp + 8]
mov eax, dword [esp + 0x10]
call dword [eax + 0x18]
add esp, 0xc
mov eax, dword [esp + 0x24]
mov ecx, eax
neg ecx
jo 0x47f5b6
mov dword [esp + 4], esi
mov esi, dword [esp + 0x2c]
sub eax, esi
cmp eax, edi
jb 0x47fc0b
mov eax, dword [esp + 0x28]
add eax, esi
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
add esi, edi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 4]
test esi, esi
je 0x47f5c9
push ebx
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0xd0]
call fcn.00451a10
mov esi, dword [esp + 0x1c]
cmp esi, 0xfffffff
ja 0x47fc27
mov ebx, esi
shl ebx, 4
cmp ebx, 0x7ffffffd
jae 0x47fc27
mov eax, dword [esp + 0x1f0]
xor ecx, ecx
mov edx, ebx
xor edi, edi
movsd xmm0, qword [eax + 0xc]
movups xmmword [esp + 0x1cc], xmm0
movzx eax, byte [0xfd520d]
call fcn.00494530
test eax, eax
mov dword [esp + 0x18], eax
je 0x47fc27
mov eax, esi
mov dword [esp + 0x40], ebx
jmp 0x47f687
cmp ebx, edi
je 0x47f7f2
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov ebx, 4
mov eax, dword [edx + edi]
lea ecx, [eax + 0x7fffffff]
cmp ecx, 4
cmovae ecx, ebx
mov ecx, dword [ecx*4 + 0x47fc2c]
add ecx, dword [esp + 0x20]
jmp ecx
mov ecx, dword [esp + 0x1f0]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x54], 0
movsd xmm1, qword [ecx + 0x24]
mov eax, dword [ecx + 0x34]
movsd xmm0, qword [ecx + 0x2c]
movsd xmm2, qword [ecx + 0x14]
movsd qword [esp + 0x88], xmm1
movsd xmm1, qword [ecx + 0x1c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x90], xmm0
movsd qword [esp + 0x78], xmm2
movsd qword [esp + 0x80], xmm1
movups xmm1, xmmword [esp + 0x1cc]
mov byte [esp + 0xcc], 6
mov dword [esp + 0x60], 0x80000003
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
movlps qword [esp + 0x70], xmm1
sub esp, 4
lea esi, [esp + 0x64]
lea edx, [esp + 0x50]
mov ecx, esi
push 0x80000001
call fcn.004512d0
add esp, 8
mov eax, dword [esp + 0x54]
movsd xmm0, qword [esp + 0x4c]
lea ebx, [esp + 0xd0]
lea edi, [esp + 0x15c]
mov ecx, 0x1c
mov edx, ebx
mov dword [esp + 0x158], eax
movsd qword [esp + 0x150], xmm0
rep movsd dword es:[edi], dword [esi]
mov word [esp + 0x14c], 5
lea esi, [esp + 0x150]
mov ecx, 0x1f
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x24]
call fcn.00466480
mov esi, dword [esp + 0xd0]
mov eax, 1
lea ecx, [esi + 0x7fffffff]
cmp ecx, 5
cmovb eax, ecx
cmp eax, 3
ja 0x47fbf1
mov ecx, dword [esp + 0x20]
add ecx, dword [eax*4 + 0x47fc40]
mov eax, dword [esp + 0x14]
jmp ecx
mov eax, dword [esp + 0x48]
push dword [eax]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1f4]
add eax, 0x6c
mov edi, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov ecx, dword [esp + 0x3c]
push dword [esp + 0x38]
push ebx
mov ebx, eax
call dword [ecx + 0xc]
sub esp, 0xc
mov dword [esp + 0xc], ebx
mov dword [esp], edi
mov dword [esp + 0x10], 0x20
mov dword [esp + 4], 0
call dword [esi + 0x10]
add esp, 0x14
mov ecx, dword [esp + 0x110]
cmp ecx, 0x41
jae 0x47fc27
mov esi, eax
mov eax, dword [edx + 0xc]
mov edi, edx
lea edx, [esp + 0x4c]
lea ebx, [esp + 0xd0]
mov word [esp + 0x4c], 0x800
mov byte [esp + 0x12], 0x21
mov byte [esp + 0x13], cl
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x150], edx
lea edx, [esp + 0x12]
mov dword [esp + 0x154], 2
mov dword [esp + 0x158], edx
lea edx, [esp + 0x13]
mov dword [esp + 0x15c], 1
mov dword [esp + 0x160], 0xf93e38
mov dword [esp + 0x164], 6
mov dword [esp + 0x168], 0xf93d62
mov dword [esp + 0x16c], 0x1b
mov dword [esp + 0x170], edx
mov dword [esp + 0x174], 1
mov dword [esp + 0x178], ebx
mov dword [esp + 0x17c], ecx
push 8
lea ecx, [esp + 0x64]
push ecx
push 6
lea ecx, [esp + 0x15c]
push ecx
push esi
call eax
add esp, 0x14
test al, al
jne 0x47fc27
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov eax, ecx
mov dword [esp + 4], ecx
shr eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, ebx
shr eax, 0x10
mov dword [esp + 8], eax
mov eax, ecx
shr eax, 0x18
mov dword [esp + 0x20], eax
mov eax, ebx
shr eax, 0x18
mov dword [esp], eax
mov eax, dword [edi]
test eax, eax
je 0x47faae
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x47facc
cmp dword [edi + 8], 9
jb 0x47fabd
mov esi, dword [esi - 4]
push esi
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebp + 8]
xor ecx, ecx
cmp byte [esi], bl
sete cl
call fcn.00456bc0
mov edx, ebx
xor ecx, ecx
mov ebx, eax
cmp byte [esi + 1], dh
sete cl
call fcn.00456bc0
mov bh, al
mov eax, dword [esp + 8]
xor ecx, ecx
and bh, bl
cmp byte [esi + 2], al
sete cl
call fcn.00456bc0
mov bl, al
mov eax, dword [esp]
xor ecx, ecx
cmp byte [esi + 3], al
sete cl
call fcn.00456bc0
and al, bl
xor ecx, ecx
and al, bh
mov ebx, dword [esp + 4]
mov byte [esp], al
cmp byte [esi + 4], bl
sete cl
call fcn.00456bc0
xor ecx, ecx
cmp byte [esi + 5], bh
mov byte [esp + 8], al
sete cl
call fcn.00456bc0
mov bh, al
mov eax, dword [esp + 0x1c]
xor ecx, ecx
and bh, byte [esp + 8]
cmp byte [esi + 6], al
sete cl
call fcn.00456bc0
mov bl, al
mov eax, dword [esp + 0x20]
xor ecx, ecx
and bl, bh
and bl, byte [esp]
cmp byte [esi + 7], al
sete cl
call fcn.00456bc0
and al, bl
and al, 1
movzx ecx, al
call fcn.00456bc0
test al, al
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
setne byte [eax + 1]
mov byte [eax], 0x16
mov eax, dword [edi]
test eax, eax
je 0x47fb98
push esi
call eax
add esp, 4
cmp dword [edi + 4], 0
je 0x47fbb6
cmp dword [edi + 8], 9
jb 0x47fba7
mov esi, dword [esi - 4]
push esi
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
test dword [esp + 0x24], 0x7fffffff
je 0x47f36c
push dword [esp + 0x28]
push 0
push dword [0xfd5200]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x47f36c
test dword [esp + 0xd4], 0x7fffffff
mov eax, dword [esp + 0x14]
je 0x47f95c
jmp 0x47f944
lea ecx, [esp + 0x24]
mov edx, esi
push 1
push 1
push edi
call fcn.004e8d40
add esp, 0xc
mov esi, dword [esp + 0x2c]
jmp 0x47f59b
ud2