Function at 0x5d9840
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 + 0x28], eax
mov eax, dword [ecx + 0xc0]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0xcc]
mov dword [esp + 4], edx
xor edx, edx
test eax, eax
push ebx
mov ebx, dword [ecx + 0xc]
sete dl
add edx, eax
mov dword [esp + 0x14], ebx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 0xb4]
mov dword [esp + 0xc], eax
add eax, ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
add eax, edi
mov dword [esp + 0xc], eax
add eax, 0xfffffff8
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 4]
mov esi, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x5c]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x78], esi
add esi, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], esi
mov esi, dword [ecx]
sub eax, esi
mov ecx, dword [ecx + 0xc0]
add eax, ebx
mov dword [esp + 0x54], eax
xor ebx, ebx
mov eax, esi
mov dword [esp + 0x74], edx
sub eax, dword [esp + 0x50]
add edx, edi
sub eax, dword [esp + 0x20]
add ecx, 8
add eax, edi
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], esi
sete bl
add ebx, edi
cmp edx, dword [esp + 0x24]
ja 0x5da225
mov eax, 0x40
sub eax, dword [esp + 0x70]
mov dword [esp + 0x30], eax
mov eax, 0x40
sub eax, ecx
mov dword [esp + 0x58], eax
mov edi, edi
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
push dword [ebx]
call fcn.00620b50
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.00622f20
push 0xcf1bbcdc
push 0xbb000000
push dword [ebx + 4]
mov edi, eax
push dword [ebx]
mov dword [esp + 0x7c], edi
call fcn.00620b50
mov ecx, dword [esp + 0x58]
call fcn.00622f20
mov edx, dword [esp + 0x60]
mov ecx, eax
shr ecx, 8
mov ecx, dword [edx + ecx*4]
mov edx, ebx
mov dword [esp + 0x3c], ecx
xor ecx, eax
xor eax, eax
test cl, cl
mov ecx, dword [esp + 0x74]
sete al
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x64], eax
lea ecx, [ebx + 0x100]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + edi*4]
mov edi, dword [esp + 0x14]
sub edx, edi
mov dword [esp + 0x40], eax
add eax, edi
mov dword [esp + 0x44], edx
mov edi, edx
mov dword [esp + 0x70], eax
sub edi, dword [esp + 0x18]
inc edi
cmp edi, dword [esp + 0x1c]
jae 0x5d99cb
mov eax, edi
sub eax, dword [esp + 0x54]
add eax, dword [esp + 0x48]
jmp 0x5d99d1
mov eax, dword [esp + 0x14]
add eax, edi
push 0xcf1bbcdc
push 0xbb000000
push dword [ecx + 4]
mov dword [esp + 0x68], eax
push dword [ecx]
call fcn.00620b50
mov ecx, esi
call fcn.00622f20
mov edx, dword [esp + 0x38]
push 0xcf1bbcdc
push 0xbb000000
mov dword [esp + 0x84], eax
push dword [edx + 4]
push dword [edx]
call fcn.00620b50
mov ecx, dword [esp + 0x58]
call fcn.00622f20
mov esi, dword [esp + 0x34]
mov edx, eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x44]
mov dword [esi + eax*4], ecx
mov ecx, dword [esp + 0x1c]
sub ecx, edi
dec ecx
cmp ecx, 3
jb 0x5d9a44
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx]
cmp eax, dword [ebx + 1]
je 0x5d9b60
cmp dword [esp + 0x64], 0
je 0x5d9ad6
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x48]
shr ecx, 8
add edi, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], edi
cmp ecx, dword [esp + 0x78]
jbe 0x5d9ad6
mov eax, dword [edi]
cmp eax, dword [ebx]
jne 0x5d9ad6
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x40], eax
ja 0x5d9ae0
mov eax, dword [esp + 0x44]
lea edx, [edi + 4]
sub eax, ecx
mov dword [esp + 0x6c], edx
sub eax, dword [esp + 0x54]
lea edi, [ebx + 4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], eax
mov eax, edi
sub eax, edx
add eax, dword [esp + 0x2c]
cmp eax, ecx
cmovb ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, edi
mov eax, dword [esp + 0x4c]
add eax, 0xfffffffd
cmp edi, eax
jae 0x5d9d28
mov eax, dword [edi]
xor eax, dword [edx]
je 0x5d9d03
bsf eax, eax
lea edx, [ebx + 4]
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
jmp 0x5d9d53
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x40], eax
jbe 0x5d9aee
mov ecx, dword [esp + 0x70]
mov eax, dword [ecx]
cmp eax, dword [ebx]
je 0x5d9e79
mov ecx, dword [esp + 0x60]
mov eax, edx
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x68]
shr eax, 8
mov ecx, dword [ecx + eax*4]
xor eax, eax
xor edx, ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
test dl, dl
mov edx, dword [esp + 0x4c]
sete al
mov dword [esp + 0x64], eax
mov eax, esi
mov eax, dword [eax + edi*4]
mov dword [esp + 0x40], eax
cmp ecx, ebx
jb 0x5d9b37
inc edx
add ebx, 0x100
mov dword [esp + 0x4c], edx
mov dword [esp + 0x68], ebx
mov ebx, ecx
add ecx, edx
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x24]
ja 0x5da222
mov esi, dword [esp + 0x30]
mov edx, ebx
sub edx, dword [esp + 0x14]
mov dword [esp + 0x6c], edi
mov edi, dword [esp + 0x14]
jmp 0x5d99a8
cmp edi, dword [esp + 0x1c]
lea edx, [ecx + 4]
mov esi, dword [esp + 0xc]
lea edi, [ebx + 5]
cmovb esi, dword [esp + 0x2c]
mov eax, edi
mov ecx, dword [esp + 0xc]
sub eax, edx
add eax, esi
mov dword [esp + 0x6c], edx
cmp eax, ecx
cmovb ecx, eax
mov dword [esp + 0x4c], ecx
mov ecx, edi
mov eax, dword [esp + 0x4c]
add eax, 0xfffffffd
cmp edi, eax
jae 0x5d9bd4
mov eax, dword [edx]
xor eax, dword [edi]
je 0x5d9bae
bsf eax, eax
lea edx, [ebx + 5]
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
jmp 0x5d9bff
lea ecx, [edi + 4]
add edx, 4
mov edi, dword [esp + 0x4c]
add edi, 0xfffffffd
cmp ecx, edi
jae 0x5d9bd4
nop
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x5d9ca0
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x5d9bc0
mov edi, dword [esp + 0x4c]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5d9bed
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5d9bed
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x5d9bf8
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5d9bf8
inc ecx
mov edi, ecx
lea edx, [ebx + 5]
sub edi, edx
mov eax, dword [esp + 0x6c]
add eax, edi
cmp eax, esi
jne 0x5d9c1e
push dword [esp + 0xc]
lea ecx, [edi + edx]
mov edx, dword [esp + 0x24]
call fcn.0059fed0
add esp, 4
add edi, eax
mov ecx, dword [ebp + 0xc]
inc ebx
mov eax, dword [esp + 0xc]
mov edx, ebx
sub edx, ecx
add eax, 0xffffffe0
add edi, 4
mov dword [esp + 0x4c], edx
lea esi, [edx + ecx]
mov dword [esp + 0x7c], esi
cmp esi, eax
mov esi, dword [esp + 0x10]
ja 0x5d9cb8
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x5d9cd1
movdqu xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [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 0x5d9ccd
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x10
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 0x5d9c82
jmp 0x5d9ccd
bsf eax, eax
lea edx, [ebx + 5]
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
sub edi, edx
add edi, ecx
jmp 0x5d9bff
push eax
push dword [esp + 0x80]
mov edx, ecx
mov ecx, dword [esi + 0xc]
call fcn.0059a610
add esp, 8
mov edx, dword [esp + 0x4c]
add dword [esi + 0xc], edx
cmp edx, 0xffff
jbe 0x5d9cee
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], dx
mov eax, dword [esi + 4]
mov dword [eax], 1
jmp 0x5da022
lea ecx, [edi + 4]
add edx, 4
mov edi, dword [esp + 0x4c]
add edi, 0xfffffffd
cmp ecx, edi
jae 0x5d9d28
mov eax, dword [ecx]
xor eax, dword [edx]
jne 0x5d9e61
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x5d9d14
mov edi, dword [esp + 0x4c]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5d9d41
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5d9d41
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x5d9d4c
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5d9d4c
inc ecx
mov edi, ecx
lea edx, [ebx + 4]
sub edi, edx
mov eax, dword [esp + 0x6c]
add eax, edi
cmp eax, dword [esp + 0x2c]
jne 0x5d9d74
push dword [esp + 0xc]
lea ecx, [edi + edx]
mov edx, dword [esp + 0x24]
call fcn.0059fed0
add esp, 4
add edi, eax
mov eax, dword [esp + 0x50]
add edi, 4
cmp eax, dword [esp + 0x64]
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x5d9dbd
mov edx, dword [esp + 0x3c]
add edx, dword [esp + 0x48]
mov esi, dword [ebp + 0xc]
lea esp, [esp]
mov al, byte [ebx - 1]
cmp al, byte [edx - 1]
jne 0x5d9dbd
dec edx
dec ebx
inc edi
cmp dword [esp + 0x50], edx
sbb ecx, ecx
neg ecx
cmp esi, ebx
sbb eax, eax
neg eax
test eax, ecx
jne 0x5d9da0
mov eax, dword [esp + 0x18]
mov edx, ebx
mov ecx, dword [ebp + 0xc]
sub edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
lea esi, [edx + ecx]
add eax, 0xffffffe0
mov dword [esp + 0x7c], esi
cmp esi, eax
mov dword [esp + 0x4c], edx
mov esi, dword [esp + 0x10]
ja 0x5d9fd9
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x5d9ff2
movdqu xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [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 0x5d9fee
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x10
lea esp, [esp]
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 0x5d9e40
jmp 0x5d9fee
bsf eax, eax
lea edx, [ebx + 4]
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
sub edi, edx
add edi, ecx
jmp 0x5d9d53
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 + 0x68], eax
mov dword [esp + 0x6c], ecx
cmp ecx, edi
jae 0x5d9ec8
mov eax, dword [edx]
xor eax, dword [ecx]
je 0x5d9eaa
bsf eax, eax
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
jmp 0x5d9ef2
add ecx, 4
add edx, 4
cmp ecx, edi
jae 0x5d9ec8
mov eax, dword [edx]
xor eax, dword [ecx]
jne 0x5d9fc2
add ecx, 4
add edx, 4
cmp ecx, edi
jb 0x5d9eb4
mov edi, dword [esp + 0xc]
lea eax, [edi - 1]
cmp ecx, eax
jae 0x5d9ee1
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x5d9ee1
add ecx, 2
add edx, 2
cmp ecx, edi
jae 0x5d9eec
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x5d9eec
inc ecx
mov edi, ecx
sub edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
add edi, 4
cmp eax, dword [esp + 0x70]
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], ebx
sbb eax, eax
neg eax
test eax, ecx
je 0x5d9f34
mov edx, dword [esp + 0x40]
add edx, dword [esp + 0x14]
mov esi, dword [ebp + 0xc]
mov al, byte [ebx - 1]
cmp al, byte [edx - 1]
jne 0x5d9f34
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 0x5d9f17
mov eax, dword [esp + 0x18]
mov edx, ebx
mov ecx, dword [ebp + 0xc]
sub edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
lea esi, [edx + ecx]
add eax, 0xffffffe0
mov dword [esp + 0x7c], esi
cmp esi, eax
mov dword [esp + 0x4c], edx
mov esi, dword [esp + 0x10]
ja 0x5d9fd9
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [eax], xmm0
cmp edx, 0x10
jbe 0x5d9ff2
movdqu xmm0, xmmword [ecx + 0x10]
lea eax, [edx - 0x10]
lea edx, [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 0x5d9fee
mov eax, dword [esp + 0x7c]
add ecx, 0x10
add edx, 0x10
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 0x5d9fa4
jmp 0x5d9fee
bsf eax, eax
mov edi, eax
mov dword [esp + 0x7c], eax
shr edi, 3
sub edi, dword [esp + 0x6c]
add edi, ecx
jmp 0x5d9ef2
push eax
push dword [esp + 0x80]
mov edx, ecx
mov ecx, dword [esi + 0xc]
call fcn.0059a610
add esp, 8
mov edx, dword [esp + 0x4c]
add dword [esi + 0xc], edx
cmp edx, 0xffff
jbe 0x5da00f
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 ecx, dword [esp + 0x68]
add ecx, 3
mov word [eax + 4], dx
mov eax, dword [esi + 4]
mov dword [eax], ecx
lea ecx, [edi - 3]
cmp ecx, 0xffff
jbe 0x5da03f
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 + 0x24]
cmp ebx, eax
ja 0x5da210
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x44]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + eax + 6]
push dword [edi + eax + 2]
call fcn.00620b50
mov ecx, dword [esp + 0x30]
call fcn.00622f20
mov ecx, eax
lea eax, [edi + 2]
mov edi, dword [esp + 0x34]
push 0xcf1bbcdc
push 0xbb000000
mov dword [edi + ecx*4], eax
push dword [ebx + 2]
push dword [ebx - 2]
call fcn.00620b50
mov ecx, dword [esp + 0x30]
call fcn.00622f20
mov edx, dword [esp + 0x14]
mov ecx, ebx
sub ecx, edx
sub ecx, 2
mov dword [edi + eax*4], ecx
jmp 0x5da0c0
mov eax, ebx
sub eax, edx
mov ecx, eax
mov dword [esp + 0x70], eax
sub ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
jae 0x5da0e2
mov edx, ecx
sub edx, dword [esp + 0x54]
add edx, dword [esp + 0x48]
jmp 0x5da0e4
add edx, ecx
sub eax, ecx
dec eax
cmp eax, 3
jb 0x5da20c
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x5da20c
cmp ecx, dword [esp + 0x1c]
lea esi, [edx + 4]
mov edi, dword [esp + 0xc]
lea ecx, [ebx + 4]
cmovb edi, dword [esp + 0x2c]
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 0x5da155
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 + 0x28]
lea edi, [ecx + 4]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
add eax, 0xffffffe0
mov dword [esp + 0x28], ecx
cmp ebx, eax
ja 0x5da184
mov eax, dword [esi + 0xc]
movdqu xmm0, xmmword [ebx]
movdqu xmmword [eax], xmm0
jmp 0x5da193
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 0x5da1c2
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]
push 0xcf1bbcdc
push 0xbb000000
mov word [eax + 6], cx
add dword [esi + 4], 8
push dword [ebx + 4]
push dword [ebx]
call fcn.00620b50
mov ecx, dword [esp + 0x30]
call fcn.00622f20
mov edx, dword [esp + 0x34]
add ebx, edi
mov ecx, dword [esp + 0x70]
mov dword [ebp + 0xc], ebx
mov dword [edx + eax*4], ecx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
cmp ebx, eax
jbe 0x5da0c0
jmp 0x5da210
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x74]
add edx, ebx
mov dword [esp + 0x38], edx
cmp edx, eax
jbe 0x5d9920
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xc]
sub eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret