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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov dword [esp + 0x24], edx
mov edx, ecx
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov eax, dword [edx + 0x5c]
mov esi, dword [edx + 0xcc]
mov ebx, dword [edx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0xc0]
mov dword [esp + 0x6c], eax
xor eax, eax
test esi, esi
mov dword [esp + 0x4c], ebx
push edi
mov edi, dword [ebp + 0x10]
sete al
inc esi
add eax, esi
mov esi, 1
mov dword [esp + 0x74], eax
mov eax, dword [edx + 4]
sub ecx, eax
add ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ecx
mov ecx, dword [edx + 0xb8]
mov eax, dword [esp + 0x28]
shl esi, cl
mov ecx, dword [edx + 0x10]
sub eax, ecx
cmp eax, esi
jbe 0x5db737
sub dword [esp + 0x28], esi
mov esi, dword [esp + 0x28]
jmp 0x5db739
mov esi, ecx
cmp dword [edx + 0x18], 0
mov dword [esp + 0x78], 0
cmovne esi, ecx
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x28], esi
lea eax, [esi + ebx]
mov dword [esp + 0x84], eax
mov eax, dword [edx + 0xc]
cmp eax, esi
cmovb eax, esi
add ebx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x64], ebx
lea esi, [eax + ecx]
mov dword [esp + 0x68], esi
mov esi, dword [ebp + 0xc]
lea ebx, [esi + edi]
mov dword [esp + 0x24], ebx
add ebx, 0xfffffff8
mov dword [esp + 0x58], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [esp + 0x20], ebx
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx + 4]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x30]
cmp eax, dword [esp + 0x28]
jne 0x5db7bf
push edi
push esi
push dword [ebp + 8]
push ebx
push edx
call fcn.005d8e10
add esp, 0x14
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, esi
mov eax, edi
sub eax, dword [esp + 0x28]
sub eax, ecx
mov ecx, dword [esp + 0x40]
cmp ecx, eax
jb 0x5db7dd
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x40], 0
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jb 0x5db7f1
mov dword [esp + 0x78], ecx
mov dword [esp + 0x20], 0
mov ecx, dword [esp + 0x74]
lea eax, [edi + 0x80]
mov dword [esp + 0x5c], eax
lea edx, [edi + 1]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], edx
lea eax, [ecx + edi]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x58]
jae 0x5dc100
mov edi, dword [ebp + 0x14]
mov ecx, 0x40
sub ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
mov ecx, 0x20
sub ecx, dword [esp + 0x70]
add edi, 0xfffffffb
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], edi
cmp edi, 3
ja case.default.0x5db84d
jmp dword [edi*4 + 0x5dc138]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, dword [esp + 0x34]
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
jmp switch.0x005db91c
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + 4]
push dword [esi]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, dword [esp + 0x34]
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
jmp switch.0x005db91c
push 0xcf1bbcdc
push 0xbfa56300
push dword [esi + 4]
push dword [esi]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, dword [esp + 0x34]
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
jmp switch.0x005db91c
push 0xcf1bbcdc
push 0xb7a56463
push dword [esi + 4]
push dword [esi]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, dword [esp + 0x34]
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x44], ebx
jmp switch.0x005db91c
imul ebx, dword [esi], 0x9e3779b1
shr ebx, cl
mov dword [esp + 0x44], ebx
cmp edi, 3
ja case.default.0x5db91c
jmp dword [edi*4 + 0x5dc148]
push 0xcf1bbcdc
push 0xbb000000
push dword [edx + 4]
push dword [edx]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov dword [esp + 0x10], eax
jmp 0x5db976
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x5db92d
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x5db92d
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x5db92d
imul edx, dword [edx], 0x9e3779b1
shr edx, cl
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x38]
mov edi, dword [eax + ebx*4]
cmp edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmovb eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
xor eax, eax
cmp eax, dword [esp + 0x20]
sbb eax, eax
neg eax
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ecx, eax
sub ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
cmp ecx, eax
mov dword [esp + 0x80], ecx
cmovb ebx, dword [esp + 0x50]
sub eax, ecx
cmp eax, 4
mov dword [esp + 0x70], ebx
sbb eax, eax
inc eax
test dword [esp + 0x7c], eax
je 0x5db9d7
mov eax, dword [ebx + ecx]
jmp 0x5db9e0
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
xor eax, 1
mov ecx, dword [esp + 0x44]
mov ebx, esi
sub ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x60], ebx
mov dword [edx + ecx*4], ebx
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x10]
mov ebx, dword [ebx]
cmp ebx, eax
mov dword [esp + 0x44], ebx
mov ebx, dword [esp + 0x30]
je 0x5dbc5a
cmp edi, dword [esp + 0x28]
jb 0x5dba25
mov eax, dword [esp + 0x48]
mov eax, dword [eax + edi]
jmp 0x5dba2a
mov eax, dword [esi]
xor eax, 1
cmp dword [esi], eax
je 0x5dbbbf
mov eax, dword [esp + 0x38]
mov dword [esp + 0x80], edx
mov edi, dword [eax + edx*4]
cmp edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
cmovb eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x4c]
cmp eax, 3
ja case.default.0x5dba5a
jmp dword [eax*4 + 0x5dc158]
push 0xcf1bbcdc
push 0xbb000000
mov eax, dword [esp + 0x20]
push dword [eax + 4]
push dword [eax]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
jmp 0x5dbab6
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x5dba6b
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x5dba6b
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x5dba6b
imul eax, dword [esp + 0x44], 0x9e3779b1
mov ecx, dword [esp + 0x14]
shr eax, cl
mov esi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, esi
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
mov dword [ebx + edx*4], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x60], ecx
cmp edi, dword [esp + 0x28]
jb 0x5dbaed
mov ecx, dword [edx + edi]
jmp 0x5dbaf2
mov ecx, dword [esi]
xor ecx, 1
cmp dword [esi], ecx
je 0x5dbbc3
mov ecx, ebx
mov dword [esp + 0x44], eax
mov edi, dword [ecx + eax*4]
cmp edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
cmovb ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x48], ecx
cmp eax, 3
ja case.default.0x5dbb1d
jmp dword [eax*4 + 0x5dc168]
push 0xcf1bbcdc
push 0xbb000000
mov eax, dword [esp + 0x44]
push dword [eax + 4]
push dword [eax]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov dword [esp + 0x10], eax
jmp 0x5dbb83
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x5dbb2e
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x5dbb2e
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x5dbb2e
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
imul edx, dword [eax], 0x9e3779b1
shr edx, cl
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x18]
mov esi, eax
mov ecx, dword [esp + 0x3c]
add eax, dword [esp + 0x54]
mov dword [esp + 0x34], ecx
add ecx, dword [esp + 0x54]
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], ecx
cmp eax, dword [esp + 0x5c]
jb 0x5dbbb0
inc dword [esp + 0x54]
sub dword [esp + 0x5c], 0xffffff80
cmp ecx, dword [esp + 0x58]
jb 0x5db9a0
jmp 0x5dc0fd
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x24]
sub eax, edi
cmp edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x68]
cmovb ebx, dword [esp + 0x64]
cmovb ecx, dword [esp + 0x84]
add edx, edi
mov dword [esp + 0x5c], ebx
mov edi, 4
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
add eax, 3
cmp ecx, edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x44], eax
sbb ecx, ecx
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x30]
neg ecx
cmp dword [ebp + 0xc], esi
mov dword [esp + 0x48], edi
sbb eax, eax
neg eax
test eax, ecx
je 0x5dbc99
lea eax, [edx - 1]
mov dword [esp + 0x54], eax
mov ebx, eax
mov al, byte [esi - 1]
cmp al, byte [ebx]
mov ebx, dword [esp + 0x30]
jne 0x5dbc54
mov edx, dword [esp + 0x54]
inc edi
dec esi
mov dword [esp + 0x48], edi
cmp dword [esp + 0x80], edx
sbb ecx, ecx
neg ecx
cmp dword [ebp + 0xc], esi
sbb eax, eax
neg eax
test eax, ecx
jne 0x5dbc20
mov eax, dword [esp + 0x48]
jmp 0x5dbc9b
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
add edx, ecx
cmp ecx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov esi, ecx
cmovb eax, dword [esp + 0x64]
xor edi, edi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], 1
mov al, byte [ecx - 1]
cmp al, byte [edx - 1]
mov eax, edi
sete al
sub esi, eax
sub edx, eax
add eax, 4
mov dword [esp + 0x48], eax
jmp 0x5dbc9b
mov eax, edi
mov ecx, dword [esp + 0x24]
lea edi, [eax + edx]
add eax, esi
mov edx, edi
mov dword [esp + 0x70], eax
sub eax, edi
add eax, dword [esp + 0x5c]
cmp eax, ecx
cmovb ecx, eax
push ecx
mov ecx, dword [esp + 0x74]
call fcn.0059fed0
mov ecx, eax
add esp, 4
mov dword [esp + 0x80], ecx
lea eax, [ecx + edi]
cmp eax, dword [esp + 0x5c]
jne 0x5dbcf1
push dword [esp + 0x24]
add ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x6c]
call fcn.0059fed0
mov ecx, dword [esp + 0x84]
add esp, 4
add ecx, eax
mov edi, dword [esp + 0x48]
mov eax, dword [ebp + 0xc]
add edi, ecx
mov edx, dword [esp + 0x24]
mov ecx, esi
sub ecx, eax
add edx, 0xffffffe0
add eax, ecx
mov dword [esp + 0x5c], ecx
cmp eax, edx
ja 0x5dbd72
mov edx, dword [ebp + 0xc]
mov eax, dword [ebx + 0xc]
movdqu xmm0, xmmword [edx]
movdqu xmmword [eax], xmm0
cmp ecx, 0x10
jbe 0x5dbd86
movdqu xmm0, xmmword [edx + 0x10]
lea eax, [ecx - 0x10]
mov ecx, dword [ebx + 0xc]
add ecx, 0x10
lea ebx, [ecx + eax]
mov dword [esp + 0x80], ebx
mov ebx, dword [esp + 0x30]
movdqu xmmword [ecx], xmm0
cmp eax, 0x10
jle 0x5dbd82
mov eax, dword [esp + 0x80]
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 0x5dbd54
jmp 0x5dbd82
mov ecx, dword [ebx + 0xc]
push edx
mov edx, dword [ebp + 0xc]
push eax
call fcn.0059a610
add esp, 8
mov ecx, dword [esp + 0x5c]
add dword [ebx + 0xc], ecx
cmp ecx, 0xffff
jbe 0x5dbda3
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 4]
mov word [eax + 4], cx
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
lea ecx, [edi - 3]
cmp ecx, 0xffff
jbe 0x5dbdd0
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
mov dword [ebx + 0x24], 2
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 4]
add esi, edi
mov edx, dword [esp + 0x34]
mov dword [ebp + 0xc], esi
mov word [eax + 6], cx
add dword [ebx + 4], 8
mov ecx, dword [esp + 0x1c]
cmp edx, esi
jae 0x5dbdf9
mov eax, dword [esp + 0x10]
sub edx, ecx
mov edi, dword [esp + 0x38]
mov dword [edi + eax*4], edx
cmp esi, dword [esp + 0x58]
ja 0x5dc0c4
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x60]
cmp eax, 3
ja case.default.0x5dbe10
jmp dword [eax*4 + 0x5dc178]
push 0xcf1bbcdc
push 0xbb000000
push dword [edi + ecx + 6]
push dword [edi + ecx + 2]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov ecx, dword [esp + 0x14]
mov edx, eax
jmp 0x5dbe71
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x5dbe21
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x5dbe21
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x5dbe21
imul edx, dword [edi + ecx + 2], 0x9e3779b1
mov ecx, dword [esp + 0x14]
shr edx, cl
lea eax, [edi + 2]
mov edi, dword [esp + 0x38]
mov dword [edi + edx*4], eax
mov eax, dword [esp + 0x4c]
cmp eax, 3
ja case.default.0x5dbe84
jmp dword [eax*4 + 0x5dc188]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 2]
push dword [esi - 2]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, eax
jmp 0x5dbeda
push 0xcf1bbcdc
push 0xbf9b0000
jmp 0x5dbe95
push 0xcf1bbcdc
push 0xbfa56300
jmp 0x5dbe95
push 0xcf1bbcdc
push 0xb7a56463
jmp 0x5dbe95
imul edx, dword [esi - 2], 0x9e3779b1
shr edx, cl
mov ecx, dword [esp + 0x1c]
mov eax, esi
sub eax, ecx
sub eax, 2
mov dword [edi + edx*4], eax
jmp 0x5dbef0
mov eax, dword [esp + 0x2c]
mov edx, esi
sub edx, dword [esp + 0x40]
sub edx, ecx
cmp edx, eax
jae 0x5dbf08
mov edi, dword [esp + 0x50]
add edi, edx
jmp 0x5dbf0b
lea edi, [edx + ecx]
sub eax, edx
dec eax
cmp eax, 3
sbb ecx, ecx
xor eax, eax
inc ecx
cmp eax, dword [esp + 0x40]
sbb eax, eax
neg eax
test eax, ecx
je 0x5dc0c4
mov eax, dword [edi]
cmp eax, dword [esi]
jne 0x5dc0c4
cmp edx, dword [esp + 0x2c]
lea eax, [esi + 4]
mov ecx, dword [esp + 0x24]
mov ebx, ecx
cmovb ebx, dword [esp + 0x64]
add edi, 4
sub eax, edi
mov edx, edi
add eax, ebx
cmp eax, ecx
cmovb ecx, eax
push ecx
lea ecx, [esi + 4]
call fcn.0059fed0
mov ecx, eax
add esp, 4
mov dword [esp + 0x80], ecx
lea eax, [ecx + edi]
cmp eax, ebx
jne 0x5dbf8a
push dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
lea eax, [esi + 4]
add ecx, eax
call fcn.0059fed0
mov ecx, dword [esp + 0x84]
add esp, 4
add ecx, eax
mov eax, dword [esp + 0x40]
lea edi, [ecx + 4]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
add eax, 0xffffffe0
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x30]
cmp esi, eax
ja 0x5dbfb9
mov eax, dword [ebx + 0xc]
movdqu xmm0, xmmword [esi]
movdqu xmmword [eax], xmm0
jmp 0x5dbfc8
mov ecx, dword [ebx + 0xc]
mov edx, esi
push eax
push esi
call fcn.0059a610
add esp, 8
mov eax, dword [ebx + 4]
xor ecx, ecx
mov word [eax + 4], cx
lea ecx, [edi - 3]
mov eax, dword [ebx + 4]
mov dword [eax], 1
cmp ecx, 0xffff
jbe 0x5dbff7
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 3
mov dword [ebx + 0x24], 2
mov dword [ebx + 0x28], eax
mov eax, dword [ebx + 4]
mov word [eax + 6], cx
add dword [ebx + 4], 8
mov eax, dword [esp + 0x4c]
cmp eax, 3
ja case.default.0x5dc00f
jmp dword [eax*4 + 0x5dc198]
push 0xcf1bbcdc
push 0xbb000000
push dword [esi + 4]
push dword [esi]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, eax
jmp 0x5dc0a6
push 0xcf1bbcdc
push 0xbf9b0000
push dword [esi + 4]
push dword [esi]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, eax
jmp 0x5dc0a6
push 0xcf1bbcdc
push 0xbfa56300
push dword [esi + 4]
push dword [esi]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, eax
jmp 0x5dc0a6
push 0xcf1bbcdc
push 0xb7a56463
push dword [esi + 4]
push dword [esi]
call fcn.00620b50
mov ecx, dword [esp + 0xc]
call fcn.00622f20
mov edx, eax
jmp 0x5dc0a6
imul edx, dword [esi], 0x9e3779b1
mov ecx, dword [esp + 0x14]
shr edx, cl
mov ebx, dword [esp + 0x38]
mov eax, esi
mov ecx, dword [esp + 0x1c]
add esi, edi
sub eax, ecx
mov dword [ebp + 0xc], esi
mov dword [ebx + edx*4], eax
cmp esi, dword [esp + 0x58]
jbe 0x5dbef0
mov ecx, dword [esp + 0x74]
lea eax, [esi + 0x80]
mov edi, dword [esp + 0x4c]
lea edx, [esi + 1]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ecx
lea eax, [esi + ecx]
mov dword [esp + 0x34], edx
lea ecx, [eax + 1]
mov dword [esp + 0x18], eax
cmp ecx, dword [esp + 0x58]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x14]
jb 0x5db844
mov edi, dword [ebp + 0xc]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x20]
test edx, edx
je 0x5dc115
test eax, eax
cmovne ecx, edx
mov ebx, dword [ebp + 8]
test eax, eax
cmovne edx, eax
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [ebx], edx
cmovne ecx, eax
mov eax, dword [esp + 0x24]
sub eax, edi
mov dword [ebx + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret