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

Disassembly:
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
push ebx
mov ebx, dword [esp + 0x70]
mov ecx, dword [eax + 0x5c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0xc0]
mov dword [esp + 0x3c], ecx
mov ecx, dword [eax + 0x64]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0xbc]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 4]
sub ebx, ecx
add ebx, edx
mov dword [esp + 4], ecx
mov ecx, dword [eax + 0xb8]
push ebp
push esi
mov esi, dword [eax + 0x18]
push edi
mov dword [esp + 0x24], ebx
mov edi, 1
mov ebx, dword [eax + 0xc]
shl edi, cl
mov ecx, dword [esp + 0x24]
mov eax, ecx
sub eax, ebx
sub ecx, edi
cmp eax, edi
mov eax, dword [esp + 0x10]
cmovbe ecx, ebx
test esi, esi
cmovne ecx, ebx
add eax, ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
lea eax, [ecx + edx]
mov edx, dword [esp + 0x78]
mov dword [esp + 0x70], eax
add eax, 0xfffffff8
mov dword [esp + 0x28], eax
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x20], edx
xor edx, edx
cmp ecx, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
sete al
mov dword [esp + 0x54], edx
add eax, ecx
mov edx, ebx
mov dword [esp + 0x58], eax
sub eax, dword [esp + 0x10]
mov ecx, eax
mov dword [esp + 0x80], eax
sub eax, edi
sub ecx, ebx
cmp ecx, edi
mov ecx, dword [esp + 0x20]
cmova edx, eax
mov eax, dword [esp + 0x80]
test esi, esi
cmovne edx, ebx
sub eax, edx
cmp ecx, eax
jbe 0x1054ee2d
xor edx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], edx
mov ecx, dword [esp + 0x14]
cmp ecx, eax
jbe 0x1054ee41
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x58]
lea edx, [ebx + 1]
lea edi, [ebx + 0x100]
mov dword [esp + 0x80], edx
mov dword [esp + 0x50], edi
cmp edx, dword [esp + 0x28]
ja 0x1054f6be
mov eax, 0x20
mov esi, 0x40
sub eax, dword [esp + 0x4c]
sub esi, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x3c], esi
nop dword [eax]
mov eax, dword [ebx]
push 0xcf1bbcdc
push 0xb7a56463
push dword [ebx + 4]
mov dword [esp + 0x64], eax
push eax
call fcn.10511b50
mov ecx, esi
call fcn.10512520
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + eax*4]
add esi, eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], eax
xor eax, eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x2c], 1
sbb eax, eax
neg eax
mov dword [esp + 0x60], eax
nop word [eax + eax]
imul eax, ecx, 0x9e3779b1
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x64], edi
mov edi, ebx
sub edi, dword [esp + 0x10]
shr eax, cl
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x68], edi
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x58], ecx
add ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x38]
mov dword [ecx + eax*4], edi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword [ecx + eax*4], edi
mov edi, ebx
sub edi, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [edi + 1]
cmp eax, dword [ebx + 1]
sete cl
test dword [esp + 0x60], ecx
jne 0x1054f330
mov edi, dword [edx]
push 0xcf1bbcdc
push 0xb7a56463
push dword [edx + 4]
push edi
call fcn.10511b50
mov ecx, dword [esp + 0x3c]
call fcn.10512520
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x40], eax
jbe 0x1054ef7c
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
cmp dword [esi], eax
jne 0x1054ef7c
cmp dword [esi + 4], ecx
je 0x1054f000
mov ebp, dword [esp + 0x1c]
mov ecx, edi
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x34], edi
mov esi, dword [ebp + esi*4]
mov ebp, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [esp + 0x40], esi
add esi, dword [esp + 0x10]
cmp dword [esp + 0x58], ebp
jbe 0x1054efc2
mov ebp, dword [ebx]
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x48]
cmp dword [edi], ebp
mov ebp, dword [esp + 0x74]
mov edi, dword [edx]
je 0x1054f17f
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0x2c]
cmp edx, edi
jb 0x1054efdd
inc eax
add edi, 0x100
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], edi
cmp edx, dword [esp + 0x64]
mov ebx, edx
cmovb ecx, dword [esp + 0x34]
add edx, eax
mov dword [esp + 0x80], edx
cmp edx, dword [esp + 0x28]
jbe 0x1054eee0
jmp 0x1054f6be
mov edi, dword [esp + 0x70]
lea ecx, [ebx + 8]
add edi, 0xfffffffd
mov dword [esp + 0x50], ecx
lea edx, [esi + 8]
cmp ecx, edi
jae 0x1054f044
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x1054f023
bsf ecx, eax
shr ecx, 3
jmp 0x1054f06c
add ecx, 4
add edx, 4
cmp ecx, edi
jae 0x1054f044
nop dword [eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x1054f172
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x1054f030
mov edi, dword [esp + 0x70]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1054f05d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x1054f05d
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x1054f068
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1054f068
inc ecx
sub ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x7c]
lea edi, [ecx + 8]
mov eax, ebx
sub eax, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x1054f0ac
nop dword [eax]
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x1054f0ac
dec ebx
inc edi
cmp dword [esp + 0x18], esi
sbb ecx, ecx
neg ecx
cmp edx, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x1054f090
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
cmp dword [esp + 0x2c], 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
jae 0x1054f0dd
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
sub edx, dword [esp + 0x10]
mov dword [ecx + eax*4], edx
mov eax, dword [esp + 0x70]
lea ecx, [ebp + 0xc]
add eax, 0xffffffe0
mov dword [esp + 0x64], ecx
mov edx, ebx
mov dword [esp + 0x7c], eax
mov eax, dword [ecx]
sub edx, esi
mov dword [esp + 0x80], edx
cmp ebx, dword [esp + 0x7c]
ja 0x1054f2e1
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x1054f2fb
mov ebp, dword [ecx]
lea eax, [edx - 0x10]
movups xmm0, xmmword [esi + 0x10]
add ebp, 0x10
mov dword [esp + 0x7c], ebp
lea edx, [eax + ebp]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x80]
movups xmmword [ebp], xmm0
mov ebp, dword [esp + 0x74]
cmp eax, 0x10
jle 0x1054f2fb
mov eax, dword [esp + 0x7c]
lea ecx, [esi + 0x20]
mov esi, dword [esp + 0x64]
add eax, 0x10
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, esi
jb 0x1054f152
lea ecx, [ebp + 0xc]
jmp 0x1054f2fb
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x1054f068
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x40], ecx
jbe 0x1054f1f9
cmp dword [esi], edi
jne 0x1054f1f9
cmp dword [esi + 4], eax
jne 0x1054f1f9
push dword [esp + 0x70]
lea eax, [esi + 8]
mov ebx, edx
push eax
lea eax, [edx + 8]
push eax
call fcn.1054a920
mov edx, dword [esp + 0x8c]
add esp, 0xc
lea edi, [eax + 8]
mov eax, edx
sub eax, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x34], eax
sbb ecx, ecx
neg ecx
cmp dword [esp + 0x7c], edx
sbb eax, eax
neg eax
test eax, ecx
je 0x1054f0b3
mov al, byte [ebx - 1]
dec esi
cmp al, byte [esi]
jne 0x1054f0b3
dec ebx
inc edi
cmp dword [esp + 0x18], esi
sbb ecx, ecx
neg ecx
cmp dword [esp + 0x7c], ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x1054f1d2
jmp 0x1054f0b3
mov esi, dword [esp + 0x70]
lea ecx, [ebx + 4]
mov edx, dword [esp + 0x48]
add esi, 0xfffffffd
add edx, 4
mov edi, ecx
cmp ecx, esi
jae 0x1054f244
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x1054f21e
bsf ecx, eax
shr ecx, 3
jmp 0x1054f26a
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x1054f244
nop dword [eax + eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x1054f2d7
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x1054f230
mov esi, dword [esp + 0x70]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x1054f25d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x1054f25d
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x1054f268
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1054f268
inc ecx
sub ecx, edi
mov esi, dword [esp + 0x7c]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x48]
mov eax, ebx
sub eax, ecx
cmp dword [esp + 0x18], ecx
mov dword [esp + 0x34], eax
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x1054f2cb
mov edx, dword [esp + 0x58]
add edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
nop dword [eax + eax]
lea eax, [ebx - 1]
mov dword [esp + 0x7c], eax
lea ecx, [edx - 1]
mov al, byte [eax]
mov edx, ecx
cmp al, byte [ecx]
jne 0x1054f2c7
mov ebx, dword [esp + 0x7c]
inc edi
cmp ebp, edx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x1054f2a0
mov ebp, dword [esp + 0x74]
mov edx, dword [esp + 0x80]
jmp 0x1054f0b7
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x1054f268
push dword [esp + 0x7c]
push ebx
push esi
push eax
call fcn.1054a9a0
mov ecx, dword [esp + 0x74]
add esp, 0x10
mov edx, dword [esp + 0x80]
add dword [ecx], edx
cmp edx, 0xffff
jbe 0x1054f318
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 + 0x34]
add ecx, 3
mov word [eax + 4], dx
mov eax, dword [ebp + 4]
mov dword [eax], ecx
jmp 0x1054f47d
mov esi, dword [esp + 0x70]
lea ecx, [ebx + 5]
add esi, 0xfffffffd
lea edx, [edi + 5]
mov edi, ecx
cmp ecx, esi
jae 0x1054f374
mov eax, dword [ecx]
xor eax, dword [edx]
je 0x1054f351
bsf ecx, eax
shr ecx, 3
jmp 0x1054f39a
add ecx, 4
add edx, 4
cmp ecx, esi
jae 0x1054f374
nop dword [eax + eax]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x1054f42d
add ecx, 4
add edx, 4
cmp ecx, esi
jb 0x1054f360
mov esi, dword [esp + 0x70]
lea eax, [esi - 1]
cmp ecx, eax
jae 0x1054f38d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x1054f38d
add ecx, 2
add edx, 2
cmp ecx, esi
jae 0x1054f398
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1054f398
inc ecx
sub ecx, edi
mov eax, dword [esp + 0x70]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x7c]
lea esi, [ebp + 0xc]
inc ebx
add eax, 0xffffffe0
mov edx, ebx
mov dword [esp + 0x7c], eax
mov eax, dword [esi]
sub edx, ecx
mov dword [esp + 0x80], edx
cmp ebx, dword [esp + 0x7c]
ja 0x1054f43a
movups xmm0, xmmword [ecx]
movups xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x1054f450
mov ebp, dword [esi]
lea eax, [edx - 0x10]
movups xmm0, xmmword [ecx + 0x10]
add ebp, 0x10
mov dword [esp + 0x7c], ebp
lea edx, [eax + ebp]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x80]
movups xmmword [ebp], xmm0
mov ebp, dword [esp + 0x74]
cmp eax, 0x10
jle 0x1054f450
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
add eax, 0x10
add ecx, 0x20
nop
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, esi
jb 0x1054f410
lea esi, [ebp + 0xc]
jmp 0x1054f450
bsf eax, eax
shr eax, 3
add ecx, eax
jmp 0x1054f398
push dword [esp + 0x7c]
push ebx
push ecx
push eax
call fcn.1054a9a0
mov edx, dword [esp + 0x90]
add esp, 0x10
add dword [esi], edx
cmp edx, 0xffff
jbe 0x1054f46d
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 word [eax + 4], dx
mov eax, dword [ebp + 4]
mov dword [eax], 1
lea ecx, [edi - 3]
cmp ecx, 0xffff
jbe 0x1054f49b
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 word [eax + 6], cx
add dword [ebp + 4], 8
mov eax, dword [esp + 0x28]
add ebx, edi
mov dword [esp + 0x7c], ebx
cmp ebx, eax
ja 0x1054f69e
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
add edi, 2
push 0xcf1bbcdc
push 0xb7a56463
push dword [edi + eax + 4]
push dword [edi + eax]
call fcn.10511b50
mov ecx, dword [esp + 0x3c]
call fcn.10512520
mov ecx, dword [esp + 0x1c]
push 0xcf1bbcdc
push 0xb7a56463
mov dword [ecx + eax*4], edi
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.10511b50
mov ecx, dword [esp + 0x3c]
call fcn.10512520
mov edx, dword [esp + 0x10]
mov ecx, eax
mov ebp, dword [esp + 0x1c]
mov esi, ebx
sub esi, edx
lea eax, [esi - 2]
mov dword [ebp + ecx*4], eax
imul eax, dword [edi + edx], 0x9e3779b1
mov ecx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x38]
shr eax, cl
mov dword [ebp + eax*4], edi
lea eax, [esi - 1]
imul edx, dword [ebx - 1], 0x9e3779b1
shr edx, cl
mov dword [ebp + edx*4], eax
mov ebp, dword [esp + 0x74]
mov eax, dword [ebx]
mov edx, ebx
sub edx, dword [esp + 0x20]
xor ecx, ecx
mov esi, dword [esp + 0x70]
cmp eax, dword [edx]
sete cl
xor eax, eax
cmp eax, dword [esp + 0x20]
sbb eax, eax
neg eax
test eax, ecx
je 0x1054f69a
lea eax, [ebx + 4]
add esi, 0xfffffffd
add edx, 4
mov edi, eax
cmp eax, esi
jae 0x1054f5a5
mov ecx, dword [eax]
xor ecx, dword [edx]
je 0x1054f587
bsf ecx, ecx
shr ecx, 3
jmp 0x1054f5cd
add eax, 4
add edx, 4
cmp eax, esi
jae 0x1054f5a5
mov ecx, dword [eax]
xor ecx, dword [edx]
jne 0x1054f633
add eax, 4
add edx, 4
cmp eax, esi
jb 0x1054f591
mov esi, dword [esp + 0x70]
lea ecx, [esi - 1]
cmp eax, ecx
jae 0x1054f5be
mov cx, word [edx]
cmp cx, word [eax]
jne 0x1054f5be
add eax, 2
add edx, 2
cmp eax, esi
jae 0x1054f5c9
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x1054f5c9
inc eax
mov ecx, eax
sub ecx, edi
mov eax, dword [esp + 0x20]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x14]
mov esi, ebx
sub esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
imul eax, dword [ebx], 0x9e3779b1
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x4c]
push 0xcf1bbcdc
push 0xb7a56463
shr eax, cl
mov ecx, dword [esp + 0x40]
mov dword [ecx + eax*4], esi
push dword [ebx + 4]
push dword [ebx]
call fcn.10511b50
mov ecx, dword [esp + 0x3c]
call fcn.10512520
mov ecx, dword [esp + 0x1c]
mov dword [ecx + eax*4], esi
mov esi, dword [esp + 0x70]
mov eax, dword [ebp + 0xc]
add esi, 0xffffffe0
cmp ebx, esi
ja 0x1054f63f
movups xmm0, xmmword [ebx]
movups xmmword [eax], xmm0
jmp 0x1054f64b
bsf ecx, ecx
shr ecx, 3
sub ecx, edi
add ecx, eax
jmp 0x1054f5cd
push esi
push ebx
push ebx
push eax
call fcn.1054a9a0
add esp, 0x10
mov eax, dword [ebp + 4]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [edi - 3]
mov eax, dword [ebp + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x1054f67b
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, edi
mov dword [esp + 0x7c], ebx
mov word [eax + 6], cx
add dword [ebp + 4], 8
mov eax, dword [esp + 0x28]
cmp ebx, eax
jbe 0x1054f545
jmp 0x1054f69e
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x3c]
lea edx, [ebx + 1]
mov dword [esp + 0x80], edx
lea edi, [ebx + 0x100]
mov dword [esp + 0x50], edi
cmp edx, eax
jbe 0x1054ee80
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x14]
test edx, edx
je 0x1054f6d3
test eax, eax
cmovne ecx, edx
mov esi, dword [esp + 0x78]
test eax, eax
pop edi
cmovne edx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esi], edx
cmovne ecx, eax
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x78]
mov dword [esi + 4], ecx
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret