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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
mov byte [esp + 0x13], 0
mov ebx, edx
push edi
mov edx, dword [esi + 0xb0]
mov eax, dword [esi + 0x88]
mov dword [esi + 4], 0
mov dword [esp + 0x28], eax
mov ecx, dword [edx + 0x218]
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x3c], eax
cmp dword [esi + 0xb4], ecx
je 0x1004b114
mov dword [esi + 0xb4], ecx
mov byte [esp + 0x17], 1
cmp byte [esi + 8], 0
jne 0x1004b150
mov eax, dword [edx + 0x214]
cmp dword [eax + 0xc28], 0
je 0x1004b150
mov eax, dword [ecx + 0x230]
mov dword [esi + 0x60], eax
mov byte [esi + 0x5d], 0
mov eax, dword [ecx + 0x224]
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov eax, dword [edx + 4]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x58]
movzx eax, word [eax + 0xe]
shl eax, 0x10
cmp ecx, eax
je 0x1004b174
mov dword [esi + 0x58], eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x18], eax
mov al, byte [esi + 0xc]
lea edx, [esi + 0x10]
and al, 1
mov ecx, ebx
mov byte [esi + 0xb8], al
mov edi, 0xc
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1004b1a7
add ecx, 4
add edx, 4
sub edi, 4
jae 0x1004b190
mov dl, byte [esp + 0x17]
jmp 0x1004b1f5
movups xmm0, xmmword [ebx]
mov dl, 1
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x24], 0
mov dword [esi + 0x20], 0
movups xmm0, xmmword [ebx]
movups xmmword [esi + 0x28], xmm0
movq xmm0, qword [ebx + 0x10]
movq qword [esi + 0x38], xmm0
mov dword [esi + 0x4c], 0x10000
mov dword [esi + 0x40], 0x10000
mov dword [esi + 0x48], 0
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov bl, byte [esi + 0xba]
and eax, 2
cmp bl, al
je 0x1004b218
shr ecx, 1
and cl, 1
mov byte [esi + 0xba], cl
mov byte [esp + 0x2c], cl
jmp 0x1004b224
mov byte [esp + 0x2c], bl
test dl, dl
je 0x1004b452
mov ecx, dword [esi + 0x84]
mov eax, 0x3e8
test ecx, ecx
mov edx, 0x40000
cmove ecx, eax
mov eax, dword [esp + 0x18]
cmp eax, edx
mov dword [esp + 0x38], ecx
cmovl eax, edx
mov dword [esp + 0x18], eax
mov eax, 0x3e80000
cdq
idiv ecx
mov ebp, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x218]
mov ecx, dword [eax + 0x190]
mov eax, ebp
shl ecx, 0x10
cdq
mov dword [esi + 0xdc], ecx
mov ebx, eax
mov edi, edx
test ecx, ecx
jg 0x1004b2d8
mov dword [esp + 0x20], eax
test ebp, ebp
jns 0x1004b28b
neg eax
mov dword [esp + 0x20], eax
adc edx, 0
neg edx
mov ecx, ebp
sar ecx, 0x1f
and ecx, 0xfffffffe
mov dword [esp + 0x30], ecx
test edx, edx
jne 0x1004b2aa
test eax, eax
jne 0x1004b2aa
mov eax, 0x7fffffff
mov dword [esp + 0x24], edx
jmp 0x1004b2c6
mov ecx, eax
mov eax, edx
shrd ecx, eax, 1
push edx
push dword [esp + 0x24]
shr eax, 1
add ecx, 0
adc eax, 0x4b
push eax
push ecx
call fcn.10147af0
mov ecx, eax
neg ecx
cmp dword [esp + 0x30], 0xffffffff
cmovge ecx, eax
mov dword [esi + 0xdc], ecx
cmp dword [esp + 0x28], 0
mov edx, dword [esp + 0x18]
jle 0x1004b31d
mov ecx, dword [esp + 0x38]
shl ecx, 0x10
call fcn.10039250
mov ecx, dword [esp + 0x28]
cmp ecx, eax
mov dword [esi + 0xe4], 0
cmovle ecx, eax
test ecx, ecx
je 0x1004b339
cmp ebp, 0x28f
jl 0x1004b339
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [esi + 0xe4], eax
jmp 0x1004b339
lea eax, [esi + 0xbc]
push eax
push dword [esp + 0x30]
lea eax, [esi + 0xe4]
push 0
push eax
push ecx
mov ecx, ebp
call fcn.1004ae90
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x218]
mov eax, dword [eax + 0x18c]
shl eax, 0x10
test eax, eax
jle 0x1004b3a5
add eax, eax
cmp dword [esi + 0xdc], eax
jle 0x1004b3a5
test ebp, ebp
jns 0x1004b365
neg ebx
adc edi, 0
neg edi
mov eax, ebp
sar eax, 0x1f
and eax, 0xfffffffe
mov dword [esp + 0x38], eax
test edi, edi
jne 0x1004b384
test ebx, ebx
jne 0x1004b384
mov edi, 0x7fffffff
mov dword [esp + 0x34], ebx
jmp 0x1004b3ee
mov ecx, ebx
mov eax, edi
shrd ecx, eax, 1
push edi
shr eax, 1
add ecx, 0
push ebx
adc eax, 0x4b
push eax
push ecx
call fcn.10147af0
mov edi, eax
mov eax, dword [esp + 0x38]
jmp 0x1004b3ee
test ebp, ebp
jns 0x1004b3b0
neg ebx
adc edi, 0
neg edi
mov eax, ebp
sar eax, 0x1f
and eax, 0xfffffffe
mov dword [esp + 0x38], eax
test edi, edi
jne 0x1004b3cf
test ebx, ebx
jne 0x1004b3cf
mov edi, 0x7fffffff
mov dword [esp + 0x34], ebx
jmp 0x1004b3ee
mov ecx, ebx
mov eax, edi
shrd ecx, eax, 1
push edi
shr eax, 1
add ecx, 0
push ebx
adc eax, 0x6e
push eax
push ecx
call fcn.10147af0
mov edi, eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x18]
mov ecx, edi
neg ecx
cmp eax, 0xffffffff
lea eax, [esi + 0xbc]
cmovge ecx, edi
lea edi, [esi + 0xe8]
push eax
mov dword [esi + 0xe0], ecx
movzx eax, byte [esi + 0xba]
push eax
push dword [esp + 0x44]
push edi
push ecx
mov ecx, ebp
call fcn.1004ae90
cmp dword [esi + 0xe4], 0
jne 0x1004b436
cmp dword [edi], 0
jne 0x1004b436
xor al, al
jmp 0x1004b438
mov al, 1
mov byte [esi + 0xb9], al
lea ecx, [esi + 0xf0]
mov edx, esi
mov byte [esi + 0xec], 0
call fcn.1004a6f0
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret