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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x753b59
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebp
mov ebp, ecx
push edi
xor edi, edi
cmp dword [ebp + 0x190], edi
jle 0x5dbcc5
mov eax, dword [ebp + 0x1c0]
push ebx
push esi
mov esi, dword [esp + 0x78]
cmp esi, edi
mov dword [esp + 0x10], eax
jge 0x5db9e2
xor esi, esi
jmp 0x5db9e8
cmp esi, eax
jle 0x5db9e8
mov esi, eax
mov al, byte [esp + 0x78]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x38], al
call fcn.00565a90
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov eax, dword [ebp + 0x190]
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x70], edi
jle 0x5dbb3e
jmp 0x5dba2d
xor edi, edi
cmp dword [esp + 0x10], esi
jle 0x5dbb3e
lea ecx, [ebp + 0x198]
push esi
mov edx, dword [ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x34], edx
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], eax
call fcn.00565b60
mov eax, dword [esp + 0x30]
push 0
mov edi, eax
mov cl, byte [eax]
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
call fcn.00404760
mov edx, dword [0x76560c]
lea ecx, [esp + 0x18]
push edx
push 0
push edi
call fcn.00404560
mov eax, dword [esp + 0x64]
mov byte [esp + 0x70], 1
test eax, eax
je 0x5dbaef
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
cmp ecx, edx
je 0x5dbaef
lea eax, [ecx + 0x10]
cmp eax, edx
jne 0x5dbac9
mov dword [esp + 0x54], eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004f1770
add esp, 8
lea ecx, [esp + 0x38]
call fcn.0045cf00
jmp 0x5dbb13
mov dword [esp + 0x78], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], ecx
test ecx, ecx
mov byte [esp + 0x70], 2
je 0x5dbae8
lea edx, [esp + 0x18]
push edx
call fcn.004257d0
mov byte [esp + 0x70], 1
jmp 0x5dbb13
lea ecx, [esp + 0x38]
call fcn.0045cf00
mov eax, dword [esp + 0x54]
mov ecx, eax
add eax, 0x10
mov dword [esp + 0x54], eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004f1770
add esp, 8
mov eax, dword [esp + 0x64]
push 1
inc eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x68], eax
mov byte [esp + 0x74], 0
call fcn.00404760
mov eax, dword [ebp + 0x190]
inc ebx
inc esi
cmp ebx, eax
jl 0x5dba2b
xor edi, edi
xor esi, esi
test ebx, ebx
jle 0x5dbbbc
mov esi, ebx
mov ecx, dword [ebp + 0x17c]
mov eax, dword [ecx + edi*4]
test eax, eax
je 0x5dbbb7
mov edx, dword [ebp + 0xc0]
mov edx, dword [edx + 0xd8]
mov dword [eax + 0xd8], edx
mov eax, dword [eax + 0xbc]
test eax, eax
je 0x5dbb77
push edx
mov ecx, eax
call fcn.004380d0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], ecx
push edi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
call fcn.00565b60
mov ecx, dword [ebp + 0x17c]
mov eax, dword [esp + 0x30]
push eax
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
call dword [edx + 0x9c]
inc edi
cmp edi, ebx
jl 0x5dbb46
mov eax, dword [ebp + 0x190]
mov dword [esp + 0x78], esi
cmp esi, eax
jge 0x5dbc77
mov ecx, dword [ebp + 0x17c]
cmp dword [ecx + esi*4], 0
je 0x5dbc64
mov dl, byte [esp + 0x78]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call fcn.00404760
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x1c]
push ebx
call fcn.00401450
test al, al
je 0x5dbc39
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov eax, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.00404970
mov esi, dword [esp + 0x78]
mov ecx, dword [ebp + 0x17c]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x74], 3
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
call dword [edx + 0x9c]
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 0
call fcn.00404760
mov eax, dword [ebp + 0x190]
inc esi
cmp esi, eax
mov dword [esp + 0x78], esi
jl 0x5dbbce
mov eax, dword [esp + 0x64]
pop esi
test eax, eax
mov dword [esp + 0x6c], 0xffffffff
pop ebx
je 0x5dbcc5
mov eax, dword [esp + 0x3c]
push 0
mov ecx, eax
add eax, 0x10
mov dword [esp + 0x40], eax
call fcn.00565f80
mov eax, dword [esp + 0x5c]
dec eax
mov dword [esp + 0x5c], eax
je 0x5dbcb4
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp ecx, eax
jne 0x5dbcbd
lea ecx, [esp + 0x30]
call fcn.00514520
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x5dbc89
mov ecx, dword [esp + 0x60]
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x64
ret 4