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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x1000578f
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.10004880
mov esi, dword [esp + 0x44]
lea edi, [ebx*4]
push edi
push 0
push esi
call fcn.10013800
add esp, 0xc
mov dword [esp + 0x2c], 0
lea eax, [edi + esi]
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x34], 0
push ebx
call fcn.10004880
mov esi, dword [esp + 0x2c]
push edi
push 0
push esi
call fcn.10013800
add esp, 0xc
mov dword [esp + 0x20], 0
lea eax, [edi + esi]
mov dword [esp + 0x24], 0
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], 0
push ebx
call fcn.10004880
mov esi, dword [esp + 0x20]
push edi
push 0
push esi
call fcn.10013800
add esp, 0xc
lea eax, [edi + esi]
xor ecx, ecx
mov dword [esp + 0x24], eax
test ebx, ebx
jle 0x100054cb
mov eax, dword [esp + 0x20]
xor edx, edx
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x24]
lea edx, [edx + 0x20]
mov eax, dword [eax + ecx*4]
mov dword [esi + ecx*4], eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + edx - 0x18]
mov dword [edi + ecx*4], eax
mov eax, dword [ebp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [eax + edx - 0x14]
mov dword [ebp + ecx*4], eax
mov ebp, dword [esp + 0x80]
mov eax, dword [ebp + 0x34]
mov dword [eax + ecx*4], 0
inc ecx
cmp ecx, ebx
jl 0x10005490
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x5c]
push ebx
push eax
call fcn.10009490
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x5c]
push ebx
push eax
call fcn.1000a900
mov edi, dword [esp + 0x68]
xor edx, edx
mov ecx, dword [esp + 0x64]
mov eax, edi
sub eax, ecx
mov dword [esp + 0xac], edx
sar eax, 5
add esp, 0x2c
test eax, eax
je 0x1000561e
xor ebx, ebx
mov dword [esp + 0x10], ebx
nop dword [eax]
mov eax, edi
sub eax, ecx
sar eax, 5
cmp eax, edx
jbe 0x100057a0
movups xmm1, xmmword [ecx + ebx]
movups xmm0, xmmword [ecx + ebx + 0x10]
movd esi, xmm1
movd dword [esp + 0x18], xmm1
psrldq xmm1, 4
movd ebx, xmm1
movups xmmword [esp + 0x6c], xmm0
mov edx, ebx
sub edx, esi
inc edx
cmp esi, ebx
jg 0x100055f5
cmp edx, 4
jb 0x100055d5
mov eax, dword [ebp + 0x34]
lea edi, [eax + esi*4]
lea eax, [eax + ebx*4]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
lea eax, [ebp + 0x34]
cmp edi, eax
mov edi, dword [esp + 0x3c]
ja 0x10005594
cmp dword [esp + 0x14], eax
jae 0x100055d5
and edx, 0x80000003
jns 0x100055a1
dec edx
or edx, 0xfffffffc
inc edx
mov eax, ebx
sub eax, edx
add esi, 4
cmp esi, eax
jle 0x100055a5
sub eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, 4
cdq
and edx, 3
lea ecx, [edx + eax]
mov eax, dword [esp + 0x74]
sar ecx, 2
shl ecx, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
cmp esi, ebx
jg 0x100055f5
movss xmm0, dword [esp + 0x74]
nop
mov eax, dword [ebp + 0x34]
movss dword [eax + esi*4], xmm0
inc esi
cmp esi, ebx
jle 0x100055e0
mov edi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x80]
mov eax, edi
mov ebx, dword [esp + 0x10]
sub eax, ecx
inc edx
sar eax, 5
add ebx, 0x20
mov dword [esp + 0x80], edx
mov dword [esp + 0x10], ebx
cmp edx, eax
jb 0x10005530
test ecx, ecx
je 0x1000566b
mov edx, dword [esp + 0x40]
mov eax, ecx
sub edx, ecx
and edx, 0xffffffe0
cmp edx, 0x1000
jb 0x10005649
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000579b
push edx
push ecx
call fcn.10010e66
add esp, 8
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov edx, dword [esp + 0x50]
test edx, edx
je 0x100056bc
mov ecx, dword [esp + 0x58]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x1000569a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000579b
push ecx
push edx
call fcn.10010e66
add esp, 8
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov edx, dword [esp + 0x20]
test edx, edx
je 0x1000570d
mov ecx, dword [esp + 0x28]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100056eb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000579b
push ecx
push edx
call fcn.10010e66
add esp, 8
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x1000575a
mov ecx, dword [esp + 0x34]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10005738
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000579b
push ecx
push edx
call fcn.10010e66
add esp, 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov edx, dword [esp + 0x44]
test edx, edx
je 0x1000578f
mov ecx, dword [esp + 0x4c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10005785
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000579b
push ecx
push edx
call fcn.10010e66
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x6c
ret 4
call fcn.10016a8f
call fcn.10004940
int3