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

Disassembly:
mov ecx, dword [0x84873c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5dbec6
sub esp, 0x4c
lea eax, [0x648280]
mov dword [esp], eax
call fcn.0040c880
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x5db9f9
movzx ebx, byte [eax]
or ebx, 0x40
mov byte [eax], bl
movzx ebx, byte [eax]
mov ebp, dword [esp + 0x50]
movzx esi, byte [ebp + 8]
add esi, 0xfffffffe
shl esi, 2
or esi, ebx
xchg esi, ebx
mov byte [eax], bl
xchg esi, ebx
movzx ebx, byte [ebp + 9]
dec ebx
or ebx, esi
mov byte [eax], bl
movzx ebx, byte [ebp + 9]
movzx esi, bl
add esi, 0xfffffff1
xchg esi, ebx
neg ebx
xchg esi, ebx
mov edi, dword [esp + 0x58]
cmp edi, esi
jne 0x5dbe5b
mov dword [esp + 0x48], eax
movzx esi, byte [ebp + 8]
mov dword [esp + 0x34], esi
mov edx, ebx
shl ebx, 3
mov ecx, ebx
mov edi, 1
shl edi, cl
mov dword [esp + 0x30], edi
lea ebp, [ecx - 0x20]
mov ecx, ebp
mov edi, 1
shl edi, cl
mov dword [esp + 0x2c], edi
neg ecx
mov edi, 1
shr edi, cl
sar esi, 0x1f
mov dword [esp + 0x28], esi
cmp bl, 0x20
sbb ebx, ebx
mov esi, dword [esp + 0x30]
and esi, ebx
cmp cl, 0x20
sbb ebx, ebx
and edi, ebx
xchg ebp, eax
cmp al, 0x20
xchg ebp, eax
sbb ebx, ebx
mov ebp, dword [esp + 0x2c]
and ebp, ebx
or edi, ebp
mov ebx, esi
add esi, 0xffffffff
mov ebp, 0xffffffff
mov ecx, esi
mov esi, dword [esp + 0x34]
sub ebp, esi
mov dword [esp + 0x20], ebp
mov esi, 0x7fffffff
mov ebp, dword [esp + 0x28]
sbb esi, ebp
cmp dl, 8
ja 0x5dbae7
add ebx, 0xffffffff
adc edi, 0xffffffff
cmp esi, edi
sete bl
xchg ebp, ebx
setb bl
xchg ebp, ebx
mov edx, esi
mov esi, dword [esp + 0x20]
cmp esi, ecx
setb al
and ebx, eax
or ebx, ebp
test bl, bl
je 0x5dbaed
mov eax, dword [esp + 0x48]
mov esi, edx
mov ecx, dword [esp + 0x20]
jmp 0x5dbaf3
mov eax, dword [esp + 0x48]
mov esi, edi
mov ebx, ecx
sar ecx, 0x1f
cmp esi, ecx
je 0x5dbb0a
mov ebx, dword [esp + 0x34]
lea ecx, [ebx - 0x7fffffff]
neg ecx
jmp 0x5dbb0c
mov ecx, ebx
mov ebx, dword [esp + 0x64]
cmp ebx, ecx
jg 0x5dbe22
mov ebp, ebx
sar ebx, 0x1f
mov esi, ebx
bswap ebx
mov edi, esi
shl esi, 8
mov ecx, ebp
shr ebp, 0x18
or ebp, esi
mov esi, ecx
shr ecx, 0x10
mov edx, edi
shl edi, 0x10
or edi, ecx
mov ecx, esi
shr esi, 8
shl edx, 0x18
or edx, esi
mov dword [eax + 8], ebx
xchg ebp, ebx
mov byte [eax + 0xc], bl
xchg ebp, ebx
xchg edi, ebx
mov byte [eax + 0xd], bl
xchg edi, ebx
mov byte [eax + 0xe], dl
mov byte [eax + 0xf], cl
mov ebx, dword [esp + 0x50]
movzx ebp, byte [ebx + 9]
add ebp, 0xfffffff0
xchg ebp, ebx
neg ebx
xchg ebp, ebx
xchg ebp, eax
movzx eax, al
xchg ebp, eax
cmp ebp, 0x10
ja 0x5dbeb9
cmp ebp, 1
jb 0x5dbead
lea edx, [ebp - 1]
mov ebp, dword [esp + 0x58]
cmp ebp, edx
jl 0x5dbb8f
mov ebp, edx
lea edx, [eax + 1]
mov esi, dword [esp + 0x54]
cmp esi, edx
je 0x5dbbba
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
call fcn.0046af80
mov eax, dword [esp + 0x70]
test eax, eax
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
jmp 0x5dbbc0
mov edx, dword [esp + 0x70]
test edx, edx
seta cl
mov byte [esp + 0x1f], cl
mov edx, dword [ebx]
mov ebp, dword [ebx + 4]
mov edx, dword [edx + 0x18]
mov dword [esp], ebp
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x10
call edx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x70]
mov ecx, eax
sar eax, 0x1f
test eax, eax
sete dl
seta bl
movzx ebp, byte [esp + 0x1f]
and ebp, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5dbda0
cmp ecx, 0xfeff
setbe bl
and ebx, edx
test bl, bl
je 0x5dbc62
mov edx, ecx
rol cx, 8
nop
mov word [esp + 0x38], cx
mov eax, 2
jmp 0x5dbcc6
mov byte [esp + 0x38], 0xfe
mov byte [esp + 0x39], 0xff
test eax, eax
jne 0x5dbc80
mov edx, ecx
bswap ecx
nop
mov dword [esp + 0x3a], ecx
mov eax, 6
jmp 0x5dbcc6
mov edx, eax
bswap eax
mov ebx, edx
shl edx, 8
mov ebp, ecx
shr ecx, 0x18
or edx, ecx
mov esi, ebx
shl ebx, 0x10
mov edi, ebp
shr ebp, 0x10
or ebp, ebx
mov ebx, edi
shr edi, 8
shl esi, 0x18
or esi, edi
nop
mov dword [esp + 0x3a], eax
mov byte [esp + 0x3e], dl
xchg ebp, eax
mov byte [esp + 0x3f], al
xchg ebp, eax
xchg esi, eax
mov byte [esp + 0x40], al
xchg esi, eax
mov byte [esp + 0x41], bl
mov edx, ebx
mov eax, 0xa
cmp eax, 0x10
ja 0x5dbea3
lea ecx, [eax - 0x10]
neg ecx
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
cmp edx, ebx
jge 0x5dbce5
mov ecx, edx
jmp 0x5dbce9
mov ecx, edx
mov edx, ebx
mov dword [esp + 0x24], edx
lea eax, [esp + eax + 0x38]
mov ebx, dword [esp + 0x6c]
cmp ebx, eax
je 0x5dbd09
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.0046af80
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
lea edx, [esp + 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x18], 0x10
call fcn.005db810
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x24]
cmp ecx, eax
jb 0x5dbe9e
mov edx, dword [esp + 0x50]
mov dword [esp], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
mov ebp, dword [esp + 0x74]
sub ebp, eax
sub ecx, eax
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
mov ebp, dword [esp + 0x6c]
add eax, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
call fcn.005db8b0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x5dbde0
mov ecx, dword [esp + 0x50]
mov dword [esp], ecx
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x10
mov dword [esp + 0xc], 0x10
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x18], eax
call fcn.005db8b0
mov eax, dword [esp + 0x50]
movzx ecx, byte [eax + 8]
cmp ecx, 0x10
ja 0x5dbe94
mov eax, dword [esp + 0x48]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0x10
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
add esp, 0x4c
ret
mov eax, dword [0x81d718]
mov ecx, dword [0x81d71c]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x4c
ret
mov eax, dword [0x81d710]
mov ecx, dword [0x81d714]
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x4c
ret
mov edx, 0x10
call fcn.0046a690
call fcn.0046a6d0
mov ecx, 0x10
call fcn.0046a6d0
mov eax, 1
xor ecx, ecx
call fcn.0046a6d0
mov ecx, ebp
mov edx, 0x10
call fcn.0046a690
nop
call fcn.00469200
jmp fcn.005db9c0