Function at 0x4b4070
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 0x4b4447
mov esi, dword [edi + 0x20]
mov dword [esp + 0x1c], esi
cmp esi, 2
je 0x4b4447
mov ebx, dword [ecx + 0x34]
lea eax, [ecx + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
cmp ebx, eax
je 0x4b4447
cmp dword [ebx], eax
jne 0x4b4447
lea eax, [ebx + 0x18]
cmp dword [ebx + 0x10], eax
jne 0x4b4447
lea eax, [ecx + 0x2c]
mov ecx, dword [ecx + 0x24]
cmp ecx, eax
je 0x4b40e0
cmp dword [ecx], eax
jne 0x4b40e0
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x4b4447
mov eax, dword [edi + 0x24]
xor ecx, ecx
mov edx, dword [eax]
test edx, edx
je 0x4b4447
nop
mov eax, dword [edx]
inc ecx
mov edx, eax
test eax, eax
jne 0x4b40f0
cmp ecx, 3
jne 0x4b4447
lea ebp, [edi + 0x34]
push ebp
call fcn.004b4030
add esp, 4
test al, al
je 0x4b4447
lea eax, [edi + 0x2c]
cmp dword [edi + 0x24], eax
je 0x4b4123
mov edx, dword [edi + 0x30]
jmp 0x4b4125
xor edx, edx
mov ecx, dword [edx + 0x10]
lea eax, [edx + 0x18]
mov dword [esp + 0x18], edx
cmp ecx, eax
je 0x4b4144
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x4b4144
cmp dword [eax + 0xc], 8
jne 0x4b4447
cmp dword [ecx], 0
je 0x4b41f7
cmp esi, 1
je 0x4b41f7
mov esi, dword [ecx + 0x18]
mov edx, ecx
mov dword [esp + 0x14], edx
cmp dword [esi], 0
je 0x4b4180
mov dword [esp + 0x14], edx
test esi, esi
je 0x4b4180
mov dword [esp + 0x14], edx
cmp dword [esi + 8], ebx
je 0x4b4182
mov esi, dword [esi]
cmp dword [esi], 0
je 0x4b4180
test esi, esi
jne 0x4b4170
xor esi, esi
mov eax, dword [edx + 0x30]
lea ebx, [edx + 0x2c]
lea edi, [eax - 4]
cmp eax, ebx
je 0x4b41dc
nop
test byte [edi], 1
jne 0x4b41ce
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 0x4b41c0
test eax, eax
je 0x4b41c0
nop
cmp dword [eax + 8], edx
je 0x4b41c2
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4b41c0
test eax, eax
jne 0x4b41b0
xor eax, eax
mov eax, dword [eax + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x4b4447
mov eax, dword [edi + 8]
lea edi, [eax - 4]
cmp eax, ebx
jne 0x4b4190
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
cmp dword [ecx], 0
je 0x4b41ef
mov ebx, dword [esp + 0x20]
test ecx, ecx
jne 0x4b4156
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.004b3a30
add esp, 0x14
test al, al
je 0x4b4447
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x1c], esi
jbe 0x4b4265
cmp dword [edx + 0x20], 1
jne 0x4b4447
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 0x4b4379
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 0x4b42b0
test ebx, ebx
je 0x4b42b0
nop dword [eax]
cmp dword [ebx + 8], ecx
je 0x4b42b2
mov ebx, dword [ebx]
cmp dword [ebx], 0
je 0x4b42b0
test ebx, ebx
jne 0x4b42a0
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 0x4b435e
nop dword [eax]
test byte [esi], 1
jne 0x4b4347
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 0x4b4300
test eax, eax
je 0x4b4300
cmp dword [eax + 8], edx
je 0x4b4302
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4b4300
test eax, eax
jne 0x4b42f0
xor eax, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebx + 0x18]
jne 0x4b4344
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 0x4b4347
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 0x4b42d0
mov edi, dword [edi]
mov dword [esp + 0x1c], edi
cmp dword [edi], 0
je 0x4b4375
mov edx, dword [esp + 0x10]
test edi, edi
jne 0x4b4280
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x70]
cmp dword [ebp + 8], 0
jne 0x4b4389
xor edx, edx
mov ecx, ebp
jmp 0x4b4399
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.004b3fd0
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 0x4b441e
xor ecx, ecx
jmp 0x4b442e
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