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

Disassembly:
sub esp, 0xb0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0xc4]
xor esi, esi
mov ebx, dword [esp + 0xc8]
imul ebp, ebx, 0x544
push 0x2c
mov eax, dword [edi]
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x24]
add ebp, edi
mov dword [esp + 0x88], ecx
push esi
mov dword [esp + 0x54], 0
lea eax, [ecx + eax*4]
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0xabc]
mov ecx, dword [eax + 0x28]
mov eax, 0x24924925
mul ecx
lea eax, [esp + 0x9c]
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 3
push eax
mov dword [esp + 0x7c], ecx
call fcn.0059c4a0
mov eax, dword [ebp + 0x44]
add esp, 0xc
mov dword [ebp + 0x2c], esi
mov ecx, dword [edi + 0x18]
cdq
xor eax, edx
mov dword [esp + 0xb0], 0x7d00
sub eax, edx
mov byte [esp + 0x94], 0
mov edx, dword [edi + 0x1c]
lea ecx, [ecx + ecx*4]
shl ecx, 3
add ecx, edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x88], eax
test ebx, ebx
jne 0x551db7
cmp edx, ecx
jae 0x551dd5
nop dword [eax]
movsx eax, word [edx + 0xc]
mov dword [edx + 0x18], eax
movsx eax, word [edx + 0xe]
mov dword [edx + 0x1c], eax
add edx, 0x28
cmp edx, ecx
jb 0x551da0
jmp 0x551dd5
cmp edx, ecx
jae 0x551dd5
nop dword [eax + eax]
movsx eax, word [edx + 0xe]
mov dword [edx + 0x18], eax
movsx eax, word [edx + 0xc]
mov dword [edx + 0x1c], eax
add edx, 0x28
cmp edx, ecx
jb 0x551dc0
mov eax, dword [esp + 0x84]
cmp eax, dword [esp + 0x90]
jae 0x5525a4
nop dword [eax]
mov ebx, dword [eax]
xor edi, edi
mov edx, 0xffff8300
mov dword [esp + 0x3c], edi
mov ecx, 0x7d00
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x58], 0
mov dword [esp + 0x38], 0x7d00
mov dword [esp + 0x28], edx
mov al, byte [eax + 3]
movsx edi, al
test al, al
mov dword [esp + 0x14], edi
mov edi, 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], edx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
jns 0x551e75
neg eax
cmp eax, dword [esp + 0x68]
jne 0x551ebb
mov al, byte [ebx + 3]
movsx edi, al
test al, al
mov dword [esp + 0x14], edi
mov eax, edi
jns 0x551e8d
neg eax
cmp eax, dword [esp + 0x68]
jne 0x551ebb
mov dword [esp + 0x6c], ebx
mov ebx, dword [ebx + 0x24]
mov al, byte [ebx + 3]
movsx ecx, al
test al, al
jns 0x551ea6
neg ecx
cmp ecx, dword [esp + 0x68]
jne 0x551eb4
cmp ebx, dword [esp + 0x6c]
jne 0x551e97
jmp 0x551eb7
mov ebx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x23], 0
nop dword [eax + eax]
mov edi, dword [esp + 0x48]
movzx edi, di
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ecx
test eax, eax
je 0x552348
mov ecx, dword [ebx + 0x18]
mov edi, ecx
cmp ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x30]
cmovge edi, dword [esp + 0x38]
cmp ecx, edx
movzx eax, ax
cmovle ecx, edx
mov dword [esp + 0x38], edi
mov edx, ecx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x2c]
cmp dword [ebx + 0x1c], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x50], edx
movzx edx, word [ebx]
mov ecx, edx
cmovge ecx, eax
movzx eax, cx
mov ecx, edx
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x1c]
cmp eax, edi
cmovge eax, edi
mov edi, dword [ebx + 0x1c]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
movzx eax, ax
cmovle ecx, eax
movzx eax, cx
mov ecx, edi
cmovle ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ecx
test dl, 3
jne 0x551f86
mov eax, dword [ebx + 0x1c]
cmp eax, dword [esp + 0x24]
cmovge eax, dword [esp + 0x24]
mov edx, eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x24], edx
cmp eax, dword [esp + 0x1c]
jle 0x551f86
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], edx
movsx eax, byte [ebx + 3]
mov edx, dword [esp + 0x30]
cmp eax, dword [esp + 0x88]
jne 0x551fb3
mov eax, dword [esp + 0x2c]
movzx eax, ax
mov dword [esp + 0x44], eax
movzx eax, dx
mov dword [esp + 0x48], eax
cmp ebx, dword [esp + 0x6c]
jne 0x552360
test edi, edi
je 0x552276
mov eax, dword [edi + 0x28]
cmp dword [esi + 0x24], eax
jne 0x552276
mov al, byte [eax + 2]
cmp al, byte [ebx + 2]
jne 0x5520f1
mov esi, dword [esp + 0x54]
mov ecx, esi
cmp esi, dword [esp + 0x14]
mov esi, dword [esp + 0x34]
cmovge ecx, dword [esp + 0x14]
cmp esi, dword [esp + 0x50]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x38], ecx
mov ecx, esi
cmovle ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x5c], esi
mov dword [esp + 0x28], ecx
movzx ecx, ax
movzx eax, dx
cmovge ecx, eax
mov dword [edi + 0x28], ebx
movzx edx, cx
mov eax, edx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
cmovge eax, esi
mov esi, eax
mov eax, dword [esp + 0x78]
movzx ecx, ax
mov eax, dword [esp + 0x2c]
movzx eax, ax
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x60], esi
cmovle ecx, eax
movzx eax, cx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x60]
cmovle eax, esi
mov esi, eax
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x7c]
mov ecx, esi
cmp esi, dword [esp + 0x24]
mov esi, dword [esp + 0x80]
mov eax, esi
cmovge ecx, dword [esp + 0x24]
cmp esi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmovle eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x38]
sar eax, 1
mov word [edi + 2], ax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x38]
sar eax, 1
mov word [edi + 4], ax
mov al, byte [esp + 0x14]
or al, dl
mov dword [esp + 0x24], ecx
test al, 3
je 0x5520b8
mov eax, dword [esp + 0x1c]
sub eax, ecx
cmp eax, dword [esp + 0x70]
jge 0x5520b8
or byte [edi], 1
jmp 0x5520bb
and byte [edi], 0xfe
mov ecx, dword [esp + 0x10]
movzx ecx, cx
movzx eax, si
mov word [edi + 8], ax
sub eax, ecx
mov word [edi + 0xa], ax
mov eax, dword [esp + 0x50]
mov word [edi + 6], cx
dec dword [ebp + 0x2c]
movzx ecx, ax
mov eax, dword [esp + 0x14]
movzx edx, ax
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
jmp 0x552340
mov eax, ecx
sub eax, dword [esp + 0x10]
cdq
mov ecx, eax
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x5c]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x552182
mov ecx, dword [esp + 0x14]
mov esi, ecx
cmp ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov eax, edx
cmovge esi, dword [esp + 0x54]
cmp edx, dword [esp + 0x34]
mov dword [esp + 0x38], ecx
cmovle eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x34], eax
add eax, esi
sar eax, 1
mov word [edi + 2], ax
mov eax, dword [esp + 0x34]
sub eax, esi
mov dword [esp + 0x54], esi
mov esi, dword [esp + 0x30]
sar eax, 1
mov word [edi + 4], ax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
movzx edx, ax
movzx ecx, si
mov dword [edi + 0x28], ebx
dec dword [ebp + 0x2c]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
jmp 0x552340
mov edx, dword [esp + 0x54]
mov ecx, edx
cmp edx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
cmovge ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
cmp edx, eax
mov dword [esp + 0x38], ecx
cmovle edx, eax
mov dword [esi + 0x28], ebx
mov dword [esp + 0x28], edx
lea eax, [edx + ecx]
sar eax, 1
mov word [esi + 2], ax
mov eax, edx
sub eax, ecx
sar eax, 1
mov word [esi + 4], ax
mov al, byte [esp + 0x30]
or al, byte [esp + 0x2c]
test al, 3
je 0x5521d9
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x70]
jge 0x5521d9
or byte [esi], 1
mov eax, dword [esp + 0x10]
movzx ecx, ax
mov eax, dword [esp + 0x18]
mov word [esi + 6], cx
movzx eax, ax
mov word [esi + 8], ax
sub eax, ecx
mov word [esi + 0xa], ax
movups xmm0, xmmword [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], edx
movups xmmword [edi], xmm0
mov dword [esp + 0x60], ecx
movups xmm0, xmmword [esi + 0x10]
mov dword [esp + 0x18], ecx
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [edi + 0x20], xmm0
mov eax, dword [esi + 0x28]
mov esi, dword [esp + 0x10]
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x38]
dec dword [ebp + 0x2c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x30]
movzx edx, ax
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
movzx edi, dx
mov dword [esp + 0x78], edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x7c], edi
mov edi, dword [esp + 0x1c]
movzx edx, dx
movzx ecx, ax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
jmp 0x552340
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x28], ebx
lea eax, [ecx + edx]
sar eax, 1
mov word [esi + 2], ax
mov eax, ecx
sub eax, edx
sar eax, 1
mov word [esi + 4], ax
mov al, byte [esp + 0x30]
or al, byte [esp + 0x2c]
test al, 3
je 0x5522b1
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x70]
jge 0x5522b1
or byte [esi], 1
mov eax, dword [esp + 0x10]
movzx ecx, ax
mov eax, dword [esp + 0x18]
movzx eax, ax
mov word [esi + 8], ax
sub eax, ecx
mov word [esi + 0xa], ax
mov eax, dword [esp + 0x50]
mov word [esi + 6], cx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x2c]
movzx esi, si
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x2c]
movzx eax, ax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
movzx esi, si
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x1c]
movzx eax, ax
mov dword [esp + 0x54], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x80], esi
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], eax
xor eax, eax
xor esi, esi
mov dword [esp + 0x58], eax
cmp ebx, dword [esp + 0x6c]
jne 0x552364
cmp byte [esp + 0x23], 0
jne 0x552586
mov byte [esp + 0x23], 1
jmp 0x552364
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x552576
mov al, byte [ebx + 3]
movsx ecx, al
test al, al
mov byte [esp + 0x43], al
mov eax, ecx
jns 0x55237e
neg eax
cmp eax, dword [esp + 0x68]
je 0x55238d
cmp ebx, dword [ebx + 0x24]
jne 0x552572
xor edx, edx
mov dword [esp + 0x88], ecx
mov ecx, dword [ebp + 0x2c]
xor esi, esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x64], edx
cmp ecx, 0x12
jge 0x5523c3
cmp dword [ebp + 0x34], edx
jne 0x55248d
lea eax, [ebp + 0x48]
mov dword [ebp + 0x30], 0x12
mov dword [ebp + 0x34], eax
jmp 0x55248d
mov edx, dword [ebp + 0x30]
cmp ecx, edx
jl 0x55248b
cmp edx, 0x2e8ba2e
jge 0x5525fb
mov eax, edx
sar eax, 2
add eax, 4
add eax, edx
mov dword [esp + 0x14], eax
cmp eax, edx
jl 0x5523f3
cmp eax, 0x2e8ba2e
jle 0x5523fc
mov eax, 0x2e8ba2e
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 0x34]
lea edi, [ebp + 0x48]
cmp ecx, edi
jne 0x552453
lea ecx, [esp + 0x64]
push ecx
push 0
push eax
push 0
push 0x2c
push dword [esp + 0xa0]
call fcn.0054aa90
mov edx, dword [esp + 0x7c]
add esp, 0x18
mov dword [ebp + 0x34], eax
mov dword [esp + 0x4c], edx
test edx, edx
jne 0x55260b
mov esi, edi
mov ecx, 0xc6
mov edi, eax
mov eax, dword [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov edx, dword [esp + 0x64]
mov ecx, dword [ebp + 0x2c]
mov dword [esp + 0x4c], edx
mov dword [ebp + 0x30], eax
jmp 0x55248d
lea edi, [esp + 0x64]
push edi
push ecx
push eax
push edx
push 0x2c
push dword [esp + 0xa0]
call fcn.0054aa90
mov edx, dword [esp + 0x7c]
add esp, 0x18
mov dword [ebp + 0x34], eax
mov dword [esp + 0x4c], edx
test edx, edx
jne 0x55260b
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0x2c]
mov dword [ebp + 0x30], eax
jmp 0x55248d
mov edx, esi
imul esi, ecx, 0x2c
lea eax, [ecx + 1]
mov dword [ebp + 0x2c], eax
add esi, dword [ebp + 0x34]
test edx, edx
jne 0x55260b
movups xmm0, xmmword [esp + 0x94]
mov ecx, dword [esp + 0x3c]
lea edi, [esi - 0x2c]
mov al, byte [esp + 0x43]
test ecx, ecx
movups xmmword [esi], xmm0
cmove edi, ecx
movups xmm0, xmmword [esp + 0xa4]
mov dword [esp + 0x3c], edi
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [esp + 0xb4]
movq qword [esi + 0x20], xmm0
mov byte [esi + 1], al
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
movzx eax, word [ebx]
mov edx, dword [ebx + 0x18]
mov edi, eax
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x44], edi
movzx edi, di
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x48], edi
test al, 3
je 0x55251f
mov dword [esp + 0x24], 0x7d00
mov dword [esp + 0x1c], 0xffff8300
jmp 0x552529
mov eax, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov eax, 1
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
cmp ebx, dword [ebx + 0x24]
jne 0x55257a
mov word [esi + 2], dx
test byte [ebx], 3
je 0x552546
or byte [esi], al
movzx eax, word [ebx + 0x1c]
mov ecx, dword [esp + 0x10]
mov word [esi + 6], ax
movzx eax, word [ebx + 0x1c]
mov word [esi + 8], ax
xor eax, eax
mov word [esi + 0xa], ax
xor esi, esi
mov ebx, dword [ebx + 0x20]
mov dword [esp + 0x58], eax
mov dword [esp + 0x3c], edi
jmp 0x551ed0
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x28]
mov ebx, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
jmp 0x551ed0
mov eax, dword [esp + 0x84]
add eax, 4
mov dword [esp + 0x84], eax
cmp eax, dword [esp + 0x90]
jb 0x551df0
imul ecx, dword [ebp + 0x2c], 0x2c
mov esi, dword [ebp + 0x34]
lea eax, [ecx + esi]
cmp esi, eax
jae 0x55263c
dec ecx
mov eax, 0xba2e8ba3
mul ecx
add esi, 0xa
mov ebx, edx
shr ebx, 5
inc ebx
mov eax, dword [esi + 0x1a]
mov edi, dword [esi + 0x1e]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x24]
mov ecx, dword [edi + 0x1c]
mov eax, dword [eax + 0x1c]
cmp edx, ecx
jge 0x552618
cmp eax, edx
jge 0x5525e8
sub edx, eax
sar edx, 1
add word [esi], dx
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, ecx
jle 0x552634
sub eax, ecx
sar eax, 1
add word [esi], ax
jmp 0x552634
pop edi
pop esi
pop ebp
mov eax, 0x40
pop ebx
add esp, 0xb0
ret
pop edi
pop esi
pop ebp
mov eax, edx
pop ebx
add esp, 0xb0
ret
cmp eax, edx
jle 0x552623
sub eax, edx
sar eax, 1
add word [esi], ax
mov eax, dword [edi + 0x20]
mov eax, dword [eax + 0x1c]
cmp eax, ecx
jge 0x552634
sub ecx, eax
sar ecx, 1
add word [esi], cx
add esi, 0x2c
sub ebx, 1
jne 0x5525c7
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret