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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x5db591
sub esp, 0x8c
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xac]
mov dword [esp + 8], edx
call fcn.004bae60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x4c]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x44]
mov edx, dword [edx + 0x28]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
nop
mov edx, dword [esp + 0xac]
mov ebx, edx
and edx, 0x1f
mov dword [esp + 0x4c], edx
cmp edx, 0x14
ja 0x5db0ad
lea ebp, [edx - 0x12]
cmp ebp, 1
jbe 0x5db0d7
cmp edx, 0x14
je 0x5db0b7
jmp 0x5db556
cmp edx, 0x16
jbe 0x5db0d7
cmp edx, 0x17
jne 0x5db0ce
mov edx, dword [esp + 0xa8]
mov ebp, dword [edx]
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
jmp 0x5db110
cmp edx, 0x1a
jne 0x5db556
test ebx, 0x200
je 0x5db0e8
mov edx, dword [esp + 0xa8]
jmp 0x5db116
test ebx, 0x80
je 0x5db0fb
mov edx, dword [esp + 0xa8]
mov ebp, dword [edx]
jmp 0x5db104
mov edx, dword [esp + 0xa8]
mov ebp, edx
test ebp, ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
xor ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x5db12a
mov ebp, dword [esp + 0x90]
mov esi, dword [ebp]
movzx esi, byte [esi + 0xa]
xchg esi, eax
test al, al
xchg esi, eax
je 0x5db18b
mov edx, dword [esp + 0x70]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.004b4200
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
call fcn.004bb8f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x90]
mov ebx, edx
mov esi, eax
mov edx, ecx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
jmp 0x5db196
mov eax, ebx
mov ecx, edx
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], esi
mov edi, ebx
mov ebx, dword [esp + 0x9c]
test ebx, ebx
je 0x5db271
nop
movzx edx, byte [0x7c0510]
test dl, dl
je 0x5db20b
mov edx, dword [esp + 0x9c]
mov dword [0x7c0514], edx
mov edx, dword [0x7e77b0]
test edx, edx
jne 0x5db1e5
mov edx, dword [esp + 0xa0]
mov dword [0x7c0518], edx
jmp 0x5db212
lea edi, [0x7c0518]
mov eax, dword [esp + 0xa0]
call fcn.0045e950
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xa0]
mov edi, dword [esp + 0x48]
jmp 0x5db212
mov edx, dword [esp + 0xa0]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x74]
test ebx, ebx
je 0x5db259
nop
movzx edi, byte [ebx + 0xf]
xchg edi, eax
mov byte [esp + 0x3b], al
xchg edi, eax
and edi, 0x1f
movzx esi, byte [esp + 0x3b]
xchg esi, eax
test al, 0x20
xchg esi, eax
jne 0x5db242
or edi, 0x80
mov esi, dword [esp + 0x64]
mov edx, edi
mov edi, dword [esp + 0xa0]
mov dword [esp + 0x5c], edi
mov edi, dword [esp + 0x48]
jmp 0x5db265
xor edx, edx
xor ebx, ebx
xor edx, edx
mov dword [esp + 0x5c], edx
xor edx, edx
mov dword [esp + 0x54], ebx
mov ebx, edx
mov edx, dword [esp + 0x68]
jmp 0x5db281
xor ebx, ebx
xor ebx, ebx
mov dword [esp + 0x54], ebx
xor ebx, ebx
mov dword [esp + 0x5c], ebx
xor ebx, ebx
mov dword [esp + 0x40], ebx
nop
and ebx, 0x1f
cmp ebx, 0x16
je 0x5db2a8
mov ebx, dword [esp + 0x40]
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x50], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x40]
jmp 0x5db2f9
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.004b8740
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x90]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x3c], ebx
nop
and ebx, 0x1f
mov dword [esp + 0x4c], ebx
cmp ebx, 0x15
ja 0x5db392
cmp ebx, 0x11
je 0x5db397
cmp ebx, 0x15
jne 0x5db41d
mov dword [esp], ebp
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call fcn.005db7b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
cmp ebx, 0x17
jne 0x5db414
mov ebx, dword [ebp]
movzx ebx, byte [ebx + 0xb]
test bl, bl
je 0x5db41d
mov dword [esp], ebp
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call fcn.005db5a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
cmp ebx, 0x19
je 0x5db4e4
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
call fcn.00408e00
mov eax, dword [esp + 8]
lea ecx, [0x606f80]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00408cf0
mov eax, dword [esp + 4]
lea ecx, [0x6091e0]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
lea eax, [0x63820c]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004c0250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
mov dword [esp], ebp
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edi
call fcn.005dc270
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
add esp, 0x8c
ret
lea eax, [0x611440]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x13
lea ecx, [0x633536]
mov dword [eax], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 8], ecx
lea ecx, [0x60ac00]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004337b0
nop
call fcn.0045d540
jmp fcn.005db000