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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5144eb
sub esp, 0x7c
lea eax, [0x564940]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
lea edx, [0x57f6ff]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.0040f280
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
jne 0x513e21
mov eax, 4
lea edx, [0x57f6ff]
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], edx
lea ecx, [0x560300]
mov dword [esp], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0040f280
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
movzx edx, byte [esp + 0x14]
mov eax, dword [eax]
test dl, dl
je 0x513f11
mov dword [esp + 0x34], eax
mov dword [esp + 0x64], ecx
mov dword [esp], 0
lea eax, [0x57feba]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov ecx, dword [esp + 0x60]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x10], edx
call fcn.0044cf10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x560300]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040f5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [0x714170]
test ecx, ecx
jne 0x513edc
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
jmp 0x513ee8
lea edi, [eax + 4]
mov eax, dword [esp + 0x64]
call fcn.00461af0
lea eax, [0x560300]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x60]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
call fcn.0040f970
lea eax, [0x564940]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
lea edx, [0x57f4fb]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 3
call fcn.0040f280
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
jne 0x513f59
mov eax, 3
lea edx, [0x57f4fb]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x5c], edx
lea ecx, [0x560300]
mov dword [esp], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0040f280
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
movzx edx, byte [esp + 0x14]
mov eax, dword [eax]
test dl, dl
je 0x514049
mov dword [esp + 0x38], eax
mov dword [esp + 0x68], ecx
mov dword [esp], 0
lea eax, [0x57feba]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
call fcn.0044cf10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x560300]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040f5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov ecx, dword [0x714170]
test ecx, ecx
jne 0x514014
mov ecx, dword [esp + 0x68]
mov dword [eax + 4], ecx
jmp 0x514020
lea edi, [eax + 4]
mov eax, dword [esp + 0x68]
call fcn.00461af0
lea eax, [0x560300]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.0040f970
lea eax, [0x564940]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
lea edx, [0x57f8cf]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 5
call fcn.0040f280
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
jne 0x514091
mov eax, 5
lea edx, [0x57f8cf]
mov dword [esp + 0x28], eax
mov dword [esp + 0x58], edx
lea ecx, [0x560300]
mov dword [esp], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0040f280
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
movzx edx, byte [esp + 0x14]
mov eax, dword [eax]
test dl, dl
je 0x514181
mov dword [esp + 0x78], ecx
mov dword [esp + 0x48], eax
mov dword [esp], 0
lea eax, [0x57feba]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
call fcn.0044cf10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x560300]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040f5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
mov ecx, dword [0x714170]
test ecx, ecx
jne 0x51414c
mov ecx, dword [esp + 0x78]
mov dword [eax + 4], ecx
jmp 0x514158
lea edi, [eax + 4]
mov eax, dword [esp + 0x78]
call fcn.00461af0
lea eax, [0x560300]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.0040f970
lea eax, [0x564940]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
lea edx, [0x581634]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xc
call fcn.0040f280
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
jne 0x5141c9
mov eax, 0xc
lea edx, [0x581634]
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], edx
lea ecx, [0x560300]
mov dword [esp], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0040f280
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
movzx edx, byte [esp + 0x14]
mov eax, dword [eax]
test dl, dl
je 0x5142b9
mov dword [esp + 0x74], ecx
mov dword [esp + 0x44], eax
mov dword [esp], 0
lea eax, [0x57feba]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
call fcn.0044cf10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x560300]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040f5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov dword [eax], ecx
mov ecx, dword [0x714170]
test ecx, ecx
jne 0x514284
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
jmp 0x514290
lea edi, [eax + 4]
mov eax, dword [esp + 0x74]
call fcn.00461af0
lea eax, [0x560300]
mov dword [esp], eax
mov ecx, dword [esp + 0x80]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
call fcn.0040f970
movzx eax, byte [esp + 0x88]
test al, al
je 0x5144e7
lea eax, [0x564940]
mov dword [esp], eax
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
lea edx, [0x57f6a3]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 4
call fcn.0040f280
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
jne 0x514311
mov eax, 4
lea edx, [0x57f6a3]
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], edx
lea ecx, [0x560300]
mov dword [esp], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0040f280
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
movzx edx, byte [esp + 0x14]
mov eax, dword [eax]
test dl, dl
je 0x5143d8
mov dword [esp + 0x70], ecx
mov dword [esp + 0x40], eax
mov dword [esp], 0
lea eax, [0x57feba]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
call fcn.0044cf10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x560300]
mov dword [esp], edx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040f5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [0x714170]
test ecx, ecx
jne 0x5143cc
mov ecx, dword [esp + 0x70]
mov dword [eax + 4], ecx
jmp 0x5143d8
lea edi, [eax + 4]
mov eax, dword [esp + 0x70]
call fcn.00461af0
lea eax, [0x564940]
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
lea eax, [0x57f697]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.0040f280
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test cl, cl
jne 0x514420
mov eax, 4
lea edx, [0x57f697]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x1c], eax
lea ecx, [0x560300]
mov dword [esp], ecx
mov ebx, dword [esp + 0x80]
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.0040f280
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
movzx edx, byte [esp + 0x14]
mov eax, dword [eax]
test dl, dl
je 0x5144e7
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x3c], eax
mov dword [esp], 0
lea eax, [0x57feba]
mov dword [esp + 4], eax
mov dword [esp + 8], 7
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
call fcn.0044cf10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x560300]
mov dword [esp], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0040f5e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov ecx, dword [0x714170]
test ecx, ecx
jne 0x5144db
mov ecx, dword [esp + 0x6c]
mov dword [eax + 4], ecx
jmp 0x5144e7
lea edi, [eax + 4]
mov eax, dword [esp + 0x6c]
call fcn.00461af0
add esp, 0x7c
ret
call fcn.004606e0
jmp fcn.00513dc0