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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x250]
cmp eax, dword [ecx + 8]
jbe 0x5194d0
sub esp, 0x2d0
mov eax, 0
mov dword [esp + 0x2cc], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x2ec], 0
mov dword [esp + 0x2f0], 0
mov dword [esp + 0x2f4], 0
mov eax, dword [esp + 0x2e0]
test eax, eax
jne 0x518e11
lea eax, [0x5c1f00]
mov dword [esp], eax
call fcn.0040a590
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2d8]
mov dword [edi + 4], eax
mov eax, dword [0x6d6280]
test eax, eax
jne 0x518d90
mov ecx, dword [esp + 0x2d4]
mov dword [edi], ecx
jmp 0x518d9c
mov eax, dword [esp + 0x2d4]
call fcn.00452020
mov dword [edi + 0xc], 0
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x518db9
mov eax, dword [esp + 0x2dc]
mov dword [edi + 8], eax
jmp 0x518dce
lea ecx, [edi + 8]
mov eax, dword [esp + 0x2dc]
mov edx, edi
mov edi, ecx
call fcn.00452020
mov edi, edx
lea eax, [0x5f9c2c]
mov dword [edi + 0x10], eax
lea eax, [0x5f8a90]
mov dword [edi + 0x14], eax
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x2ec], 0
lea eax, [0x5f9b28]
mov dword [esp + 0x2f0], eax
mov dword [esp + 0x2f4], edi
add esp, 0x2d0
ret
mov ecx, dword [esp + 0x2dc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00518930
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0047cbb0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
je 0x518e50
xor edx, edx
jmp 0x518e5c
test ebx, ebx
jbe 0x5194ba
xor ecx, ecx
xor eax, eax
test ecx, ecx
je 0x518f44
mov dword [esp + 0x2ac], eax
mov dword [esp + 0x2c], ecx
lea eax, [0x5c1f00]
mov dword [esp], eax
call fcn.0040a590
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x2d8]
mov dword [edi + 4], eax
mov eax, dword [0x6d6280]
test eax, eax
jne 0x518ea0
mov ecx, dword [esp + 0x2d4]
mov dword [edi], ecx
jmp 0x518eac
mov eax, dword [esp + 0x2d4]
call fcn.00452020
mov ecx, dword [esp + 0x2e0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x518ecc
mov ecx, dword [esp + 0x2dc]
mov dword [edi + 8], ecx
jmp 0x518ee1
lea ecx, [edi + 8]
mov eax, dword [esp + 0x2dc]
mov edx, edi
mov edi, ecx
call fcn.00452020
mov edi, edx
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x518efe
mov eax, dword [esp + 0x2ac]
mov dword [edi + 0x14], eax
jmp 0x518f13
lea ecx, [edi + 0x14]
mov eax, dword [esp + 0x2ac]
mov edx, edi
mov edi, ecx
call fcn.00452020
mov edi, edx
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x2ec], 0
lea eax, [0x5f9b28]
mov dword [esp + 0x2f0], eax
mov dword [esp + 0x2f4], edi
add esp, 0x2d0
ret
mov dword [esp + 0x2b4], edx
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.00452227
mov dword [esp], edx
mov dword [esp + 4], 0
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.004a68c0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x518f8d
mov eax, dword [esp + 0x3c]
test eax, 0x400
je 0x5193d1
lea eax, [0x5f9c2c]
cmp edx, eax
jne 0x518fba
mov dword [esp], edx
mov dword [esp + 4], ebx
lea eax, [0x5f94ac]
mov dword [esp + 8], eax
call fcn.00403550
movzx eax, byte [esp + 0xc]
test al, al
jne 0x51919d
mov eax, dword [esp + 0x2b4]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov eax, dword [esp + 0x2e4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
call fcn.004a61a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
test ecx, ecx
je 0x51910e
mov dword [esp + 0x2c8], ebx
mov dword [esp + 0x2bc], edx
call fcn.0051aa40
mov eax, dword [esp]
mov dword [esp + 0x2c4], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edx, [0x5c1f00]
mov dword [esp], edx
call fcn.0040a590
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x6d6280]
test eax, eax
jne 0x519067
mov ecx, dword [esp + 0x2c4]
mov dword [edi], ecx
jmp 0x519073
mov eax, dword [esp + 0x2c4]
call fcn.00452020
mov ecx, dword [esp + 0x2e0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x519093
mov ecx, dword [esp + 0x2dc]
mov dword [edi + 8], ecx
jmp 0x5190a8
lea ecx, [edi + 8]
mov eax, dword [esp + 0x2dc]
mov edx, edi
mov edi, ecx
call fcn.00452020
mov edi, edx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x5190c8
mov eax, dword [esp + 0x2bc]
mov dword [edi + 0x14], eax
jmp 0x5190dd
lea ecx, [edi + 0x14]
mov eax, dword [esp + 0x2bc]
mov edx, edi
mov edi, ecx
call fcn.00452020
mov edi, edx
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x2ec], 0
lea eax, [0x5f9b28]
mov dword [esp + 0x2f0], eax
mov dword [esp + 0x2f4], edi
add esp, 0x2d0
ret
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x5194e0]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x2cc], ecx
mov byte [esp + 0x2b], 1
mov ecx, dword [esp + 0x2dc]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2e0]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00519520
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2e8], eax
mov dword [esp + 0x2ec], edx
mov dword [esp + 0x2f0], ecx
mov dword [esp + 0x2f4], ebx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x2cc]
mov eax, dword [edx]
call eax
add esp, 0x2d0
ret
lea edi, [esp + 0x60]
mov ecx, 0x93
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x2b4]
mov dword [esp], edx
lea edx, [esp + 0x60]
mov dword [esp + 4], edx
call fcn.0047d8e0
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
test ebx, ebx
je 0x5192d3
mov dword [esp + 0x2c8], esi
mov dword [esp + 0x2b8], ebp
call fcn.0051a930
mov eax, dword [esp]
mov dword [esp + 0x2c4], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ecx
lea edx, [0x5c1f00]
mov dword [esp], edx
call fcn.0040a590
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov eax, dword [0x6d6280]
test eax, eax
jne 0x51922c
mov ecx, dword [esp + 0x2c4]
mov dword [edi], ecx
jmp 0x519238
mov eax, dword [esp + 0x2c4]
call fcn.00452020
mov ecx, dword [esp + 0x2e0]
mov dword [edi + 0xc], ecx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x519258
mov ecx, dword [esp + 0x2dc]
mov dword [edi + 8], ecx
jmp 0x51926d
lea ecx, [edi + 8]
mov eax, dword [esp + 0x2dc]
mov edx, edi
mov edi, ecx
call fcn.00452020
mov edi, edx
mov ecx, dword [esp + 0x2c8]
mov dword [edi + 0x10], ecx
mov ecx, dword [0x6d6280]
test ecx, ecx
jne 0x51928d
mov eax, dword [esp + 0x2b8]
mov dword [edi + 0x14], eax
jmp 0x5192a2
lea ecx, [edi + 0x14]
mov eax, dword [esp + 0x2b8]
mov edx, edi
mov edi, ecx
call fcn.00452020
mov edi, edx
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x2ec], 0
lea eax, [0x5f9b28]
mov dword [esp + 0x2f0], eax
mov dword [esp + 0x2f4], edi
add esp, 0x2d0
ret
mov dword [esp], edx
call fcn.004a62e0
lea eax, [0x5c84c0]
mov dword [esp], eax
call fcn.0040a590
mov eax, dword [esp + 4]
mov dword [esp + 0x2b0], eax
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x2c], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2dc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2e0]
mov dword [esp + 8], ecx
call fcn.0051a060
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x519399
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x2ec], 0
mov dword [esp + 0x2f0], ecx
mov dword [esp + 0x2f4], edx
add esp, 0x2d0
ret
lea eax, [0x5faa24]
mov dword [esp + 0x2e8], eax
mov eax, dword [esp + 0x2b0]
mov dword [esp + 0x2ec], eax
mov dword [esp + 0x2f0], 0
mov dword [esp + 0x2f4], 0
add esp, 0x2d0
ret
lea eax, [0x5c84c0]
mov dword [esp], eax
call fcn.0040a590
mov eax, dword [esp + 4]
mov dword [esp + 0x2c0], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x28], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2dc]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2e0]
mov dword [esp + 8], ecx
call fcn.0051a060
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x519482
mov dword [esp + 0x2e8], 0
mov dword [esp + 0x2ec], 0
mov dword [esp + 0x2f0], ecx
mov dword [esp + 0x2f4], edx
add esp, 0x2d0
ret
lea eax, [0x5faa24]
mov dword [esp + 0x2e8], eax
mov eax, dword [esp + 0x2c0]
mov dword [esp + 0x2ec], eax
mov dword [esp + 0x2f0], 0
mov dword [esp + 0x2f4], 0
add esp, 0x2d0
ret
xor eax, eax
mov ecx, eax
call fcn.004520a0
nop
call fcn.0042e080
add esp, 0x2d0
ret
call fcn.00450c10
jmp fcn.00518cf0