Function at 0x4a4ff0
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.004606a0
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.00461e10
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 0x4a52ef
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 0x4a50a1
test ebx, ebx
je 0x4a50a1
cmp dword [ebx + 0xc], 8
jne 0x4a50ad
mov edi, ebx
mov dword [esp + 0x14], edi
mov eax, dword [edi]
cmp dword [eax], 0
je 0x4a50ad
test eax, eax
je 0x4a50ad
cmp dword [eax + 0xc], 8
jne 0x4a50ad
mov edi, eax
mov dword [esp + 0x14], eax
jmp 0x4a5088
mov dword [esp + 0x14], edi
test eax, eax
je 0x4a52c0
test ebx, ebx
je 0x4a52c0
cmp dword [ebx + 0xc], 8
jne 0x4a52c0
mov esi, dword [ebx]
cmp dword [esi], 0
mov dword [esp + 0x18], esi
je 0x4a50d4
test esi, esi
je 0x4a50d4
cmp dword [esi + 0xc], 8
je 0x4a50e0
xor esi, esi
mov dword [esp + 0x18], esi
nop word [eax + eax]
lea eax, [esp + 0x44]
push eax
push ebx
call fcn.004a53a0
add esp, 8
test al, al
je 0x4a52b6
movzx eax, byte [ebx + 0x38]
movzx ebp, byte [ebx + 0x39]
push eax
mov dword [esp + 0x2c], ebp
call fcn.00409dd0
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.00407f50
add esp, 0x1c
mov dword [esp + 0x6c], 0
cmp byte [ebx + 0x38], 0
jbe 0x4a5260
lea edi, [esi + 0x38]
mov dword [esp + 0x1c], edi
nop dword [eax + eax]
push dword [esp + 0x44]
call fcn.00409ea0
mov ebp, eax
movzx eax, byte [ebx + 0x39]
push eax
push 1
lea esi, [ebp + 0x28]
push esi
push ebp
call fcn.00407f50
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 0x4a5230
test esi, esi
je 0x4a5230
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.00407f50
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 0x4a5200
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x4a5200
cmp dword [eax + 0xc], 6
jne 0x4a5200
push edi
push eax
push 2
jmp 0x4a5204
push edi
push ecx
push 1
call fcn.00409530
add esp, 0xc
push ebx
push dword [esi + 8]
push ebp
call fcn.00409e40
mov esi, dword [esi]
add esp, 0xc
cmp dword [esi], 0
je 0x4a5228
test esi, esi
jne 0x4a51a0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
push ebp
push ebx
push 2
call fcn.00409530
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 0x4a5150
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
push esi
push edi
push 3
call fcn.00409530
push dword [esp + 0x3c]
lea esi, [ebx + 0x28]
push esi
call fcn.00407fa0
push dword [esi]
call fcn.004096c0
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 0x4a52cb
mov esi, dword [esp + 0x18]
mov ebx, esi
mov dword [esp + 0x20], ebx
test esi, esi
je 0x4a52bc
mov esi, dword [esi]
jmp 0x4a50c1
mov al, byte [esp + 0x6c]
jmp 0x4a52a5
test al, al
jne 0x4a52cb
cmp byte [esp + 0x13], 0
jne 0x4a52cb
xor bl, bl
jmp 0x4a52cd
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 0x4a5060
mov ebp, dword [esp + 0x68]
pop edi
pop esi
push 3
push ebp
call fcn.0040bf40
lea eax, [esp + 0x4c]
push eax
call fcn.00409480
push dword [esp + 0x64]
call fcn.00460640
add esp, 0x10
mov al, bl
pop ebp
pop ebx
add esp, 0x54
ret