Function at 0x4b3f70
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 0x4b4347
mov esi, dword [edi + 0x20]
mov dword [esp + 0x1c], esi
cmp esi, 2
je 0x4b4347
mov ebx, dword [ecx + 0x34]
lea eax, [ecx + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
cmp ebx, eax
je 0x4b4347
cmp dword [ebx], eax
jne 0x4b4347
lea eax, [ebx + 0x18]
cmp dword [ebx + 0x10], eax
jne 0x4b4347
lea eax, [ecx + 0x2c]
mov ecx, dword [ecx + 0x24]
cmp ecx, eax
je 0x4b3fe0
cmp dword [ecx], eax
jne 0x4b3fe0
lea eax, [ecx + 0x18]
cmp dword [ecx + 0x10], eax
je 0x4b4347
mov eax, dword [edi + 0x24]
xor ecx, ecx
mov edx, dword [eax]
test edx, edx
je 0x4b4347
nop
mov eax, dword [edx]
inc ecx
mov edx, eax
test eax, eax
jne 0x4b3ff0
cmp ecx, 3
jne 0x4b4347
lea ebp, [edi + 0x34]
push ebp
call fcn.004b3f30
add esp, 4
test al, al
je 0x4b4347
lea eax, [edi + 0x2c]
cmp dword [edi + 0x24], eax
je 0x4b4023
mov edx, dword [edi + 0x30]
jmp 0x4b4025
xor edx, edx
mov ecx, dword [edx + 0x10]
lea eax, [edx + 0x18]
mov dword [esp + 0x18], edx
cmp ecx, eax
je 0x4b4044
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x4b4044
cmp dword [eax + 0xc], 8
jne 0x4b4347
cmp dword [ecx], 0
je 0x4b40f7
cmp esi, 1
je 0x4b40f7
mov esi, dword [ecx + 0x18]
mov edx, ecx
mov dword [esp + 0x14], edx
cmp dword [esi], 0
je 0x4b4080
mov dword [esp + 0x14], edx
test esi, esi
je 0x4b4080
mov dword [esp + 0x14], edx
cmp dword [esi + 8], ebx
je 0x4b4082
mov esi, dword [esi]
cmp dword [esi], 0
je 0x4b4080
test esi, esi
jne 0x4b4070
xor esi, esi
mov eax, dword [edx + 0x30]
lea ebx, [edx + 0x2c]
lea edi, [eax - 4]
cmp eax, ebx
je 0x4b40dc
nop
test byte [edi], 1
jne 0x4b40ce
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 0x4b40c0
test eax, eax
je 0x4b40c0
nop
cmp dword [eax + 8], edx
je 0x4b40c2
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4b40c0
test eax, eax
jne 0x4b40b0
xor eax, eax
mov eax, dword [eax + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x4b4347
mov eax, dword [edi + 8]
lea edi, [eax - 4]
cmp eax, ebx
jne 0x4b4090
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
cmp dword [ecx], 0
je 0x4b40ef
mov ebx, dword [esp + 0x20]
test ecx, ecx
jne 0x4b4056
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.004b3930
add esp, 0x14
test al, al
je 0x4b4347
mov edx, dword [esp + 0x10]
cmp dword [esp + 0x1c], esi
jbe 0x4b4165
cmp dword [edx + 0x20], 1
jne 0x4b4347
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 0x4b4279
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 0x4b41b0
test ebx, ebx
je 0x4b41b0
nop dword [eax]
cmp dword [ebx + 8], ecx
je 0x4b41b2
mov ebx, dword [ebx]
cmp dword [ebx], 0
je 0x4b41b0
test ebx, ebx
jne 0x4b41a0
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 0x4b425e
nop dword [eax]
test byte [esi], 1
jne 0x4b4247
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 0x4b4200
test eax, eax
je 0x4b4200
cmp dword [eax + 8], edx
je 0x4b4202
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4b4200
test eax, eax
jne 0x4b41f0
xor eax, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebx + 0x18]
jne 0x4b4244
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 0x4b4247
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 0x4b41d0
mov edi, dword [edi]
mov dword [esp + 0x1c], edi
cmp dword [edi], 0
je 0x4b4275
mov edx, dword [esp + 0x10]
test edi, edi
jne 0x4b4180
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x70]
cmp dword [ebp + 8], 0
jne 0x4b4289
xor edx, edx
mov ecx, ebp
jmp 0x4b4299
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.004b3ed0
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.0041d890
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.00412c90
add esp, 0x30
cmp dword [edi + 8], 0
jne 0x4b431e
xor ecx, ecx
jmp 0x4b432e
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.00412f50
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