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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x5b8
xor esi, esi
cmp byte [edx + 0x45], 0
mov ebx, ecx
mov edi, 2
je 0x4b7b88
movzx ecx, byte [edx + 0x49]
mov eax, 1
cmp cl, 2
cmovne eax, ecx
cmp dword [edx + 8], 0
je 0x4b775c
mov ecx, dword [edx + 0xc]
jmp 0x4b7761
mov ecx, 0x200000
movaps xmm0, xmmword [0x539660]
mov esi, esp
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
mov byte [esp + 0x9c], 2
mov word [esp + 0xa0], 0
mov dword [esp + 0x78], 1
mov dword [esp + 0x7c], ecx
mov dword [esp], 0
mov dword [esp + 4], 4
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 4
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 4
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], 0
mov ecx, esi
movups xmmword [esp + 0x80], xmm0
mov byte [esp + 0xa2], al
mov word [esp + 0xa3], 1
mov byte [esp + 0xa5], 0
call fcn.00472a30
lea edi, [esp + 0x188]
mov ecx, 0x14
lea edx, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x158], 0
mov dword [esp + 0x154], 0
mov word [esp + 0x15c], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd8], 2
mov dword [esp + 0xe0], 2
mov byte [esp + 0xf4], 3
mov dword [esp + 0xf8], 0x2020202
mov word [esp + 0xfc], 0x202
mov dword [esp + 0x100], 2
mov byte [esp + 0x108], 0
mov dword [esp + 0x10a], 0x3020202
mov byte [esp + 0x110], 1
mov dword [esp + 0x111], 0x2020202
mov word [esp + 0x115], 0x202
mov byte [esp + 0x117], 0xa
mov dword [esp + 0x118], 0xfa
mov word [esp + 0x11c], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x12c], 0
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 4
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 4
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 4
mov byte [esp + 0x15e], 0xa
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 4
mov dword [esp + 0x16c], 0
mov dword [esp + 0x170], 0x2710
mov word [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x17c], 4
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 0
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 4
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0x3e8
mov word [esp + 0x1ec], 0
call fcn.00484220
mov eax, dword [ebp + 8]
lock inc dword [eax]
jle 0x4b7bae
lea edi, [esp + 0x100]
lea ecx, [esp + 0x328]
lea edx, [esp + 0xa8]
push eax
call fcn.0047ffe0
add esp, 4
movzx eax, byte [esp + 0xf4]
cmp al, 3
je 0x4b7ad1
cmp al, 2
je 0x4b7ad1
mov eax, dword [esp + 0xe8]
lock dec dword [eax]
jne 0x4b7ad1
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0xec]
call fcn.00446480
mov ecx, edi
call fcn.0047da40
mov edi, dword [esp + 0x328]
mov esi, dword [esp + 0x32c]
mov eax, edi
xor eax, 2
or eax, esi
jne 0x4b7b31
mov ecx, dword [esp + 0x330]
cmp ecx, 0x29
ja 0x4b7b81
mov eax, dword [esp + 0x338]
lea esi, [ecx - 0x23]
xor edx, edx
lea edi, [ecx - 0x22]
cmp esi, 7
cmovb edx, edi
test edx, edx
je 0x4b7b50
cmp edx, 1
jne 0x4b7b81
cmp eax, 0x80000004
jl 0x4b7b81
test eax, eax
je 0x4b7b81
mov eax, dword [esp + 0x33c]
jmp 0x4b7b72
lea eax, [esp + 0x330]
push 0x280
push eax
lea eax, [esp + 0xb0]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x4b7b88
cmp ecx, 0x22
jne 0x4b7b61
cmp dword [esp + 0x334], 0
jne 0x4b7b72
jmp 0x4b7b81
cmp dword [esp + 0x34c], 0
je 0x4b7b81
mov eax, dword [esp + 0x350]
push eax
push 0
push dword [0x5a1188]
call dword [sym.imp.kernel32.dll_HeapFree]
xor esi, esi
mov edi, 2
mov dword [ebx], edi
mov dword [ebx + 4], esi
add ebx, 8
lea eax, [esp + 0xa8]
push 0x280
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2