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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x532312
sub esp, 0x64
mov eax, 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.005304f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x5322e6
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x74]
cmp ecx, 5
jge 0x5322ae
xor edx, edx
test dl, dl
jne 0x5321f3
mov eax, dword [esp + 0x70]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
call fcn.004c8e70
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 4], edx
call fcn.00409140
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x7533d0]
mov dword [esp], ecx
lea ecx, [0x5beac0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00465c00
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.00409140
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x70]
mov dword [esp], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 4], ecx
call fcn.00409140
mov eax, dword [esp + 8]
lea ecx, [0x7533f0]
mov dword [esp], ecx
lea ecx, [0x5beac0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00465c00
lea eax, [0x770cb0]
mov dword [esp], eax
call fcn.00466cc0
lea eax, [0x60208c]
mov dword [esp + 0x60], eax
lea eax, [0x770cb0]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x23], 1
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x58], ecx
lea edx, [0x7533b0]
mov dword [esp], edx
lea ebx, [0x5beac0]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x54]
mov dword [esp + 8], ebp
call fcn.00465970
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x5321e2
lea ebx, [0x5b7ae0]
cmp ebx, edx
jne 0x5322f2
mov edx, dword [ecx]
mov ebp, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x44], edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ecx
mov esi, dword [esp + 0x30]
xor eax, eax
jmp 0x532069
inc eax
mov ecx, edi
lea ebx, [0x5b7ae0]
cmp eax, ebp
jge 0x5320d7
lea ebx, [edx + eax*8]
mov edi, ecx
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
cmp esi, ecx
jne 0x532060
mov dword [esp + 0x38], eax
mov dword [esp], ebx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402890
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5320b2
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
jmp 0x532060
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00467080
add esp, 0x64
ret
lea ebx, [ebp + 1]
cmp ebx, ecx
ja 0x5321a8
mov dword [esp + 0x4c], edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
lea ecx, [edx + ebp*8 + 4]
mov dword [ecx], esi
mov ecx, dword [0x770e60]
lea edi, [edx + ebp*8]
test ecx, ecx
jne 0x53219a
mov ecx, dword [esp + 0x48]
mov dword [edi], ecx
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.00409140
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 8], ecx
call fcn.004091c0
mov eax, dword [esp + 0xc]
lea ecx, [0x7533b0]
mov dword [esp], ecx
lea ecx, [0x5beac0]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
lea ecx, [0x5b7ae0]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00465c00
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x23], 0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.00467080
add esp, 0x64
ret
mov eax, dword [esp + 0x48]
call fcn.0045df70
jmp 0x53210b
lea eax, [0x5beac0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.004450a0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
jmp 0x5320e2
lea ebx, [0x5b7ae0]
xor ebp, ebp
xor ecx, ecx
xor edx, edx
jmp 0x53204c
lea ecx, [0x5c0200]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea edx, [0x5ec06e]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 7
call fcn.0040f4f0
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x532233
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
jmp 0x531ee2
lea eax, [0x5c0200]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
lea ecx, [0x5ec06e]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 7
call fcn.0040fbc0
mov edi, dword [esp + 0x10]
mov dword [edi + 4], 5
mov eax, dword [0x770e60]
test eax, eax
jne 0x5322a1
lea eax, [0x5ebac7]
mov dword [edi], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
call fcn.0052eb40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
jmp 0x531ee6
lea eax, [0x5ebac7]
call fcn.0045df70
jmp 0x532278
mov eax, dword [esp + 0x70]
mov dword [esp], eax
lea ecx, [0x5ebab3]
mov dword [esp + 4], ecx
mov dword [esp + 8], 5
call fcn.00402890
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x24]
jmp 0x531eda
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
add esp, 0x64
ret
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5be3c0]
mov dword [esp + 8], eax
call fcn.00408df0
nop
call fcn.00430c90
add esp, 0x64
ret
call fcn.0045ca10
jmp fcn.00531e50