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

Disassembly:
sub esp, 0x5c
mov ecx, dword [esp + 0x60]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x10], edi
cmp dword [edi + 8], 1
jne 0x4b43d7
mov esi, dword [edi + 0x20]
mov dword [esp + 0x1c], esi
cmp esi, 2
je 0x4b43d7
mov ebx, dword [ecx + 0x34]
lea eax, [ecx + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
cmp ebx, eax
je 0x4b43d7
cmp dword [ebx], eax
jne 0x4b43d7
lea eax, [ebx + 0x18]
cmp dword [ebx + 0x10], eax
jne 0x4b43d7
lea eax, [ecx + 0x2c]
mov ecx, dword [ecx + 0x24]
cmp ecx, eax
je 0x4b4070
cmp dword [ecx], eax
jne 0x4b4070
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x4b43d7
mov eax, dword [edi + 0x24]
xor ecx, ecx
mov edx, dword [eax]
test edx, edx
je 0x4b43d7
nop
mov eax, dword [edx]
inc ecx
mov edx, eax
test eax, eax
jne 0x4b4080
cmp ecx, 3
jne 0x4b43d7
lea ebp, [edi + 0x34]
push ebp
call fcn.004b3fc0
add esp, 4
test al, al
je 0x4b43d7
lea eax, [edi + 0x2c]
cmp dword [edi + 0x24], eax
je 0x4b40b3
mov edx, dword [edi + 0x30]
jmp 0x4b40b5
xor edx, edx
mov ecx, dword [edx + 0x10]
lea eax, [edx + 0x18]
mov dword [esp + 0x18], edx
cmp ecx, eax
je 0x4b40d4
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x4b40d4
cmp dword [eax + 0xc], 8
jne 0x4b43d7
cmp dword [ecx], 0
je 0x4b4187
cmp esi, 1
je 0x4b4187
mov esi, dword [ecx + 0x18]
mov edx, ecx
mov dword [esp + 0x14], edx
cmp dword [esi], 0
je 0x4b4110
mov dword [esp + 0x14], edx
test esi, esi
je 0x4b4110
mov dword [esp + 0x14], edx
cmp dword [esi + 8], ebx
je 0x4b4112
mov esi, dword [esi]
cmp dword [esi], 0
je 0x4b4110
test esi, esi
jne 0x4b4100
xor esi, esi
mov eax, dword [edx + 0x30]
lea ebx, [edx + 0x2c]
lea edi, [eax - 4]
cmp eax, ebx
je 0x4b416c
nop
test byte [edi], 1
jne 0x4b415e
lea eax, [ebp + 8]
xor edx, edx
cmp dword [ebp], eax
mov eax, dword [edi]
cmovne edx, dword [ebp]
mov eax, dword [eax + 0x18]
cmp dword [eax], 0
je 0x4b4150
test eax, eax
je 0x4b4150
nop
cmp dword [eax + 8], edx
je 0x4b4152
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4b4150
test eax, eax
jne 0x4b4140
xor eax, eax
mov eax, dword [eax + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x4b43d7
mov eax, dword [edi + 8]
lea edi, [eax - 4]
cmp eax, ebx
jne 0x4b4120
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
cmp dword [ecx], 0
je 0x4b417f
mov ebx, dword [esp + 0x20]
test ecx, ecx
jne 0x4b40e6
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
movzx eax, byte [esp + 0x7c]
mov edx, 1
cmp esi, edx
mov dword [esp + 0x1c], 0
mov ecx, edx
lea esi, [edi + 0x2c]
cmovne ecx, eax
movzx eax, byte [esp + 0x80]
cmovne edx, eax
xor ebx, ebx
cmp dword [edi + 0x24], esi
mov al, dl
mov esi, dword [esp + 0x78]
cmovne ebx, dword [edi + 0x24]
push eax
xor eax, eax
mov dword [esp + 0x18], ebx
push ecx
test esi, esi
setne al
push eax
lea eax, [esp + 0x28]
push eax
push ebx
call fcn.004b39c0
add esp, 0x14
test al, al
je 0x4b43d7
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x1c], esi
jbe 0x4b41f5
cmp dword [edx + 0x20], 1
jne 0x4b43d7
mov edi, dword [esp + 0x18]
xor eax, eax
mov edi, dword [edi + 0x10]
cmp dword [edi], eax
cmove edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x4b4309
nop
mov eax, dword [esp + 0x70]
xor ecx, ecx
mov ebx, dword [edi + 0x18]
mov eax, dword [eax + 0x34]
cmp eax, dword [esp + 0x24]
cmovne ecx, eax
cmp dword [ebx], 0
je 0x4b4240
test ebx, ebx
je 0x4b4240
nop dword [eax]
cmp dword [ebx + 8], ecx
je 0x4b4242
mov ebx, dword [ebx]
cmp dword [ebx], 0
je 0x4b4240
test ebx, ebx
jne 0x4b4230
xor ebx, ebx
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x2c]
mov ebp, dword [eax + 4]
lea esi, [eax - 4]
sub ebp, 4
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x4b42ee
nop dword [eax]
test byte [esi], 1
jne 0x4b42d7
mov ecx, dword [edx + 0x34]
lea eax, [edx + 0x3c]
xor edx, edx
cmp ecx, eax
mov eax, dword [esi]
cmovne edx, ecx
mov eax, dword [eax + 0x18]
cmp dword [eax], 0
je 0x4b4290
test eax, eax
je 0x4b4290
cmp dword [eax + 8], edx
je 0x4b4292
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4b4290
test eax, eax
jne 0x4b4280
xor eax, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebx + 0x18]
jne 0x4b42d4
mov edx, dword [eax + 0x10]
lea esi, [edi + 0x28]
mov ecx, dword [eax + 0x14]
lea edi, [eax + 0x10]
mov dword [edx + 4], ecx
mov edx, dword [edi + 4]
mov ecx, dword [edi]
mov dword [edx], ecx
lea ecx, [esi + 4]
mov dword [edi], 0
mov dword [edi + 4], ecx
mov dword [eax + 0x18], esi
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ecx]
mov dword [eax + 4], edi
mov dword [ecx], edi
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
jmp 0x4b42d7
lea ecx, [edi + 0x2c]
mov edx, dword [esp + 0x10]
mov esi, ebp
mov ebp, dword [ebp + 8]
sub ebp, 4
lea eax, [esi + 4]
cmp eax, ecx
jne 0x4b4260
mov edi, dword [edi]
mov dword [esp + 0x1c], edi
cmp dword [edi], 0
je 0x4b4305
mov edx, dword [esp + 0x10]
test edi, edi
jne 0x4b4210
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x70]
cmp dword [ebp + 8], 0
jne 0x4b4319
xor edx, edx
mov ecx, ebp
jmp 0x4b4329
mov eax, dword [ebp + 4]
xor ecx, ecx
mov edx, 1
cmp dword [eax + 4], ecx
cmovne ecx, eax
push ecx
push edx
lea eax, [esp + 0x5c]
push eax
call fcn.004b3f60
mov edi, dword [esp + 0x1c]
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x48], xmm0
movq xmm0, qword [eax + 0x10]
lea eax, [esp + 0x48]
movq qword [esp + 0x58], xmm0
push dword [edi + 0x1c]
push dword [ebp + 0x1c]
push 0x125
push eax
call fcn.0041d920
mov edx, dword [ebp + 0x14]
lea esi, [ebp + 0x14]
mov ecx, dword [esi + 4]
push dword [esp + 0x34]
mov dword [edx + 4], ecx
mov edx, dword [esi + 4]
mov ecx, dword [esi]
push 1
push ebx
mov dword [edx], ecx
lea ecx, [eax + 4]
mov dword [esi], 0
mov dword [ebp + 0x1c], eax
mov dword [esi + 4], ecx
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [ecx]
push 0
mov dword [eax + 4], esi
lea eax, [esp + 0x54]
push eax
mov dword [ecx], esi
call fcn.00412d20
add esp, 0x30
cmp dword [edi + 8], 0
jne 0x4b43ae
xor ecx, ecx
jmp 0x4b43be
mov eax, dword [edi + 4]
mov ecx, 1
xor edi, edi
cmp dword [eax + 4], edi
cmovne edi, eax
push edi
push ecx
lea eax, [esp + 0x30]
push eax
call fcn.00412fe0
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x5c
ret