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

Disassembly:
sub esp, 0x48
push ebp
mov ebp, dword [esp + 0x54]
mov eax, dword [ebp + 0x30]
cmp dword [eax + 8], 0
je 0x4b32af
push ebx
push esi
push edi
lea edi, [ebp + 0x18]
mov dword [esp + 0x24], edi
cmp dword [ebp + 0x10], edi
je 0x4b2ef9
mov eax, dword [ebp + 0x1c]
jmp 0x4b2efb
xor eax, eax
push eax
push 1
push dword [esp + 0x70]
call fcn.00412f20
add esp, 0xc
cmp dword [ebp + 0x10], edi
je 0x4b2f14
mov eax, dword [ebp + 0x1c]
jmp 0x4b2f16
xor eax, eax
push eax
push 1
push dword [esp + 0x74]
call fcn.00412f20
push ebp
call fcn.004077f0
xorps xmm0, xmm0
movq qword [esp + 0x60], xmm0
mov dword [esp + 0x64], eax
mov eax, dword [eax + 0x10]
push ebp
mov eax, dword [eax + 0xc]
mov dword [esp + 0x64], eax
movups xmmword [esp + 0x3c], xmm0
movq xmm0, qword [esp + 0x64]
movq qword [esp + 0x4c], xmm0
call fcn.00407690
mov ebx, eax
push ebp
mov dword [esp + 0x30], ebx
call fcn.00407720
add esp, 0x18
cmp ebx, eax
je 0x4b3250
mov ebp, dword [esp + 0x70]
mov esi, dword [ebx + 0x10]
mov eax, dword [esi]
test eax, eax
je 0x4b3228
test esi, esi
je 0x4b3228
xor edi, edi
cmp dword [eax], edi
cmovne edi, eax
nop dword [eax]
cmp dword [esi + 0xc], 4
jne 0x4b3201
mov eax, dword [esi + 0x18]
cmp eax, 0xff
je 0x4b2fb4
cmp eax, 0x258
je 0x4b2fb4
cmp eax, 0x53
jne 0x4b3201
movups xmm0, xmmword [esi + 0x58]
mov ebx, dword [esp + 0x64]
xor ecx, ecx
push ebp
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
push ecx
push ebx
call fcn.004b2670
add esp, 0xc
test al, al
je 0x4b31cb
cmp dword [esi + 0x18], 0xff
jne 0x4b31f8
mov eax, dword [ebx]
mov eax, dword [eax + 0x1c]
mov ebp, dword [eax]
mov dword [esp + 0x28], 2
mov dword [esp + 0x2c], ebp
cmp dword [ebp + 0x18], 0x14f
jne 0x4b3189
cmp byte [ebx + 0x10], 0
jne 0x4b3189
mov eax, dword [ebp + 0x44]
mov ebx, dword [ebp + 0x64]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], eax
mov ebx, dword [eax]
mov byte [esp + 0x13], 0
cmp dword [ebx + 0xc], 0
jne 0x4b30ce
push ebx
call fcn.004071a0
add esp, 4
test al, al
je 0x4b30ce
imul eax, dword [ebx + 0x18], 0x64
cmp byte [eax + 0x51451c], 2
jne 0x4b30ce
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x44]
cmp dword [eax], esi
je 0x4b306f
mov eax, dword [ecx + 0x64]
cmp dword [eax], esi
je 0x4b306f
xor al, al
jmp 0x4b3071
mov al, 1
test al, al
je 0x4b30ce
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0040fcf0
push 1
push 1
push dword [esp + 0x4c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
call fcn.00409bc0
mov ebx, eax
add esp, 0x18
test ebx, ebx
je 0x4b30bd
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x34], eax
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0041dbe0
add esp, 8
add ebx, 0x18
push ebx
push dword [ebp + 0x44]
call fcn.00407f10
add esp, 8
mov byte [esp + 0x13], 1
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx]
cmp dword [ebx + 0xc], 0
jne 0x4b3182
push ebx
call fcn.004071a0
add esp, 4
test al, al
je 0x4b3182
imul eax, dword [ebx + 0x18], 0x64
cmp byte [eax + 0x51451c], 2
jne 0x4b3182
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [ecx + 0x44]
cmp dword [eax], esi
je 0x4b3118
mov eax, dword [ecx + 0x64]
cmp dword [eax], esi
je 0x4b3118
xor al, al
jmp 0x4b311a
mov al, 1
test al, al
je 0x4b3182
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.0040fcf0
push 1
push 1
push dword [esp + 0x4c]
mov ebx, eax
mov dword [esp + 0x38], edx
call fcn.00409bc0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4b3156
push esi
push dword [ebp + 0x64]
call fcn.00407f10
add esp, 8
jmp 0x4b3201
mov eax, dword [esp + 0x20]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], eax
lea eax, [esp + 0x28]
push esi
push eax
call fcn.0041dbe0
add esp, 8
add esi, 0x18
push esi
push dword [ebp + 0x64]
call fcn.00407f10
add esp, 8
jmp 0x4b3201
cmp byte [esp + 0x13], 0
jne 0x4b3201
movzx ecx, byte [esi + 0x2d]
movzx eax, byte [esi + 0x2c]
push ecx
push eax
push dword [esp + 0x40]
call fcn.0040afe0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4b31b6
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0041dc20
add esp, 8
add ebx, 0x18
lea eax, [esi + 0x1c]
push ebx
push eax
call fcn.00407f10
mov ebx, dword [esp + 0x6c]
add esp, 8
mov ebp, dword [esp + 0x70]
cmp dword [esi + 0x18], 0x53
jne 0x4b3201
movups xmm0, xmmword [esi + 0x68]
xor ecx, ecx
push ebp
psrldq xmm0, 0xc
movd eax, xmm0
mov eax, dword [eax]
cmp dword [eax + 0xc], 1
cmove ecx, eax
push ecx
push ebx
call fcn.004b2670
add esp, 0xc
test al, al
je 0x4b3201
push esi
call fcn.00409630
add esp, 4
mov esi, edi
test edi, edi
je 0x4b3216
mov eax, dword [edi]
test eax, eax
je 0x4b3216
mov ebp, dword [esp + 0x70]
jmp 0x4b2f86
mov ebp, dword [esp + 0x70]
xor edi, edi
test esi, esi
jne 0x4b2f90
mov ebx, dword [esp + 0x18]
push ebx
call fcn.004073c0
push dword [esp + 0x64]
mov ebx, eax
mov dword [esp + 0x20], eax
call fcn.00407720
add esp, 8
cmp ebx, eax
jne 0x4b2f71
mov ebp, dword [esp + 0x60]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x64]
mov edx, dword [edx]
cmp dword [edx + 8], 0
jne 0x4b3260
xor esi, esi
jmp 0x4b3270
mov eax, dword [edx + 4]
mov esi, 1
xor edx, edx
cmp dword [eax + 4], edx
cmovne edx, eax
xor ecx, ecx
cmp dword [ebp + 0x10], edi
push edx
cmovne ecx, dword [ebp + 0x10]
push esi
push ecx
push 0
push dword [esp + 0x78]
call fcn.00412c60
mov eax, dword [ebp + 0x10]
add esp, 0x14
cmp eax, edi
pop edi
pop esi
pop ebx
je 0x4b3299
mov ecx, dword [ebp + 0x1c]
jmp 0x4b329d
xor ecx, ecx
xor eax, eax
push ecx
push 1
push eax
push 0
push dword [esp + 0x70]
call fcn.00412c60
add esp, 0x14
pop ebp
add esp, 0x48
ret