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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x150
mov al, byte [esp + 0x178]
mov byte [esp + 0x3b], al
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x170]
mov esi, dword [esp + 0x16c]
mov edi, dword [esp + 0x168]
mov ebx, dword [esp + 0x164]
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0x160]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
and al, 1
mov byte [esp + 0xa5], al
lea eax, [0x60fc24]
mov dword [esp + 0xa8], eax
mov byte [esp + 0xb2], 0
mov byte [esp + 0xb3], 0
lea eax, [esp + 0x44]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x5c], 0
jne 0x5cf978
mov cl, byte [esp + 0x3b]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], esi
mov dword [eax], edx
movzx ecx, cl
and ecx, 1
mov dword [eax + 0xc], ecx
call fcn.005cf6d0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
jmp 0x5cf9d9
lea eax, [esp + 0x5c]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x94], ecx
mov ecx, dword [esp + 0x94]
cmp eax, ecx
je 0x5cfa3c
jmp 0x5cf9eb
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
add esp, 0x150
pop esi
pop edi
pop ebx
ret
mov cl, byte [esp + 0x3b]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x50]
mov eax, esp
mov dword [eax + 8], edi
mov dword [eax + 4], esi
mov dword [eax], edx
movzx ecx, cl
and ecx, 1
mov dword [eax + 0xc], ecx
call fcn.005cf6d0
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x80]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmove eax, ecx
cmp eax, 0
je 0x5cfa7a
jmp 0x5cfaa0
lea eax, [esp + 0x4c]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x100], eax
lea ecx, [esp + 0x44]
mov dword [esp + 0x104], ecx
cmp eax, dword [esp + 0x5c]
setae al
mov byte [esp + 0x2f], al
and al, 1
mov byte [esp + 0x10b], al
jmp 0x5cfbfc
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x84]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
jmp 0x5cfab3
mov ecx, dword [0x60fa40]
mov eax, dword [0x60fa44]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x78]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x5cfb09
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
jmp 0x5cfb21
mov ecx, dword [0x60fa40]
mov eax, dword [0x60fa44]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
jmp 0x5cf9d9
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], eax
call fcn.005d4d60
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
shl eax, 0
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
lea eax, [esp + 0x88]
mov dword [esp + 0xf0], eax
cmp dword [esp + 0x5c], 0
jne 0x5cfbac
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
jmp 0x5cf9d9
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xf4], ecx
lea ecx, [esp + 0x9c]
mov dword [esp + 0xf8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0040cc60
jmp 0x5cfb97
mov esi, dword [esp + 0x3c]
mov al, byte [esp + 0x2f]
movzx ecx, al
and ecx, 1
mov eax, esp
mov dword [eax], ecx
call fcn.005d1f70
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], esi
mov ebx, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
mov dword [esp + 0x114], eax
lea edi, [esp + 0x64]
mov dword [esp + 0x118], edi
lea edi, [esp + 0x64]
mov dword [esp + 0x11c], edi
mov dword [esp + 0x120], edx
mov edx, dword [esp + 0x5c]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.0040cc80
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x128], eax
mov eax, dword [esp + 0x60]
cmp eax, 0
jne 0x5cfcb4
mov dword [esp + 0x74], 0
jmp 0x5cfcb6
jmp 0x5cfcce
mov edx, dword [esp + 0x74]
mov eax, 1
xor ecx, ecx
cmp edx, 0
cmove eax, ecx
cmp eax, 0
je 0x5cfce7
jmp 0x5cfcf1
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call fcn.005d50d0
mov eax, dword [esp + 0x98]
mov dword [esp + 0x74], eax
jmp 0x5cfcb6
mov dword [esp + 0x70], 0
jmp 0x5cfd00
mov eax, dword [esp + 0x74]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x70]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x5cfd27
mov eax, dword [esp + 0x70]
mov dword [esp + 0x130], eax
mov dword [esp + 0x6c], eax
jmp 0x5cfd2f
mov dword [esp + 0x6c], 0
mov edx, dword [esp + 0x6c]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmove eax, ecx
cmp eax, 0
jne 0x5cfd5e
mov al, byte [esp + 0x3b]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x134], ecx
test al, 1
jne 0x5cfd95
jmp 0x5cfd76
mov ecx, dword [0x60fa40]
mov eax, dword [0x60fa44]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
jmp 0x5cf9d9
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x144], ecx
mov dword [esp + 0x148], ecx
mov dword [esp + 0x14c], eax
jmp 0x5cfe13
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x138], ecx
mov ecx, dword [esp + 0x60]
add ecx, dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x13c], ecx
sub eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x140], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
cmp eax, 0
sete cl
mov eax, esp
mov dword [eax], edx
movzx ecx, cl
and ecx, 1
mov dword [eax + 8], ecx
mov dword [eax + 4], 1
call fcn.005d4c20
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
shl eax, 0
xor edx, edx
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call sub.VCRUNTIME140.dll_memset
jmp 0x5cfd76
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.005d50d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
jmp 0x5cf9d9