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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xec]
cmp eax, dword [ecx + 8]
jbe 0x5d842b
sub esp, 0x16c
lea eax, [0x6c2bc0]
mov dword [esp], eax
mov eax, dword [esp + 0x178]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.0044b780
mov eax, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x178]
test ecx, ecx
je 0x5d7e8a
mov edx, dword [esp + 0x174]
xor ebx, ebx
jmp 0x5d7e1f
mov eax, dword [esp + 0xa4]
lea edx, [eax + 0xc]
mov dword [esp + 0x68], ebx
mov dword [esp + 0xa4], edx
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebp, dword [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.005ba5a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
test ecx, ecx
jne 0x5d7fe9
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0xa8]
lea edi, [ebp + ebx*4]
mov esi, dword [0x90e260]
test esi, esi
jne 0x5d7e75
mov dword [ebp + ebx*4], eax
jmp 0x5d7e7a
call fcn.004630d0
inc ebx
mov esi, dword [esp + 0x178]
cmp esi, ebx
jg 0x5d7e15
mov eax, ebp
mov ecx, esi
mov ebx, dword [esp + 0x170]
mov ebp, dword [ebx + 0x28]
movzx esi, byte [ebp + 0x50]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x5d7fe2
mov ebp, dword [ebp + 8]
test ebp, ebp
jne 0x5d7eaf
lea ebp, [0x6f1ac8]
mov eax, dword [ebp]
mov edx, ebp
call eax
lea edi, [esp + 0xc8]
lea esi, [esp]
call fcn.0046384e
lea edi, [esp + 0xb4]
lea esi, [esp + 0xc8]
call fcn.0046384e
call fcn.0040c2e0
mov eax, dword [esp]
mov dword [esp + 0xa0], eax
call fcn.0040c2e0
mov eax, dword [esp]
mov dword [esp + 0x9c], eax
lea ecx, [0x6b1ac0]
mov dword [esp], ecx
call fcn.0040b800
mov edi, dword [esp + 4]
mov eax, dword [0x90e260]
test eax, eax
jne 0x5d7f27
mov ecx, dword [esp + 0xa0]
mov dword [edi], ecx
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0x10], ecx
jmp 0x5d7f48
mov eax, dword [esp + 0xa0]
call fcn.004630d0
lea ecx, [edi + 0x10]
mov eax, dword [esp + 0x9c]
mov edx, edi
mov edi, ecx
call fcn.004630d0
mov edi, edx
mov dword [esp + 0x7c], edi
xor eax, eax
lea edi, [esp + 0xdc]
call fcn.00463363
mov ecx, dword [esp + 0x170]
mov edx, dword [ecx + 0x28]
mov edx, dword [edx + 0x30]
mov dword [esp + 0xe8], edx
lea edi, [esp + 0xec]
lea esi, [esp + 0xb4]
call fcn.0046384e
mov ecx, dword [esp + 0x170]
mov edx, dword [ecx + 0x28]
mov ebx, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], edx
mov edx, dword [esp + 0x7c]
mov dword [esp + 0xe4], edx
mov edx, dword [esp + 0x178]
cmp edx, 1
jb 0x5d841e
lea eax, [edx - 1]
mov dword [esp + 0x78], eax
mov ebx, eax
neg eax
sar eax, 0x1f
and eax, 4
mov ebp, dword [esp + 0xa8]
add eax, ebp
mov dword [esp + 0x98], eax
xor esi, esi
jmp 0x5d835c
test ecx, ecx
jmp 0x5d80b1
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x8c], edx
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005cf040
mov eax, dword [esp + 0x6c]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], 0
lea edx, [0x6dfba0]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2e
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0044efe0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x64], ecx
lea edx, [0x6a08e0]
mov dword [esp], edx
call fcn.0040b800
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x64]
mov dword [edi + 4], eax
mov eax, dword [0x90e260]
test eax, eax
jne 0x5d808a
mov eax, dword [esp + 0x80]
mov dword [edi], eax
jmp 0x5d8096
mov eax, dword [esp + 0x80]
call fcn.004630d0
lea eax, [0x751118]
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], edi
add esp, 0x16c
ret
jbe 0x5d8312
mov ebp, dword [eax]
mov ebp, dword [ebp + 0x50]
test ebp, ebp
je 0x5d8284
mov esi, dword [ebp + 8]
cmp esi, 0x4bcec15d
jne 0x5d80de
lea esi, [0x6a28e0]
cmp ebp, esi
je 0x5d810f
jmp 0x5d8284
cmp esi, 0x8c7bd38d
jne 0x5d80f5
lea esi, [0x6bb860]
cmp ebp, esi
je 0x5d810f
jmp 0x5d8284
cmp esi, 0xc0d9e4a4
jne 0x5d8284
lea esi, [0x69dc20]
cmp ebp, esi
jne 0x5d8284
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x54], ecx
mov ebp, dword [0x90e260]
test ebp, ebp
jne 0x5d8124
mov dword [ebx + 0x4c], eax
jmp 0x5d812c
lea edi, [ebx + 0x4c]
call fcn.004630d0
mov eax, dword [ebx + 0x28]
mov edx, dword [eax + 0x28]
test edx, edx
je 0x5d8183
mov eax, dword [edx]
mov ebp, dword [ebx + 0x58]
mov esi, dword [ebx + 0x5c]
mov edi, dword [ebx + 0x60]
mov ebx, dword [esp + 0x174]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x17c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x5d823f
mov ebx, dword [esp + 0x170]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5d81dd
mov dword [esp], ebx
call fcn.005d2960
lea edi, [esp + 0x110]
lea esi, [esp + 4]
call fcn.0046379a
mov eax, dword [esp + 0x170]
mov ecx, dword [eax + 0x28]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [edx]
mov dword [esp + 0x74], ecx
lea edi, [esp]
lea esi, [esp + 0x110]
call fcn.0046379a
mov ecx, dword [esp + 0x74]
call ecx
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
test eax, eax
jne 0x5d81fa
mov dword [esp + 0x180], 0
mov dword [esp + 0x184], 0
add esp, 0x16c
ret
mov dword [esp + 0x84], edx
mov dword [esp + 0x94], ecx
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005cf040
mov eax, dword [esp + 0x94]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x184], eax
add esp, 0x16c
ret
mov dword [esp + 0x94], ecx
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x170]
mov dword [esp], eax
mov byte [esp + 4], 0x2a
call fcn.005cf040
mov eax, dword [esp + 0x94]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x184], eax
add esp, 0x16c
ret
mov dword [esp], ebx
mov byte [esp + 4], 0x2b
call fcn.005cf040
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xa8]
mov eax, dword [eax]
mov ecx, dword [eax + 0x50]
mov eax, dword [eax + 0x54]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
lea eax, [0x6e3989]
mov dword [esp], eax
mov dword [esp + 4], 0x48
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004beaf0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x180], eax
mov dword [esp + 0x184], ecx
add esp, 0x16c
ret
xor eax, eax
mov ecx, eax
call fcn.00463150
mov dword [esp + 0x70], esi
mov ecx, dword [eax + esi*4]
mov edx, dword [esp + 0xe4]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.005b2db0
mov eax, dword [esp + 0x70]
lea esi, [eax + 1]
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x170]
mov edx, dword [esp + 0x178]
mov ebx, dword [esp + 0x78]
mov ebp, dword [esp + 0xa8]
cmp esi, ebx
jl 0x5d831b
mov eax, dword [ebp]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xdc]
call fcn.004637fe
call fcn.005bf980
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0x44]
mov esi, ebp
mov ebp, dword [esp + 0x48]
mov edi, ebp
mov ebp, dword [esp + 0x170]
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x60], edx
mov ecx, dword [0x90e260]
test ecx, ecx
jne 0x5d83b3
mov dword [ebp + 0x58], eax
jmp 0x5d83c5
mov ecx, esi
lea esi, [ebp + 0x58]
mov edx, edi
mov edi, esi
call fcn.004630d0
mov esi, ecx
mov edi, edx
test ebx, ebx
jne 0x5d83e0
mov ecx, dword [esp + 0x178]
test ecx, ecx
mov eax, dword [esp + 0xa8]
mov ebx, ebp
jmp 0x5d80b1
mov dword [esp + 0x94], esi
mov dword [esp + 0x90], edi
mov dword [esp], ebp
mov byte [esp + 4], 0x2a
call fcn.005cf040
mov eax, dword [esp + 0x94]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x184], eax
add esp, 0x16c
ret
mov eax, 1
xor ecx, ecx
call fcn.004631b0
nop
call fcn.00461cc0
jmp fcn.005d7db0