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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x110]
cmp eax, dword [ecx + 8]
jbe 0x5dc1c3
sub esp, 0x190
mov eax, dword [esp + 0x198]
test eax, eax
je 0x5db8df
mov eax, dword [eax + 8]
cmp eax, 0x9eaa9ae
jne 0x5db8a9
mov eax, dword [esp + 0x198]
lea ecx, [0x67bd80]
cmp eax, ecx
jne 0x5db8d7
mov eax, dword [esp + 0x19c]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
xor ebx, ebx
jmp 0x5db8e5
cmp eax, 0x4b6059d3
jne 0x5db8d7
mov eax, dword [esp + 0x198]
lea ecx, [0x67bb00]
cmp eax, ecx
jne 0x5db8d7
mov edx, dword [esp + 0x19c]
mov ebx, dword [edx]
test ebx, ebx
sete bl
mov ecx, dword [edx + 0x10]
mov eax, dword [edx + 0xc]
jmp 0x5db8e5
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x5db8e5
xor ebx, ebx
xor ecx, ecx
xor eax, eax
mov byte [esp + 0x27], bl
mov dword [esp + 0x4c], eax
mov edx, dword [esp + 0x194]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 8], ecx
mov byte [esp + 0xc], bl
call fcn.005da290
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x5dba9d
mov dword [esp + 0x154], ebp
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x194]
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1a0]
mov dword [esp + 8], ecx
movzx ecx, byte [esp + 0x27]
mov byte [esp + 0xc], cl
call fcn.005da290
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
test eax, eax
jne 0x5dba67
test ebx, ebx
jne 0x5db9cb
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x5db9d7
mov eax, dword [0x8f78a0]
mov ecx, dword [0x8f78a4]
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
add esp, 0x190
ret
mov eax, edx
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x5db9e2
mov ecx, edx
mov eax, ecx
mov edx, dword [esp + 0x154]
jmp 0x5db9ec
test ebx, ebx
je 0x5dba31
mov eax, edx
mov edx, ebp
mov ecx, ebx
mov dword [esp + 0x148], edx
mov dword [esp + 0x158], ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ecx
mov esi, dword [esp + 0x194]
xor edi, edi
xor edi, edi
mov dword [esp + 0x2c], edi
xor edi, edi
mov dword [esp + 0x34], edi
xor edi, edi
mov dword [esp + 0x38], edi
lea edi, [0x91e8c0]
mov dword [esp + 0x150], edi
xor edi, edi
jmp 0x5dbb0c
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
add esp, 0x190
ret
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
add esp, 0x190
ret
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], edx
add esp, 0x190
ret
mov edi, dword [esp + 0x40]
inc edi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x148]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x150], ebp
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x158]
mov esi, dword [esp + 0x194]
cmp ecx, edi
jbe 0x5dbfa1
mov dword [esp + 0x40], edi
lea edi, [esp + 0x168]
xor eax, eax
call fcn.00463146
mov ecx, dword [esp + 0x40]
mov edi, ebp
lea ebp, [ecx + ecx*2]
mov dword [esp + 0x54], ebp
mov ebx, dword [edx + ebp*4]
test ebx, ebx
seta bl
mov edx, dword [edx + ebp*4 + 4]
test edx, edx
xchg ebp, ebx
seta bl
xchg ebp, ebx
sete cl
and ecx, ebx
or ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x5dbdfd
and edx, 0x80000000
test edx, edx
jbe 0x5dbc4c
mov byte [esp + 0x172], 1
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x148]
mov ebx, dword [edx + ecx*4]
and ebx, 0xffff
mov dword [esp + 0x174], ebx
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x3c]
cmp ebx, ebp
jae 0x5dbbcb
mov ebp, dword [esp + 0x154]
mov edx, dword [ebp + ecx*4 + 4]
mov eax, dword [ebp + ecx*4]
mov dword [esp + 0x178], eax
mov dword [esp + 0x17c], edx
mov eax, dword [ebp + ecx*4 + 8]
mov dword [esp + 0x18c], eax
xor eax, eax
mov edx, dword [esp + 0x148]
mov ebp, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
cmp ebx, ebp
jae 0x5dbbf3
mov ebp, dword [edi + ecx*4 + 4]
mov edx, dword [edi + ecx*4]
mov dword [esp + 0x180], edx
mov dword [esp + 0x184], ebp
mov ecx, dword [edi + ecx*4 + 8]
mov dword [esp + 0x188], ecx
mov eax, dword [esp + 0x174]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
mov dword [esp + 8], 0xa
call fcn.004a9110
mov dword [esp], 0
lea eax, [0x6c7095]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
call fcn.0044ed00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
jmp 0x5dbded
movzx ecx, byte [esp + 0x27]
test cl, cl
je 0x5dbca8
mov edx, edi
lea edi, [esp + 0x58]
call fcn.00463114
mov ecx, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
lea ebp, [0x6c0060]
cmp ecx, ebp
jne 0x5dc1ac
lea edi, [esp + 0x58]
mov esi, ebx
call fcn.00463408
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x148]
mov ebp, dword [ebx + ecx*4]
mov eax, dword [esp + 0x70]
sub ebp, eax
mov eax, dword [ebx + ecx*4 + 4]
mov esi, edx
mov edx, dword [esp + 0x74]
mov dword [ebx + ecx*4], ebp
sbb eax, edx
mov dword [ebx + ecx*4 + 4], eax
jmp 0x5dbcb5
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x148]
mov esi, edi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
cmp eax, edx
jae 0x5dbcf1
mov ebp, dword [esp + 0x154]
mov edi, dword [ebp + ecx*4]
mov edx, dword [ebp + ecx*4 + 4]
mov dword [esp + 0x178], edi
and edx, 0x7fffffff
mov dword [esp + 0x17c], edx
mov edx, dword [ebp + ecx*4 + 8]
mov dword [esp + 0x18c], edx
jmp 0x5dbcf8
mov ebp, dword [esp + 0x154]
mov edx, dword [esp + 0x44]
cmp eax, edx
jae 0x5dbd26
mov edi, dword [esi + ecx*4]
mov edx, dword [esi + ecx*4 + 4]
mov dword [esp + 0x180], edi
and edx, 0x7fffffff
mov dword [esp + 0x184], edx
mov edx, dword [esi + ecx*4 + 8]
mov dword [esp + 0x188], edx
mov eax, dword [ebx + ecx*4]
mov edx, dword [esp + 0x194]
mov dword [esp], edx
mov dword [esp + 4], eax
call fcn.005d7fc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x194]
mov edx, dword [ecx + 0x28c]
mov ebx, dword [ecx + 0x288]
mov ebp, dword [ecx + 0x290]
cmp edx, eax
jb 0x5dc1a5
sub edx, eax
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
cmp edx, 1
jbe 0x5dc199
movzx eax, word [ebx + eax]
mov word [esp + 0x170], ax
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x148]
mov eax, dword [edx + eax*4]
add eax, 2
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
call fcn.005d8400
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x168], eax
mov dword [esp + 0x16c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005d7a90
movzx eax, byte [esp + 8]
test al, al
jne 0x5dbded
lea ecx, [0x6c8a3f]
mov dword [esp + 0x168], ecx
mov dword [esp + 0x16c], 9
xor eax, eax
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ecx, dword [esp + 0x16c]
mov edx, dword [esp + 0x174]
test edx, edx
jne 0x5dbe4e
test ecx, ecx
jne 0x5dbe4e
mov ecx, dword [0x8f1858]
mov dword [esp + 0x15c], ecx
mov edx, dword [0x8f185c]
mov dword [esp + 0x48], edx
mov ebx, dword [esi + 0x274]
mov dword [esp + 0x30], ebx
mov ebp, dword [esi + 0x270]
mov dword [esp + 0x14c], ebp
xor eax, eax
mov dword [esp + 0x54], eax
xor eax, eax
jmp 0x5dc056
mov ecx, dword [esp + 0x168]
cmp dword [esp + 0x16c], 9
jne 0x5dbecd
mov dword [esp], ecx
lea eax, [0x6c8a3f]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
je 0x5dbebd
mov ecx, dword [esp + 0x2c]
cmp ecx, 0x3e8
jbe 0x5dbe9b
mov edx, dword [esp + 0x40]
cmp ecx, edx
jne 0x5dbe9f
jmp 0x5dbfe2
mov edx, dword [esp + 0x40]
inc ecx
xor eax, eax
mov edx, dword [esp + 0x158]
mov ebx, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x150]
jmp 0x5dbad3
xor eax, eax
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ecx, dword [esp + 0x34]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x38]
cmp ebx, edx
jb 0x5dbee5
mov ebp, dword [esp + 0x150]
jmp 0x5dbf31
lea eax, [0x6b6080]
mov dword [esp], eax
mov ebp, dword [esp + 0x150]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.0044b5e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc ecx
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
mov ebp, eax
mov ebx, edx
xor eax, eax
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], edx
mov edx, dword [0x91eb10]
lea ecx, [ecx + ecx*4]
lea ecx, [ebp + ecx*8]
test edx, edx
jne 0x5dbf58
mov edx, edi
mov edi, ecx
lea esi, [esp + 0x168]
call fcn.004635fc
jmp 0x5dbf94
mov dword [esp + 0x164], ebp
mov dword [esp + 0x50], ebx
lea eax, [0x6b6080]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x168]
mov dword [esp + 8], eax
call fcn.00410b80
xor eax, eax
mov edx, dword [esp + 0x158]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x164]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
jmp 0x5dbad3
mov eax, dword [esp + 0x150]
mov dword [esp + 0x1a4], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1a8], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1ac], eax
mov dword [esp + 0x1b0], 0
mov dword [esp + 0x1b4], 0
add esp, 0x190
ret
lea eax, [0x6987c0]
mov dword [esp], eax
call fcn.0040b7c0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x28
lea ecx, [0x6d8bc6]
mov dword [eax], ecx
mov dword [esp + 0x1a4], 0
mov dword [esp + 0x1a8], 0
mov dword [esp + 0x1ac], 0
lea ecx, [0x73d8a4]
mov dword [esp + 0x1b0], ecx
mov dword [esp + 0x1b4], eax
add esp, 0x190
ret
inc ecx
mov ebp, dword [esp + 0x14c]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x54]
cmp ecx, ebx
jge 0x5dc0c3
lea ebp, [ebp + ecx*8]
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp]
cmp ebx, edx
jne 0x5dc03f
mov dword [esp], ebp
mov eax, dword [esp + 0x15c]
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.00402990
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5dc0a6
xor eax, eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
jmp 0x5dc03f
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
cmp ecx, edx
mov eax, 0
mov esi, dword [esp + 0x194]
mov edi, dword [esp + 0x158]
jl 0x5dbe4e
mov ecx, dword [esi + 0x274]
lea edx, [ecx + 1]
mov ebx, dword [esi + 0x270]
mov ebp, dword [esi + 0x278]
cmp ebp, edx
jae 0x5dc143
lea eax, [0x68d7c0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.0044b5e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x194]
mov dword [ebx + 0x278], edx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x5dc12b
mov dword [ebx + 0x270], eax
jmp 0x5dc136
lea edi, [ebx + 0x270]
call fcn.00462ed0
mov esi, ebx
mov edi, dword [esp + 0x158]
mov ebx, eax
xor eax, eax
lea edx, [ecx + 1]
mov dword [esi + 0x274], edx
mov edx, dword [0x8f1858]
mov dword [esp + 0x160], edx
mov ebp, dword [0x8f185c]
lea edx, [ebx + ecx*8 + 4]
mov dword [edx], ebp
mov edx, dword [0x91eb10]
lea ecx, [ebx + ecx*8]
test edx, edx
jne 0x5dc180
mov edx, dword [esp + 0x160]
mov dword [ecx], edx
jmp 0x5dbe4e
mov edx, edi
mov edi, ecx
mov eax, dword [esp + 0x160]
call fcn.00462ed0
xor eax, eax
mov edi, edx
jmp 0x5dbe4e
mov eax, 1
mov ecx, edx
call fcn.00462f50
mov ecx, edx
call fcn.00462fc0
mov dword [esp], ecx
mov dword [esp + 4], ebp
lea eax, [0x68d080]
mov dword [esp + 8], eax
call fcn.00408df0
nop
call fcn.00461ac0
jmp fcn.005db850