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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xcc]
mov dword [esp + 4], edx
xor edx, edx
test eax, eax
push ebx
mov ebx, dword [ebp + 0xc]
sete dl
add edx, eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
push esi
mov esi, dword [esp + 0x24]
add esi, eax
mov dword [esp + 0x6c], edx
mov eax, dword [ebp + 0x10]
add edx, ebx
add eax, ebx
mov dword [esp + 0x34], edx
mov edx, dword [ebp + 8]
mov dword [esp + 8], eax
add eax, 0xfffffff8
mov dword [esp + 0x28], eax
push edi
mov edi, dword [ecx + 0xc0]
mov ecx, dword [ecx + 0xb4]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov eax, dword [edx + 4]
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], esi
mov esi, dword [ecx]
mov ecx, dword [ecx + 0xc0]
mov dword [esp + 0x78], edx
add ecx, 8
add edx, eax
mov dword [esp + 0x3c], esi
sub eax, esi
mov dword [esp + 0x68], edx
add eax, dword [esp + 0x18]
mov dword [esp + 0x54], eax
mov eax, esi
sub eax, edx
mov edx, dword [esp + 0x38]
sub eax, dword [esp + 0x20]
add eax, ebx
xor ebx, ebx
test eax, eax
mov eax, dword [ebp + 0xc]
sete bl
add ebx, eax
cmp edx, dword [esp + 0x2c]
ja 0x5d9816
mov eax, 0x20
sub eax, edi
mov dword [esp + 0x40], eax
mov eax, 0x20
sub eax, ecx
mov dword [esp + 0x74], eax
jmp 0x5d8f90
imul edx, dword [ebx], 0x9e3779b1
mov esi, dword [esp + 0x40]
mov ecx, esi
mov edi, edx
shr edi, cl
mov ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x58]
mov eax, edx
shr eax, 8
mov dword [esp + 0x64], edi
mov eax, dword [ecx + eax*4]
xor ecx, ecx
mov dword [esp + 0x1c], eax
xor eax, edx
test al, al
mov eax, dword [esp + 0x24]
sete cl
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
lea eax, [ebx + 0x100]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x60], eax
mov edi, dword [esp + 0x28]
mov edx, ebx
sub edx, edi
mov dword [esp + 0x44], edx
sub edx, dword [esp + 0x14]
inc edx
lea eax, [ecx + edi]
mov dword [esp + 0x6c], eax
cmp edx, dword [esp + 0x18]
jae 0x5d900c
mov edi, edx
sub edi, dword [esp + 0x54]
add edi, dword [esp + 0x48]
jmp 0x5d900e
add edi, edx
mov eax, dword [esp + 0x38]
mov ecx, esi
mov esi, dword [esp + 0x24]
imul eax, dword [eax], 0x9e3779b1
mov dword [esp + 0x4c], eax
shr dword [esp + 0x4c], cl
mov ecx, dword [esp + 0x74]
shr eax, cl
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x64]
mov dword [esi + eax*4], ecx
mov ecx, dword [esp + 0x18]
mov eax, ecx
mov esi, dword [esp + 0x10]
sub eax, edx
dec eax
cmp eax, 3
jb 0x5d9058
mov eax, dword [edi]
cmp eax, dword [ebx + 1]
je 0x5d9172
cmp dword [esp + 0x5c], 0
je 0x5d90e8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x48]
shr ecx, 8
add edx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x5c], edx
cmp ecx, dword [esp + 0x78]
jbe 0x5d90e8
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x5d90e8
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x34], eax
ja 0x5d90f2
mov eax, dword [esp + 0x44]
add edx, 4
mov edi, dword [esp + 0xc]
sub eax, ecx
sub eax, dword [esp + 0x54]
lea ecx, [ebx + 4]
mov dword [esp + 0x34], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x64], edx
add eax, dword [esp + 0x3c]
cmp eax, edi
cmovb edi, eax
lea eax, [ebx + 4]
mov dword [esp + 0x7c], edi
add edi, 0xfffffffd
cmp eax, edi
jae 0x5d9334
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
xor eax, dword [edx]
je 0x5d930f
bsf eax, eax
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
jmp 0x5d935f
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x34], eax
jbe 0x5d9100
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
cmp eax, dword [ebx]
je 0x5d949b
mov ecx, dword [esp + 0x7c]
mov eax, ecx
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x38]
shr eax, 8
mov eax, dword [edx + eax*4]
xor ecx, eax
mov edx, dword [esp + 0x60]
mov dword [esp + 0x1c], eax
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x24]
sete al
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
cmp edi, edx
jb 0x5d914f
inc ecx
add edx, 0x100
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], edx
mov ebx, edi
add edi, ecx
mov dword [esp + 0x38], edi
cmp edi, dword [esp + 0x2c]
ja 0x5d9813
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x64], eax
jmp 0x5d8fe2
mov eax, dword [esp + 0xc]
cmp edx, ecx
lea edx, [edi + 4]
mov edi, dword [esp + 0xc]
cmovb eax, dword [esp + 0x3c]
lea ecx, [ebx + 5]
mov dword [esp + 0x60], eax
mov eax, ecx
sub eax, edx
mov dword [esp + 0x64], edx
add eax, dword [esp + 0x60]
cmp eax, edi
cmovb edi, eax
lea eax, [ebx + 5]
mov dword [esp + 0x7c], edi
add edi, 0xfffffffd
cmp eax, edi
jae 0x5d91e4
mov eax, dword [edx]
lea ecx, [ebx + 5]
xor eax, dword [ecx]
je 0x5d91c1
bsf eax, eax
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
jmp 0x5d920f
add ecx, 4
add edx, 4
cmp ecx, edi
jae 0x5d91e4
jmp 0x5d91d0
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x5d92ae
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x5d91d0
mov edi, dword [esp + 0x7c]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5d91fd
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5d91fd
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x5d9208
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5d9208
inc ecx
mov edi, ecx
lea ecx, [ebx + 5]
sub edi, ecx
mov eax, dword [esp + 0x64]
add eax, edi
cmp eax, dword [esp + 0x60]
jne 0x5d922f
push dword [esp + 0xc]
mov edx, dword [esp + 0x24]
add ecx, edi
call fcn.0059fed0
add esp, 4
add edi, eax
mov eax, dword [ebp + 0xc]
inc ebx
mov edx, dword [esp + 0xc]
mov ecx, ebx
sub ecx, eax
add edx, 0xffffffe0
add eax, ecx
mov dword [esp + 0x50], ecx
add edi, 4
mov dword [esp + 0x1c], edx
cmp eax, edx
ja 0x5d92c9
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [edx]
movdqu xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x5d92dd
movdqu xmm0, xmmword [edx + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
lea esi, [ecx + eax]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x10]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x5d92d9
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x20
mov edi, edi
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [edx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x5d9290
jmp 0x5d92d9
bsf eax, eax
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
lea eax, [ebx + 5]
sub edi, eax
add edi, ecx
lea ecx, [ebx + 5]
jmp 0x5d920f
mov ecx, dword [esi + 0xc]
push edx
mov edx, dword [ebp + 0xc]
push eax
call fcn.0059a610
add esp, 8
mov ecx, dword [esp + 0x50]
add dword [esi + 0xc], ecx
cmp ecx, 0xffff
jbe 0x5d92fa
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], cx
mov eax, dword [esi + 4]
mov dword [eax], 1
jmp 0x5d964c
add ecx, 4
add edx, 4
cmp ecx, edi
jae 0x5d9334
lea esp, [esp]
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x5d9467
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x5d9320
mov edi, dword [esp + 0x7c]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5d934d
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5d934d
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x5d9358
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5d9358
inc ecx
mov edi, ecx
lea ecx, [ebx + 4]
sub edi, ecx
mov eax, dword [esp + 0x64]
add eax, edi
cmp eax, dword [esp + 0x3c]
jne 0x5d937f
push dword [esp + 0xc]
mov edx, dword [esp + 0x24]
add ecx, edi
call fcn.0059fed0
add esp, 4
add edi, eax
mov eax, dword [esp + 0x68]
add edi, 4
cmp eax, dword [esp + 0x5c]
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x5d93c5
mov edx, dword [esp + 0x1c]
add edx, dword [esp + 0x48]
mov esi, dword [ebp + 0xc]
mov al, byte [ebx - 1]
cmp al, byte [edx - 1]
jne 0x5d93c1
dec edx
dec ebx
inc edi
cmp dword [esp + 0x68], edx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x5d93a4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, ebx
sub ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
add eax, 0xffffffe0
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x50], ecx
cmp eax, dword [esp + 0x1c]
ja 0x5d9482
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [edx]
mov edx, dword [esp + 0x34]
movdqu xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x5d9620
mov edx, dword [ebp + 0xc]
lea eax, [ecx - 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
movdqu xmm0, xmmword [edx + 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x10]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x5d9492
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x20
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [edx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x5d9442
mov edx, dword [esp + 0x34]
jmp 0x5d961c
bsf eax, eax
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
lea eax, [ebx + 4]
sub edi, eax
add edi, ecx
lea ecx, [ebx + 4]
jmp 0x5d935f
push dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
push eax
call fcn.0059a610
add esp, 8
mov edx, dword [esp + 0x34]
jmp 0x5d961c
mov edi, dword [esp + 0xc]
lea edx, [ecx + 4]
mov eax, ebx
add edi, 0xfffffffd
sub eax, ecx
lea ecx, [ebx + 4]
mov dword [esp + 0x38], eax
mov dword [esp + 0x64], ecx
cmp ecx, edi
jae 0x5d94e8
mov eax, dword [edx]
xor eax, dword [ecx]
je 0x5d94ca
bsf eax, eax
mov dword [esp + 0x7c], eax
shr eax, 3
jmp 0x5d9512
add ecx, 4
add edx, 4
cmp ecx, edi
jae 0x5d94e8
mov eax, dword [edx]
xor eax, dword [ecx]
jne 0x5d95f3
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x5d94d4
mov edi, dword [esp + 0xc]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5d9501
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5d9501
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x5d950c
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5d950c
inc ecx
mov eax, ecx
sub eax, dword [esp + 0x64]
lea edi, [eax + 4]
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x6c]
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x5d9558
mov edx, dword [esp + 0x34]
add edx, dword [esp + 0x28]
mov esi, dword [ebp + 0xc]
mov al, byte [ebx - 1]
cmp al, byte [edx - 1]
jne 0x5d9554
dec edx
dec ebx
inc edi
cmp dword [esp + 0x20], edx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x5d9537
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, ebx
sub ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xc]
add eax, 0xffffffe0
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
add eax, ecx
mov dword [esp + 0x50], ecx
cmp eax, dword [esp + 0x1c]
ja 0x5d9608
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [edx]
mov edx, dword [esp + 0x38]
movdqu xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x5d9620
mov edx, dword [ebp + 0xc]
lea eax, [ecx - 0x10]
mov ecx, dword [esi + 0xc]
add ecx, 0x10
movdqu xmm0, xmmword [edx + 0x10]
lea esi, [ecx + eax]
mov dword [esp + 0x7c], esi
mov esi, dword [esp + 0x10]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x5d9618
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x20
movdqu xmm0, xmmword [edx]
lea edx, [edx + 0x20]
movdqu xmmword [ecx], xmm0
movdqu xmm0, xmmword [edx - 0x10]
movdqu xmmword [ecx + 0x10], xmm0
add ecx, 0x20
cmp ecx, eax
jb 0x5d95d5
jmp 0x5d9618
bsf eax, eax
mov dword [esp + 0x7c], eax
shr eax, 3
sub eax, dword [esp + 0x64]
add eax, ecx
jmp 0x5d9512
push dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
push eax
call fcn.0059a610
add esp, 8
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x50]
add dword [esi + 0xc], ecx
cmp ecx, 0xffff
jbe 0x5d963d
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 1
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov word [eax + 4], cx
lea ecx, [edx + 3]
mov eax, dword [esi + 4]
mov dword [eax], ecx
lea ecx, [edi - 3]
cmp ecx, 0xffff
jbe 0x5d9669
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
add ebx, edi
mov dword [ebp + 0xc], ebx
mov word [eax + 6], cx
add dword [esi + 4], 8
mov eax, dword [esp + 0x2c]
cmp ebx, eax
ja 0x5d97fd
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
imul edx, dword [eax + edi + 2], 0x9e3779b1
add eax, 2
shr edx, cl
mov ecx, dword [esp + 0x24]
mov dword [ecx + edx*4], eax
mov eax, ebx
imul edx, dword [ebx - 2], 0x9e3779b1
sub eax, edi
mov ecx, dword [esp + 0x40]
shr edx, cl
sub eax, 2
mov ecx, dword [esp + 0x24]
mov dword [ecx + edx*4], eax
mov eax, ebx
sub eax, edi
mov ecx, eax
mov dword [esp + 0x6c], eax
sub ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
cmp ecx, eax
jae 0x5d96e2
mov edx, ecx
sub edx, dword [esp + 0x54]
add edx, dword [esp + 0x48]
jmp 0x5d96e5
lea edx, [ecx + edi]
sub eax, ecx
dec eax
cmp eax, 3
jb 0x5d97f9
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x5d97f9
cmp ecx, dword [esp + 0x18]
lea esi, [edx + 4]
mov edi, dword [esp + 0xc]
lea ecx, [ebx + 4]
cmovb edi, dword [esp + 0x3c]
mov edx, esi
mov eax, edi
sub eax, esi
add eax, ecx
mov ecx, dword [esp + 0xc]
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [ebx + 4]
call fcn.0059fed0
mov ecx, eax
add esp, 4
mov dword [esp + 0x7c], ecx
lea eax, [ecx + esi]
cmp eax, edi
jne 0x5d9756
push dword [esp + 0xc]
mov edx, dword [esp + 0x24]
lea eax, [ebx + 4]
add ecx, eax
call fcn.0059fed0
mov ecx, dword [esp + 0x80]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x30]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], ecx
cmp ebx, eax
ja 0x5d9782
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [ebx]
movdqu xmmword [eax], xmm0
jmp 0x5d9791
mov ecx, dword [esi + 0xc]
mov edx, ebx
push eax
push ebx
call fcn.0059a610
add esp, 8
mov eax, dword [esi + 4]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [edi - 3]
mov eax, dword [esi + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x5d97c0
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 3
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x24]
mov word [eax + 6], cx
add dword [esi + 4], 8
imul eax, dword [ebx], 0x9e3779b1
add ebx, edi
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov dword [ebp + 0xc], ebx
shr eax, cl
mov ecx, dword [esp + 0x6c]
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x2c]
cmp ebx, eax
jbe 0x5d96c0
jmp 0x5d97fd
mov eax, dword [esp + 0x2c]
mov edi, dword [esp + 0x70]
add edi, ebx
cmp edi, eax
mov dword [esp + 0x38], edi
mov eax, dword [esp + 0x74]
jbe 0x5d8f90
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [edx], ecx
mov ecx, dword [esp + 0x28]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 4]
sub ecx, eax
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret