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

Disassembly:
sub esp, 0x48
mov edx, dword [esp + 0x5c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
push edi
mov edi, 1
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0xc0]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0xcc]
mov ecx, eax
neg ecx
mov ebx, dword [esi + 0xc]
sbb ecx, ecx
add eax, 2
add ecx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x68]
sub ecx, eax
mov dword [esp + 0x5c], eax
add ecx, edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xb8]
mov esi, dword [esi + 0x18]
shl edi, cl
mov ecx, dword [esp + 0x2c]
mov eax, ecx
sub eax, ebx
sub ecx, edi
cmp eax, edi
mov eax, dword [esp + 0x5c]
cmovbe ecx, ebx
test esi, esi
cmovne ecx, ebx
add eax, ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x64]
mov dword [esp + 0x18], eax
add eax, 0xfffffff8
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x14], edx
xor edx, edx
cmp ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], eax
sete al
mov dword [esp + 0x48], edx
add eax, ecx
mov edx, ebx
mov dword [esp + 0x3c], eax
sub eax, dword [esp + 0x5c]
mov ecx, eax
mov dword [esp + 0x40], eax
sub eax, edi
sub ecx, ebx
cmp ecx, edi
cmova edx, eax
mov eax, dword [esp + 0x40]
test esi, esi
cmovne edx, ebx
sub eax, edx
mov edx, dword [esp + 0x14]
cmp edx, eax
jbe 0x1054862b
mov dword [esp + 0x48], edx
xor edx, edx
mov dword [esp + 0x14], edx
mov ecx, dword [esp + 0x6c]
cmp ecx, eax
jbe 0x1054863f
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x6c], 0
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x44]
add edi, ebx
lea eax, [ebx + 0x80]
mov dword [esp + 0x40], eax
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jae 0x10548c36
mov esi, 0x40
sub esi, dword [esp + 0x34]
mov dword [esp + 0x1c], esi
nop dword [eax + eax]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
push dword [ebx]
call fcn.10511b50
mov ecx, esi
call fcn.10512520
mov esi, eax
mov eax, dword [esp + 0x20]
push 0xcf1bbcdc
push 0xbb000000
push dword [eax + 4]
push dword [eax]
call fcn.10511b50
mov ecx, dword [esp + 0x1c]
call fcn.10512520
mov ebp, dword [esp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + esi*4]
mov eax, ebx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x50], ecx
mov ecx, edi
sub ecx, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov ecx, dword [ecx]
mov dword [ebp + esi*4], eax
xor eax, eax
cmp eax, dword [esp + 0x6c]
mov ebp, dword [esp + 0x60]
sbb esi, esi
neg esi
cmp dword [edi], ecx
mov dword [esp + 0x54], esi
sete al
test esi, eax
jne 0x1054882d
mov eax, dword [esp + 0x44]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x34], eax
jmp 0x1054871a
mov edx, dword [esp + 0x30]
cmp esi, dword [esp + 0x2c]
jb 0x10548729
mov eax, dword [esp + 0x5c]
mov eax, dword [esi + eax]
jmp 0x1054872e
mov eax, dword [ebx]
xor eax, 1
cmp dword [ebx], eax
je 0x10548883
mov eax, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + 4]
mov esi, dword [eax + edx*4]
push dword [edi]
call fcn.10511b50
mov ecx, dword [esp + 0x1c]
call fcn.10512520
mov ebp, dword [esp + 0x10]
mov edx, eax
mov ebx, dword [esp + 0x20]
mov eax, ebx
mov ecx, dword [esp + 0x30]
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x50], edx
mov dword [esp + 0x3c], eax
mov dword [ebp + ecx*4], eax
mov ebp, dword [esp + 0x60]
cmp esi, dword [esp + 0x2c]
jb 0x1054878d
mov eax, dword [esp + 0x5c]
mov ecx, dword [esi + eax]
jmp 0x10548792
mov ecx, dword [ebx]
xor ecx, 1
cmp dword [ebx], ecx
je 0x1054886f
mov eax, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xbb000000
mov esi, dword [eax + edx*4]
mov eax, dword [esp + 0x2c]
push dword [eax + 4]
push dword [eax]
call fcn.10511b50
mov ecx, dword [esp + 0x1c]
call fcn.10512520
mov ecx, dword [esp + 0x34]
mov ebx, edi
mov edx, dword [esp + 0x40]
add edi, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], eax
add eax, ecx
mov dword [esp + 0x24], eax
cmp edi, edx
jb 0x105487f0
inc ecx
sub edx, 0xffffff80
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], edx
cmp eax, dword [esp + 0x28]
jae 0x10548c36
mov ebp, dword [esp + 0x10]
mov eax, edi
sub eax, dword [esp + 0x6c]
mov edx, ebx
sub edx, dword [esp + 0x5c]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax]
mov eax, dword [esp + 0x50]
mov dword [ebp + eax*4], edx
xor eax, eax
cmp dword [edi], ecx
mov ebp, dword [esp + 0x60]
sete al
test dword [esp + 0x54], eax
je 0x10548716
mov al, byte [edi - 1]
mov edx, edi
sub edx, dword [esp + 0x6c]
xor ecx, ecx
mov esi, dword [esp + 0x30]
mov ebx, edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x40], 1
cmp al, byte [edx - 1]
mov eax, dword [esp + 0x20]
sete cl
sub ebx, ecx
sub edx, ecx
add ecx, 4
sub eax, dword [esp + 0x5c]
mov dword [edi + esi*4], eax
mov edi, dword [esp + 0x68]
mov dword [esp + 0x24], ecx
jmp 0x105488fd
cmp dword [esp + 0x34], 4
ja 0x10548892
mov eax, dword [esp + 0x10]
sub edi, dword [esp + 0x5c]
mov dword [eax + edx*4], edi
jmp 0x10548892
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x5c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x5c]
mov edi, dword [esp + 0x68]
add edx, esi
mov dword [esp + 0x14], eax
mov esi, 4
mov eax, ebx
mov dword [esp + 0x24], esi
sub eax, edx
mov dword [esp + 0x6c], eax
add eax, 3
cmp dword [esp + 0x38], edx
mov dword [esp + 0x40], eax
sbb ecx, ecx
neg ecx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x105488fb
nop
mov al, byte [ebx - 1]
mov edi, dword [esp + 0x68]
cmp al, byte [edx - 1]
jne 0x105488f5
dec edx
inc esi
dec ebx
mov dword [esp + 0x24], esi
cmp dword [esp + 0x38], edx
sbb ecx, ecx
neg ecx
cmp edi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x105488d0
mov ecx, dword [esp + 0x24]
jmp 0x105488fd
mov ecx, esi
mov esi, dword [esp + 0x18]
add edx, ecx
add ecx, ebx
add esi, 0xfffffffd
mov dword [esp + 0x68], ecx
cmp ecx, esi
jae 0x10548944
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x1054891e
bsf ecx, eax
shr ecx, 3
jmp 0x1054896c
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x10548944
nop dword [eax + eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x105489da
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x10548930
mov esi, dword [esp + 0x18]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x1054895d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x1054895d
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x10548968
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10548968
inc ecx
sub ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x24]
mov edx, ebx
mov eax, dword [ebp + 0xc]
add esi, ecx
mov ecx, dword [esp + 0x18]
sub edx, edi
add ecx, 0xffffffe0
mov dword [esp + 0x68], edx
cmp ebx, ecx
ja 0x105489e4
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x105489f4
mov ecx, dword [ebp + 0xc]
lea eax, [edx - 0x10]
movups xmm0, xmmword [edi + 0x10]
add ecx, 0x10
lea ebp, [ecx + eax]
mov dword [esp + 0x68], ebp
mov ebp, dword [esp + 0x60]
movups xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x105489f4
lea eax, [ecx + 0x10]
lea ecx, [edi + 0x20]
mov edi, dword [esp + 0x68]
nop dword [eax]
movups xmm0, xmmword [ecx]
lea ecx, [ecx + 0x20]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ecx - 0x10]
movups xmmword [eax + 0x10], xmm0
add eax, 0x20
cmp eax, edi
jb 0x105489c0
jmp 0x105489f4
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x10548968
push ecx
push ebx
push edi
push eax
call fcn.1054a9a0
mov edx, dword [esp + 0x78]
add esp, 0x10
add dword [ebp + 0xc], edx
cmp edx, 0xffff
jbe 0x10548a12
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 3
mov dword [ebp + 0x24], 1
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x40]
mov word [eax + 4], dx
mov eax, dword [ebp + 4]
mov dword [eax], ecx
lea ecx, [esi - 3]
cmp ecx, 0xffff
jbe 0x10548a40
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 3
mov dword [ebp + 0x24], 2
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 4]
add ebx, esi
mov edi, ebx
mov dword [esp + 0x68], edi
mov word [eax + 6], cx
add dword [ebp + 4], 8
cmp ebx, dword [esp + 0x28]
ja 0x10548c0a
mov eax, dword [esp + 0x5c]
mov esi, dword [esp + 0x3c]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + eax + 6]
push dword [esi + eax + 2]
call fcn.10511b50
mov ecx, dword [esp + 0x1c]
call fcn.10512520
mov ecx, eax
lea eax, [esi + 2]
mov esi, dword [esp + 0x10]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esi + ecx*4], eax
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.10511b50
mov ecx, dword [esp + 0x1c]
call fcn.10512520
mov ecx, ebx
sub ecx, dword [esp + 0x5c]
sub ecx, 2
mov dword [esi + eax*4], ecx
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10548c0a
mov esi, dword [esp + 0x18]
add esi, 0xfffffffd
nop
mov eax, dword [ebx]
mov edx, ebx
sub edx, ecx
cmp eax, dword [edx]
jne 0x10548c06
lea eax, [ebx + 4]
add edx, 4
mov dword [esp + 0x68], eax
cmp eax, esi
jae 0x10548b18
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x10548afa
bsf ecx, ecx
shr ecx, 3
jmp 0x10548b42
add eax, 4
add edx, 4
cmp eax, esi
jae 0x10548b18
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x10548b9d
add eax, 4
add edx, 4
cmp eax, esi
jb 0x10548b04
mov ecx, dword [esp + 0x18]
dec ecx
cmp eax, ecx
jae 0x10548b2f
mov cx, word [edx]
cmp cx, word [eax]
jne 0x10548b2f
add eax, 2
add edx, 2
cmp eax, dword [esp + 0x18]
jae 0x10548b3c
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x10548b3c
inc eax
mov ecx, eax
sub ecx, dword [esp + 0x68]
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
lea eax, [ecx + 4]
mov ecx, dword [esp + 0x78]
push dword [ebx]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x7c], eax
call fcn.10511b50
mov ecx, dword [esp + 0x1c]
call fcn.10512520
mov edx, dword [esp + 0x10]
mov ecx, ebx
sub ecx, dword [esp + 0x5c]
add ebx, dword [esp + 0x68]
mov dword [edx + eax*4], ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0xc]
add ecx, 0xffffffe0
cmp edi, ecx
ja 0x10548bab
movups xmm0, xmmword [edi]
movups xmmword [eax], xmm0
jmp 0x10548bb7
bsf ecx, ecx
shr ecx, 3
sub ecx, dword [esp + 0x68]
add ecx, eax
jmp 0x10548b42
push ecx
push edi
push edi
push eax
call fcn.1054a9a0
add esp, 0x10
mov eax, dword [ebp + 4]
xor ecx, ecx
mov word [eax + 4], cx
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x68]
add ecx, 0xfffffffd
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x10548beb
mov eax, dword [ebp + 4]
sub eax, dword [ebp]
sar eax, 3
mov dword [ebp + 0x24], 2
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 4]
mov edi, ebx
mov word [eax + 6], cx
add dword [ebp + 4], 8
mov ecx, dword [esp + 0x14]
cmp ebx, dword [esp + 0x28]
jbe 0x10548ad0
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x44]
lea eax, [ebx + 0x80]
mov esi, dword [esp + 0x1c]
add edi, ebx
mov dword [esp + 0x40], eax
lea eax, [ebx + 1]
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [esp + 0x24], eax
cmp eax, dword [esp + 0x28]
jb 0x10548680
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x6c]
test edx, edx
je 0x10548c4b
test eax, eax
cmovne ecx, edx
mov esi, dword [esp + 0x64]
test eax, eax
pop edi
cmovne edx, eax
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esi], edx
cmovne ecx, eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x64]
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x48
ret