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

Disassembly:
sub esp, 0x54
push ebx
push ebp
mov ebp, dword [esp + 0x60]
xor bl, bl
push ebp
mov byte [esp + 0xf], bl
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x40], eax
call fcn.00460540
mov dword [esp + 0x44], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], eax
call fcn.00461cb0
mov dword [esp + 0x60], eax
add esp, 8
mov al, byte [esp + 0x64]
mov byte [esp + 0x54], al
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4a51cf
push esi
push edi
nop word [eax + eax]
mov ebx, dword [eax + 0x10]
xor edi, edi
mov byte [esp + 0x6c], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], ebx
mov eax, dword [ebx]
test eax, eax
je 0x4a4f81
test ebx, ebx
je 0x4a4f81
cmp dword [ebx + 0xc], 8
jne 0x4a4f8d
mov edi, ebx
mov dword [esp + 0x14], edi
mov eax, dword [edi]
cmp dword [eax], 0
je 0x4a4f8d
test eax, eax
je 0x4a4f8d
cmp dword [eax + 0xc], 8
jne 0x4a4f8d
mov edi, eax
mov dword [esp + 0x14], eax
jmp 0x4a4f68
mov dword [esp + 0x14], edi
test eax, eax
je 0x4a51a0
test ebx, ebx
je 0x4a51a0
cmp dword [ebx + 0xc], 8
jne 0x4a51a0
mov esi, dword [ebx]
cmp dword [esi], 0
mov dword [esp + 0x18], esi
je 0x4a4fb4
test esi, esi
je 0x4a4fb4
cmp dword [esi + 0xc], 8
je 0x4a4fc0
xor esi, esi
mov dword [esp + 0x18], esi
nop word [eax + eax]
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.004a5280
add esp, 8
test al, al
je 0x4a5196
movzx eax, byte [ebx + 0x38]
movzx ebp, byte [ebx + 0x39]
push eax
mov dword [esp + 0x2c], ebp
call fcn.00409d40
push eax
push dword [esp + 0x4c]
call fcn.00407120
mov esi, eax
movzx eax, byte [ebx + 0x38]
push ebp
push eax
mov dword [esp + 0x40], esi
lea ecx, [esi + 0x24]
push ecx
push esi
mov dword [esp + 0x4c], ecx
call fcn.00407ec0
add esp, 0x1c
mov dword [esp + 0x6c], 0
cmp byte [ebx + 0x38], 0
jbe 0x4a5140
lea edi, [esi + 0x38]
mov dword [esp + 0x1c], edi
nop dword [eax + eax]
push dword [esp + 0x44]
call fcn.00409e10
mov ebp, eax
movzx eax, byte [ebx + 0x39]
push eax
push 1
lea esi, [ebp + 0x28]
push esi
push ebp
call fcn.00407ec0
xorps xmm0, xmm0
add esp, 0x14
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x40], esi
movups xmm0, xmmword [esp + 0x34]
movups xmmword [edi], xmm0
mov esi, dword [ebx + 0x18]
cmp dword [esi], 0
je 0x4a5110
test esi, esi
je 0x4a5110
nop word [eax + eax]
push 0x159
push dword [esp + 0x48]
call fcn.00407120
push dword [esp + 0x30]
mov edi, eax
push 1
lea ebx, [edi + 0x24]
push ebx
push edi
call fcn.00407ec0
mov eax, dword [esi + 0x18]
xorps xmm0, xmm0
movups xmmword [esp + 0x4c], xmm0
mov dword [esp + 0x58], eax
add esp, 0x18
movups xmm0, xmmword [esp + 0x34]
mov eax, dword [esp + 0x6c]
movups xmmword [edi + 0x38], xmm0
mov byte [edi + 0x48], al
mov ecx, dword [esi + 8]
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x4a50e0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4a50e0
cmp dword [eax + 0xc], 6
jne 0x4a50e0
push edi
push eax
push 2
jmp 0x4a50e4
push edi
push ecx
push 1
call fcn.004094a0
add esp, 0xc
push ebx
push dword [esi + 8]
push ebp
call fcn.00409db0
mov esi, dword [esi]
add esp, 0xc
cmp dword [esi], 0
je 0x4a5108
test esi, esi
jne 0x4a5080
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push ebp
push ebx
push 2
call fcn.004094a0
mov ecx, dword [esp + 0x78]
add edi, 0x20
movzx eax, byte [ebx + 0x38]
inc ecx
add esp, 0xc
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x1c], edi
cmp ecx, eax
jb 0x4a5030
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
push esi
push edi
push 3
call fcn.004094a0
push dword [esp + 0x3c]
lea esi, [ebx + 0x28]
push esi
call fcn.00407f10
push dword [esi]
call fcn.00409630
lea eax, [esp + 0x6c]
add esp, 0x18
mov dword [ebx], eax
mov eax, dword [esp + 0x58]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [eax], ebx
mov al, 1
mov dword [esp + 0x58], ebx
mov byte [esp + 0x6c], al
cmp ebx, edi
je 0x4a51ab
mov esi, dword [esp + 0x18]
mov ebx, esi
mov dword [esp + 0x20], ebx
test esi, esi
je 0x4a519c
mov esi, dword [esi]
jmp 0x4a4fa1
mov al, byte [esp + 0x6c]
jmp 0x4a5185
test al, al
jne 0x4a51ab
cmp byte [esp + 0x13], 0
jne 0x4a51ab
xor bl, bl
jmp 0x4a51ad
mov bl, 1
push dword [esp + 0x24]
mov byte [esp + 0x17], bl
call fcn.004073c0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4a4f40
mov ebp, dword [esp + 0x68]
pop edi
pop esi
push 3
push ebp
call fcn.0040bea0
lea eax, [esp + 0x4c]
push eax
call fcn.004093f0
push dword [esp + 0x64]
call fcn.004604e0
add esp, 0x10
mov al, bl
pop ebp
pop ebx
add esp, 0x54
ret