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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xfc]
cmp eax, dword [ecx + 8]
jbe 0x599e37
sub esp, 0x17c
lea edi, [esp + 0xbc]
xor eax, eax
call fcn.0044dd40
mov ecx, dword [0xc77030]
mov edx, dword [0xc77034]
mov ebx, dword [0xc77038]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
mov ecx, dword [esp + 0x18c]
mov dword [esp + 0xc8], ecx
mov edx, dword [esp + 0x190]
mov dword [esp + 0xcc], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 0xd0], ebx
mov eax, 2
xor ebp, ebp
mov esi, ebp
xor edi, edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0xb8], edi
jmp 0x5997ff
lea eax, [eax + eax*2]
lea ecx, [ebx + ebx*2]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 0xbc]
mov ebp, dword [edx + ecx*4]
mov esi, dword [esp + ecx*4 + 0xc0]
mov edi, dword [esp + ecx*4 + 0xc4]
mov ebx, dword [edx + eax*4]
mov ecx, dword [esp + eax*4 + 0xc0]
mov eax, dword [esp + eax*4 + 0xc4]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.00596170
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x7c]
lea ebp, [esp + 0xbc]
mov dword [ebp + ebx*4 + 4], ecx
mov dword [ebp + ebx*4 + 8], edx
mov dword [ebp + ebx*4], eax
mov ecx, dword [esp + ebx*4 + 0xc0]
mov edx, dword [esp + ebx*4 + 0xc4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1ac]
mov dword [esp + 0x2c], edx
call fcn.005969b0
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa0], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x7c]
lea edx, [esp + 0xbc]
mov ecx, dword [edx + edi*4]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + edi*4 + 0xc0]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + edi*4 + 0xc4]
mov dword [esp + 0x58], ecx
mov dword [edx + edi*4 + 4], ebp
mov dword [edx + edi*4 + 8], esi
mov dword [edx + edi*4], ebx
mov ebp, dword [esp + edi*4 + 0xc8]
mov esi, dword [esp + edi*4 + 0xcc]
mov edx, dword [esp + edi*4 + 0xd0]
mov ecx, dword [esp + edi*4 + 0xc0]
mov eax, dword [esp + edi*4 + 0xc4]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dword [esp], ebp
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov eax, dword [esp + 0x18c]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x190]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x194]
mov dword [esp + 0x20], edx
call fcn.005956c0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x7c]
mov dword [esp + ebx*4 + 0xc8], eax
mov dword [esp + ebx*4 + 0xcc], ecx
mov dword [esp + ebx*4 + 0xd0], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1a4]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x1a8]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x1ac]
mov dword [esp + 0x2c], edx
call fcn.005969b0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x4c], ebp
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + ebx*4 + 0xc8]
mov dword [esp + 0xa4], ebp
mov ebp, dword [esp + ebx*4 + 0xcc]
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + ebx*4 + 0xd0]
mov dword [esp + ebx*4 + 0xc8], eax
mov dword [esp + ebx*4 + 0xcc], ecx
mov dword [esp + ebx*4 + 0xd0], edx
mov eax, dword [esp + 0x64]
add eax, 2
mov ecx, dword [esp + 0x18c]
mov edx, dword [esp + 0x190]
mov ebx, dword [esp + 0x194]
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xb8], ecx
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x18c]
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0xb4], edi
cmp eax, 0x10
jge 0x599848
mov dword [esp + 0x64], eax
sar eax, 0x1f
shr eax, 0x1f
mov ebx, dword [esp + 0x64]
add eax, ebx
sar eax, 1
cmp eax, 0x10
jae 0x599e30
cmp ebx, 0x10
jae 0x599e30
lea edx, [ebx + 1]
cmp edx, 0x10
jb 0x599541
jmp 0x599e30
mov eax, dword [esp + 0x188]
cmp eax, 1
jl 0x599de4
mov ecx, 1
mov edx, dword [esp + 0x180]
test ecx, ecx
jbe 0x599e29
mov dword [edx], 1
mov ebx, dword [esp + 0x19c]
dec ebx
mov dword [esp + 0x60], ebx
jmp 0x599d6b
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x188], esi
mov dword [esp + 0xb4], edi
mov edi, dword [esp + 0x50]
shr edi, 0x1c
lea edi, [edi + edi*2]
mov esi, dword [esp + edi*4 + 0xbc]
mov ebp, dword [esp + edi*4 + 0xc0]
mov edi, dword [esp + edi*4 + 0xc4]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], edi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x14], ecx
call fcn.005956c0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x180], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0xb8]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb4]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a8]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1ac]
mov dword [esp + 0x2c], esi
call fcn.005969b0
mov eax, dword [esp + 0x5c]
add eax, 4
mov dword [esp + 0x5c], eax
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
shl eax, 4
mov dword [esp + 0x188], ebx
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x58], eax
mov dword [esp + 0x88], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x180]
mov dword [esp + 0xb8], edx
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x5c]
cmp eax, 0x20
jge 0x599d63
mov dword [esp + 0x184], ecx
mov ecx, dword [esp + 0x60]
cmp ebx, ecx
je 0x599d39
mov dword [esp + 0xb0], edx
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0x184]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x188]
mov dword [esp + 0x14], ecx
call fcn.00596170
mov eax, dword [esp + 0x18]
mov dword [esp + 0x180], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x74], edx
mov ebx, dword [esp + 0xb0]
mov dword [esp], ebx
mov ebx, dword [esp + 0x184]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xb8]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a8]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1ac]
mov dword [esp + 0x2c], esi
call fcn.005969b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0xac], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x70], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x188], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.00596170
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0xac]
mov dword [esp], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x180]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a8]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1ac]
mov dword [esp + 0x2c], esi
call fcn.005969b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x180], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x188], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.00596170
mov eax, dword [esp + 0x18]
mov dword [esp + 0xac], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x70], edx
mov ebx, dword [esp + 0x180]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xa8]
and al, 0xa8
add byte [eax], al
add byte [ecx - 0x74f3dba4], cl
pop esp
and al, 0x6c
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a8]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1ac]
mov dword [esp + 0x2c], esi
call fcn.005969b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x180], ebx
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x78], ebp
mov esi, dword [esp + 0x44]
mov dword [esp + 0x188], esi
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
call fcn.00596170
mov eax, dword [esp + 0x18]
mov dword [esp + 0xa8], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x6c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x180]
mov dword [esp], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x188]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x1a4]
mov dword [esp + 0x24], ebx
mov ebp, dword [esp + 0x1a8]
mov dword [esp + 0x28], ebp
mov esi, dword [esp + 0x1ac]
mov dword [esp + 0x2c], esi
call fcn.005969b0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0xa8]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x54], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0xa8]
jmp 0x599883
test eax, eax
jne 0x599a14
mov eax, edi
mov ecx, esi
mov ebx, edx
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0xb8]
mov edx, ebp
mov ebp, dword [esp + 0x184]
jmp 0x599883
dec ebx
mov eax, dword [esp + 0x188]
test ebx, ebx
jl 0x599dac
mov dword [esp + 0x188], eax
mov eax, dword [esp + 0x19c]
cmp ebx, eax
jae 0x599e22
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x198]
mov eax, dword [eax + ebx*4]
mov dword [esp + 0x98], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x98]
jmp 0x5999f0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00594040
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x1b0], eax
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], edx
add esp, 0x17c
ret
lea eax, [0x7cf6e0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 5
call fcn.00439eb0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0xb4]
jmp 0x599864
call fcn.00426a70
ud2
call fcn.00426a70
ud2
call fcn.00426a70
ud2
call fcn.0044c200
jmp fcn.005994a0