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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xe4
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x70], edx
mov ecx, 4
mov dword [esp + 0x3c], ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x6c], eax
mov eax, dword [ebx + 0x58]
mov dword [esp + 0x70], eax
xor eax, eax
test edx, edx
mov dword [esp + 0x78], esi
push edi
sete al
sub ecx, eax
xor eax, eax
test esi, esi
sete al
sub ecx, eax
mov dword [esp + 0x38], ecx
lea esp, [esp]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x78]
push eax
push ecx
call fcn.004d8c20
add esp, 0x10
test eax, eax
jne 0x4a51c7
push dword [ebx + 0x24]
lea ecx, [esp + 0x94]
call fcn.004b0900
mov esi, dword [ebx + 0x24]
lea ecx, [esp + 0xb0]
push esi
call fcn.004b0900
mov edi, dword [esi + 8]
lea ecx, [esp + 0xb0]
mov esi, dword [esi + 0xc]
call fcn.004b09b0
test edi, edi
jne 0x4a4e50
test esi, esi
je 0x4a51b2
jmp 0x4a4e50
push dword [ebx + 0x24]
lea ecx, [esp + 0xd4]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], esi
call fcn.004b0900
push 0
sub esp, 8
lea ecx, [esp + 0x6c]
mov eax, esp
mov dword [eax], edi
mov dword [eax + 4], esi
call fcn.004adda0
mov edi, dword [esp + 0x60]
mov eax, dword [edi + 0x18]
mov ebx, dword [edi + 0x20]
mov esi, dword [edi + 0x24]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x1c]
mov dword [esp + 0x40], eax
test ebx, ebx
jne 0x4a4ebc
test esi, esi
jne 0x4a4ebc
xorps xmm0, xmm0
mov dword [esp + 0x10], esi
movlpd qword [esp + 0x88], xmm0
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
jmp 0x4a4edf
push esi
push ebx
call fcn.004df360
push esi
push ebx
call fcn.004df360
push esi
push ebx
mov dword [esp + 0x18], eax
call fcn.004df380
push dword [esp + 0x10]
call dword [0x100d328c]
cmp dword [esp + 0x68], 0
jne 0x4a4ef1
cmp dword [esp + 0x6c], 0
je 0x4a4f73
push edi
call dword [0x100d3288]
test eax, eax
jne 0x4a4f66
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x5c], eax
test ecx, ecx
jne 0x4a4f12
test eax, eax
je 0x4a4f5b
push eax
push ecx
call fcn.004df360
push eax
mov dword [esp + 0x50], eax
call dword [0x100d3288]
test eax, eax
jne 0x4a4f40
mov ecx, dword [esp + 0x4c]
call fcn.004a2840
mov eax, dword [esp + 0x4c]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.004df340
push dword [esp + 0x5c]
push dword [esp + 0x54]
call fcn.004df380
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004df340
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.004df380
xorps xmm0, xmm0
mov dword [esp + 0x60], 0
lea ecx, [esp + 0xd0]
movlpd qword [esp + 0x68], xmm0
call fcn.004b09b0
test ebx, ebx
jne 0x4a4fa9
test esi, esi
jne 0x4a4fa9
xorps xmm0, xmm0
xor edi, edi
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], edi
jmp 0x4a5000
push esi
push ebx
call fcn.004df360
push esi
push ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
call fcn.004df360
push esi
mov edi, eax
push ebx
mov dword [esp + 0x28], edi
call fcn.004df380
push edi
call dword [0x100d328c]
push dword [esp + 0x10]
call dword [0x100d3288]
test eax, eax
jne 0x4a4ff9
mov ecx, dword [esp + 0x10]
call fcn.004a2840
mov eax, dword [esp + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
call fcn.004df340
push esi
push ebx
call fcn.004df380
cmp dword [edi + 0x18], 0
lea esi, [edi + 0x18]
mov ebx, dword [esp + 0x44]
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
mov dword [esp + 0x80], 0
je 0x4a5076
push dword [esp + 0x54]
mov ecx, dword [ebx + 0x24]
push dword [esp + 0x5c]
call fcn.004a38c0
mov eax, dword [ebp + 8]
cmp eax, dword [esi]
je 0x4a51e5
push esi
lea eax, [esp + 0x40]
push eax
lea ecx, [ebx + 0x64]
call fcn.004a2b30
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4a5151
mov ecx, dword [eax]
mov esi, dword [eax + 0xc]
push eax
call dword [ecx + 0xc]
push esi
mov dword [esp + 0x40], 0
call dword [0x100d3250]
jmp 0x4a5151
cmp dword [ebx + 0x60], 0
push dword [ebx + 0x5c]
jne 0x4a5147
call dword [0x100d3250]
push 0x18
call fcn.004e37c0
mov esi, eax
add esp, 4
test esi, esi
je 0x4a50dd
push 0
push 0
push 0
mov dword [esi], 0x100d3448
push 0
mov dword [esi + 4], 0
mov dword [esi], 0x100e8f88
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call dword [0x100d308c]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
push esi
call dword [eax + 8]
jmp 0x4a50df
xor esi, esi
lea edi, [esi + 0x10]
push edi
push 0
push esi
push 0x10086e80
push 0
push 0
call dword [0x100d3090]
mov dword [esi + 0xc], eax
mov eax, dword [esi]
push esi
mov dword [esp + 0x4c], esi
call dword [eax + 8]
mov ecx, dword [esi + 8]
lea eax, [esp + 0x48]
push eax
push edi
lea eax, [esp + 0x3c]
add ecx, 0xb4
push eax
call fcn.0046da90
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a5131
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov dword [esp + 0x34], 0
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
mov dword [esp + 0x4c], 0
call dword [eax + 0xc]
jmp 0x4a514d
call dword [0x100d3250]
mov edi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
jne 0x4a515f
cmp dword [esp + 0x2c], 0
je 0x4a5189
push edi
call dword [0x100d3288]
test eax, eax
jne 0x4a517c
mov ecx, edi
call fcn.004a2840
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.004df340
push dword [esp + 0x2c]
push dword [esp + 0x2c]
call fcn.004df380
mov edi, dword [esp + 0x1c]
xorps xmm0, xmm0
mov esi, dword [esp + 0x40]
movlpd qword [esp + 0x28], xmm0
mov dword [esp + 0x20], 0
test edi, edi
jne 0x4a4e50
test esi, esi
jne 0x4a4e50
lea ecx, [esp + 0x90]
call fcn.004b09b0
mov ecx, dword [esp + 0x38]
jmp 0x4a4df0
cmp eax, 1
je 0x4a5208
cmp eax, 2
je 0x4a51fa
cmp eax, 0x83
je 0x4a52f7
mov ecx, dword [esp + 0x38]
jmp 0x4a4df0
lea ecx, [esp + 0x20]
call fcn.004a1d20
lea ecx, [esp + 0x90]
call fcn.004b09b0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edi, [ebx + 0xb4]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], edi
push eax
mov ecx, edi
call fcn.00471750
mov esi, dword [esp + 0x18]
cmp esi, dword [edi + 4]
jne 0x4a522f
xor ebx, ebx
test esi, esi
je 0x4a5247
jmp 0x4a5241
mov ebx, esi
test esi, esi
je 0x4a5247
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
test ebx, ebx
je 0x4a52f7
nop
lea eax, [ebx + 0xc]
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4a5261
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
push ebx
lea eax, [esp + 0x18]
mov ecx, edi
push eax
call fcn.00482a50
mov esi, dword [esp + 0x14]
cmp esi, dword [edi + 4]
jne 0x4a5289
xor edi, edi
test esi, esi
je 0x4a52a3
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], edi
jmp 0x4a52a3
mov edi, esi
test esi, esi
je 0x4a52a3
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0x14], 0
test ebx, ebx
je 0x4a52ad
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
mov ebx, edi
test edi, edi
je 0x4a52b9
mov eax, dword [edi]
push edi
call dword [eax + 0xc]
mov esi, dword [esp + 0x18]
mov esi, dword [esi]
test esi, esi
je 0x4a52c9
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [esi + 0xc], 0
je 0x4a52e5
push dword [esi + 0x14]
call dword [0x100d3250]
push 0xffffffffffffffff
push dword [esi + 0xc]
call fcn.004d8c90
add esp, 8
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
test edi, edi
mov edi, dword [esp + 0x1c]
jne 0x4a5250
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc