Function at 0x4a4f80
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.00460620
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.00461da0
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 0x4a527f
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 0x4a5031
test ebx, ebx
je 0x4a5031
cmp dword [ebx + 0xc], 8
jne 0x4a503d
mov edi, ebx
mov dword [esp + 0x14], edi
mov eax, dword [edi]
cmp dword [eax], 0
je 0x4a503d
test eax, eax
je 0x4a503d
cmp dword [eax + 0xc], 8
jne 0x4a503d
mov edi, eax
mov dword [esp + 0x14], eax
jmp 0x4a5018
mov dword [esp + 0x14], edi
test eax, eax
je 0x4a5250
test ebx, ebx
je 0x4a5250
cmp dword [ebx + 0xc], 8
jne 0x4a5250
mov esi, dword [ebx]
cmp dword [esi], 0
mov dword [esp + 0x18], esi
je 0x4a5064
test esi, esi
je 0x4a5064
cmp dword [esi + 0xc], 8
je 0x4a5070
xor esi, esi
mov dword [esp + 0x18], esi
nop word [eax + eax]
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.004a5330
add esp, 8
test al, al
je 0x4a5246
movzx eax, byte [ebx + 0x38]
movzx ebp, byte [ebx + 0x39]
push eax
mov dword [esp + 0x2c], ebp
call fcn.00409d60
push eax
push dword [esp + 0x4c]
call fcn.00407140
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.00407ee0
add esp, 0x1c
mov dword [esp + 0x6c], 0
cmp byte [ebx + 0x38], 0
jbe 0x4a51f0
lea edi, [esi + 0x38]
mov dword [esp + 0x1c], edi
nop dword [eax + eax]
push dword [esp + 0x44]
call fcn.00409e30
mov ebp, eax
movzx eax, byte [ebx + 0x39]
push eax
push 1
lea esi, [ebp + 0x28]
push esi
push ebp
call fcn.00407ee0
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 0x4a51c0
test esi, esi
je 0x4a51c0
nop word [eax + eax]
push 0x159
push dword [esp + 0x48]
call fcn.00407140
push dword [esp + 0x30]
mov edi, eax
push 1
lea ebx, [edi + 0x24]
push ebx
push edi
call fcn.00407ee0
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 0x4a5190
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4a5190
cmp dword [eax + 0xc], 6
jne 0x4a5190
push edi
push eax
push 2
jmp 0x4a5194
push edi
push ecx
push 1
call fcn.004094c0
add esp, 0xc
push ebx
push dword [esi + 8]
push ebp
call fcn.00409dd0
mov esi, dword [esi]
add esp, 0xc
cmp dword [esi], 0
je 0x4a51b8
test esi, esi
jne 0x4a5130
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push ebp
push ebx
push 2
call fcn.004094c0
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 0x4a50e0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
push esi
push edi
push 3
call fcn.004094c0
push dword [esp + 0x3c]
lea esi, [ebx + 0x28]
push esi
call fcn.00407f30
push dword [esi]
call fcn.00409650
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 0x4a525b
mov esi, dword [esp + 0x18]
mov ebx, esi
mov dword [esp + 0x20], ebx
test esi, esi
je 0x4a524c
mov esi, dword [esi]
jmp 0x4a5051
mov al, byte [esp + 0x6c]
jmp 0x4a5235
test al, al
jne 0x4a525b
cmp byte [esp + 0x13], 0
jne 0x4a525b
xor bl, bl
jmp 0x4a525d
mov bl, 1
push dword [esp + 0x24]
mov byte [esp + 0x17], bl
call fcn.004073e0
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4a4ff0
mov ebp, dword [esp + 0x68]
pop edi
pop esi
push 3
push ebp
call fcn.0040bec0
lea eax, [esp + 0x4c]
push eax
call fcn.00409410
push dword [esp + 0x64]
call fcn.004605c0
add esp, 0x10
mov al, bl
pop ebp
pop ebx
add esp, 0x54
ret