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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x114
mov eax, dword [esp + 0x124]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov bl, byte [esp + 0x138]
mov eax, dword [esp + 0x134]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x130]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x12c]
mov dword [esp + 0x28], edx
mov esi, dword [esp + 0x128]
mov dword [esp + 0x2c], esi
and bl, 1
mov byte [esp + 0x33], bl
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov byte [esp + 0xce], 0xff
mov byte [esp + 0xcf], 0xff
cmp eax, 0
jne 0x531ba4
mov eax, dword [esp + 0x18]
mov ecx, dword [0x604a80]
mov dword [eax], ecx
mov ecx, dword [0x604a84]
mov dword [eax + 4], ecx
mov ecx, dword [0x604a88]
mov dword [eax + 8], ecx
mov ecx, dword [0x604a8c]
mov dword [eax + 0xc], ecx
jmp 0x531bcf
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00531ed0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
lea eax, [esp + 0x33]
mov dword [esp + 0xd0], eax
cmp dword [esp + 0x44], 0
je 0x531bd4
jmp 0x531c64
jmp 0x531eb4
mov al, byte [esp + 0x33]
and al, 1
movzx eax, al
mov dword [esp], eax
call fcn.005ec6d0
mov ecx, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ecx
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 0
jmp 0x531ced
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x48]
mov dword [esp + 0xe4], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], 0x80000001
mov eax, dword [esp + 0x40]
mov dword [esp + 0xe8], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 0x80000001
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xec], ecx
mov al, byte [esp + 0x33]
lea ebx, [esp + 0x74]
and al, 1
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
movzx eax, al
mov dword [esp + 0x14], eax
call fcn.005318f0
mov edx, dword [esp + 0x74]
xor eax, eax
mov ecx, 1
cmp edx, 0
cmove eax, ecx
cmp eax, 0
je 0x531cf2
jmp 0x531e2b
jmp 0x531eb4
mov eax, dword [esp + 0x74]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x54]
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0xf4], ecx
mov dword [esp + 0xf8], ecx
lea eax, [esp + 0x54]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x90]
add eax, 1
add eax, 0x10
mov dword [esp + 0x100], eax
shl eax, 0
mov dword [esp], ecx
mov dword [esp + 4], 0xff
mov dword [esp + 8], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x94]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x98]
mov dword [eax + 0xc], ecx
jmp 0x531bcf
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ecx
mov edx, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x64], 0
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10c], edx
mov dword [esp + 0x110], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax], 0
jmp 0x531ced
mov eax, dword [esp + 0x1c]
add esp, 0x114
pop esi
pop edi
pop ebx
ret