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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x51a90b
sub esp, 0x100
mov eax, dword [esp + 0x11c]
test eax, eax
jne 0x519d72
mov eax, dword [0xa84ba8]
mov ecx, dword [0xa84bac]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x792800]
mov dword [esp], edx
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x519cf4
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
jmp 0x519d00
mov eax, dword [esp + 0xb0]
call fcn.004643b0
mov dword [edi + 0xc], 0
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x519d1d
mov eax, dword [esp + 0x118]
mov dword [edi + 8], eax
jmp 0x519d32
lea ecx, [edi + 8]
mov eax, dword [esp + 0x118]
mov edx, edi
mov edi, ecx
call fcn.004643b0
mov edi, edx
mov byte [edi + 0x1a], 1
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
lea eax, [0x844354]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], edi
add esp, 0x100
ret
mov ecx, dword [esp + 0x118]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00516650
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test eax, eax
jne 0x51a6ca
mov eax, dword [esp + 0x108]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x10c]
mov dword [esp], edx
lea ebx, [0x760580]
mov dword [esp + 4], ebx
lea ebx, [0xaaacd4]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x741120]
cmp dword [esp + 0xc], ecx
je 0x519ddd
xor eax, eax
mov dword [esp + 0x64], eax
test eax, eax
je 0x519e04
mov edx, dword [eax]
test edx, edx
je 0x519e04
mov eax, dword [edx]
mov ecx, dword [esp + 0x118]
mov dword [esp], ecx
mov ebx, dword [esp + 0x11c]
mov dword [esp + 4], ebx
call eax
lea eax, [0x767f60]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
mov dword [esp + 0xac], eax
lea ecx, [0x527a10]
mov dword [eax], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x519e3b
mov ecx, dword [esp + 0x104]
mov dword [eax + 4], ecx
jmp 0x519e4a
lea edi, [eax + 4]
mov eax, dword [esp + 0x104]
call fcn.004643b0
mov eax, dword [esp + 0x108]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x10c]
mov dword [esp], edx
lea ebx, [0x760540]
mov dword [esp + 4], ebx
lea ebx, [0xaaacd4]
mov dword [esp + 8], ebx
call ecx
mov eax, dword [esp + 0x10]
lea ecx, [0x75aee0]
cmp dword [esp + 0xc], ecx
je 0x519e86
xor eax, eax
test eax, eax
jne 0x519e91
mov eax, dword [esp + 0xac]
mov dword [esp + 0x68], eax
mov ecx, dword [0xa82c5c]
mov dword [esp + 0xa8], ecx
lea edx, [0x7928a0]
mov dword [esp], edx
call fcn.0040bcc0
mov eax, dword [esp + 4]
lea ecx, [0x8459fc]
mov dword [eax], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x519ed2
mov ecx, dword [esp + 0xa8]
mov dword [eax + 4], ecx
jmp 0x519ee5
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0xa8]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0x108]
mov dword [eax + 8], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x519f05
mov ecx, dword [esp + 0x10c]
mov dword [eax + 0xc], ecx
jmp 0x519f18
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x10c]
call fcn.004643b0
mov eax, ecx
lea ecx, [0x845abc]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004febc0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x70], ecx
mov edx, dword [esp + 8]
mov dword [esp + 0xb0], edx
mov dword [esp], 0
mov ebx, dword [esp + 0x110]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x114]
mov dword [esp + 8], ebp
lea esi, [0x843aa4]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x118]
mov dword [esp + 0x14], esi
mov edi, dword [esp + 0x11c]
mov dword [esp + 0x18], edi
call fcn.0044eca0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
lea edx, [0xaaafc0]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.0046f420
mov eax, dword [esp + 0x104]
test eax, eax
je 0x519fc5
lea ecx, [eax + 8]
jmp 0x519fd0
mov edx, dword [0xa7acbc]
test byte [edx], al
lea ecx, [edx + 8]
mov dword [esp + 0x5c], ecx
lea eax, [0x7854c0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
lea ecx, [0x51a9c0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x51a012
mov ecx, dword [esp + 0x70]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
jmp 0x51a02e
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x70]
call fcn.004643b0
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x68]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0x114]
mov dword [eax + 0x14], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x51a04e
mov ecx, dword [esp + 0x110]
mov dword [eax + 0x10], ecx
jmp 0x51a061
lea edi, [eax + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x110]
call fcn.004643b0
mov eax, ecx
mov ecx, dword [esp + 0x11c]
mov dword [eax + 0x1c], ecx
mov edx, dword [0xaab020]
test edx, edx
jne 0x51a081
mov edx, dword [esp + 0x118]
mov dword [eax + 0x18], edx
jmp 0x51a094
lea edi, [eax + 0x18]
mov edx, eax
mov eax, dword [esp + 0x118]
call fcn.004643b0
mov eax, edx
mov ecx, dword [esp + 0x5c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
call fcn.00505b20
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x108]
mov edx, dword [ecx + 0x14]
mov ebx, dword [esp + 0x10c]
mov dword [esp], ebx
call edx
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
lea edi, [esp + 0xec]
xor eax, eax
call fcn.0046465b
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xb4], eax
lea ecx, [esp + 0xec]
mov dword [esp + 0xb8], ecx
lea edx, [esp + 0xb4]
mov dword [esp], edx
lea edx, [esp + 0x54]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.00447d90
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x51a386
lea edi, [esp + 0xd8]
lea esi, [esp + 0xec]
call fcn.00464b3e
lea eax, [0xaaafc0]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call fcn.0046f420
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
call eax
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0xe4]
test eax, eax
je 0x51a309
lea edx, [0x844354]
cmp eax, edx
jne 0x51a1e0
mov edx, dword [esp + 0x64]
test edx, edx
jmp 0x51a30f
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x40], eax
mov edx, dword [0xa7b0c4]
cmp dword [0xa7b0c0], eax
jne 0x51a21e
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
je 0x51a216
mov eax, 1
jmp 0x51a251
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
lea edx, [0x767c60]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00409810
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x51a244
xor eax, eax
jmp 0x51a251
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
movzx eax, byte [esp + 4]
mov byte [esp + 0x27], al
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + 0x10]
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x792800]
mov dword [esp], edx
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x51a2a6
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
jmp 0x51a2b2
mov eax, dword [esp + 0xb0]
call fcn.004643b0
mov ecx, dword [esp + 0x11c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x51a2d8
mov eax, dword [esp + 0x118]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x64]
test eax, eax
jmp 0x51a2f5
lea ecx, [edi + 8]
mov eax, dword [esp + 0x118]
mov edx, edi
mov edi, ecx
call fcn.004643b0
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov eax, ecx
mov edi, edx
movzx edx, byte [esp + 0x27]
mov byte [edi + 0x18], dl
mov edx, eax
lea eax, [0x844354]
mov ecx, edi
jmp 0x51a30f
mov edx, dword [esp + 0x64]
test edx, edx
je 0x51a77f
mov ebx, dword [edx + 4]
test ebx, ebx
je 0x51a77f
mov dword [esp + 0x4c], eax
mov dword [esp + 0xa0], ecx
mov ebx, dword [esp + 0xdc]
lea ebp, [0x749e80]
cmp dword [esp + 0xd8], ebp
jne 0x51a348
mov esi, dword [ebx]
mov ebx, dword [ebx + 4]
jmp 0x51a34c
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x48], ebx
mov dword [esp + 0x90], esi
lea eax, [0x758500]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
call fcn.0044b030
mov eax, dword [esp + 0xc]
mov dword [esp + 0x9c], eax
mov ecx, dword [esp + 0x90]
xor edx, edx
jmp 0x51a83c
mov eax, dword [esp + 0x104]
test eax, eax
je 0x51a396
add eax, 8
jmp 0x51a3a1
mov ecx, dword [0xa7acbc]
test byte [ecx], al
lea eax, [ecx + 8]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.00505fe0
movzx eax, byte [esp + 0xc]
test al, al
je 0x51a429
mov edx, dword [esp + 0x74]
mov eax, dword [edx]
call eax
lea eax, [0x77b780]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
lea ecx, [0x51a970]
mov dword [eax], ecx
lea ecx, [0x7e0b40]
mov dword [eax + 4], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x51a403
mov ecx, dword [esp + 0x8c]
mov dword [eax + 8], ecx
jmp 0x51a416
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.004643b0
mov eax, ecx
lea ecx, [0x7e0b44]
mov dword [eax + 0xc], ecx
mov dword [esp], eax
call fcn.00441c50
jmp 0x51a490
lea eax, [0x77b7e0]
mov dword [esp], eax
call fcn.0040bcc0
mov eax, dword [esp + 4]
lea ecx, [0x51a920]
mov dword [eax], ecx
lea ecx, [0x7e0b40]
mov dword [eax + 4], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x51a469
mov ecx, dword [esp + 0x8c]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x74]
mov dword [eax + 0xc], ecx
jmp 0x51a488
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x8c]
call fcn.004643b0
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0x74]
call fcn.004643b0
mov eax, ecx
mov dword [esp], eax
call fcn.00441c50
mov eax, dword [esp + 0x108]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0x10c]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x88], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x98], edx
mov ebx, dword [0xa83dcc]
mov ebp, dword [esp + 8]
mov dword [esp + 0x84], ebp
cmp dword [0xa83dc8], edx
jne 0x51a51d
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
je 0x51a504
lea eax, [0x8448a4]
lea ecx, [0xaaacd4]
jmp 0x51a56b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x84]
mov ebx, dword [0xa7b0c4]
cmp dword [0xa7b0c0], edx
jne 0x51a56b
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.00403870
movzx eax, byte [esp + 0xc]
test al, al
je 0x51a552
mov eax, dword [0xa7b268]
mov ecx, dword [0xa7b26c]
jmp 0x51a56b
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x98]
mov ebp, dword [esp + 0x84]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], ecx
lea edx, [0x792800]
mov dword [esp], edx
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x51a5b4
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
jmp 0x51a5c0
mov eax, dword [esp + 0xb0]
call fcn.004643b0
mov ecx, dword [esp + 0x11c]
mov dword [edi + 0xc], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x51a5e0
mov eax, dword [esp + 0x118]
mov dword [edi + 8], eax
jmp 0x51a5f5
lea ecx, [edi + 8]
mov eax, dword [esp + 0x118]
mov edx, edi
mov edi, ecx
call fcn.004643b0
mov edi, edx
mov dword [esp + 0x80], edi
mov eax, dword [0xa7b0c4]
mov ecx, dword [esp + 0x98]
cmp dword [0xa7b0c0], ecx
je 0x51a61e
mov eax, dword [esp + 0x64]
test eax, eax
mov ecx, 0
jmp 0x51a64d
mov dword [esp], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00403870
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov edi, dword [esp + 0x80]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov byte [edi + 0x18], cl
je 0x51a68e
mov edx, dword [eax + 4]
test edx, edx
je 0x51a68e
mov eax, dword [edx]
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov byte [esp + 0xc], 0
lea ecx, [0x844354]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
call eax
mov edi, dword [esp + 0x80]
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x128], 0
lea eax, [0x844354]
mov dword [esp + 0x12c], eax
mov dword [esp + 0x130], edi
add esp, 0x100
ret
mov dword [esp + 0x78], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x60], ebx
lea eax, [0x750340]
mov dword [esp], eax
call fcn.0040bcc0
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 8], eax
mov eax, dword [0xaab020]
test eax, eax
jne 0x51a710
mov ecx, dword [esp + 0x78]
mov dword [edi], ecx
jmp 0x51a719
mov eax, dword [esp + 0x78]
call fcn.004643b0
mov ecx, dword [esp + 0x2c]
mov dword [edi + 0x10], ecx
mov ecx, dword [0xaab020]
test ecx, ecx
jne 0x51a733
mov eax, dword [esp + 0x60]
mov dword [edi + 0xc], eax
jmp 0x51a745
lea ecx, [edi + 0xc]
mov eax, dword [esp + 0x60]
mov edx, edi
mov edi, ecx
call fcn.004643b0
mov edi, edx
mov dword [esp + 0x120], edi
mov dword [esp + 0x124], 1
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], 0
mov dword [esp + 0x130], 0
add esp, 0x100
ret
mov edx, dword [esp + 0xdc]
mov ebx, dword [esp + 0xd8]
movzx ebp, byte [esp + 0xe8]
test eax, eax
je 0x51a7a5
xor edx, edx
mov ebx, eax
mov ebp, ecx
xor ecx, ecx
xor eax, eax
jmp 0x51a7e9
lea eax, [0x749e80]
cmp ebx, eax
jne 0x51a813
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov edx, dword [edx + 8]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x51a7e5
mov dword [esp + 0x28], eax
lea edx, [0x774b20]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0044aee0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov edx, eax
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x120], ecx
mov dword [esp + 0x124], eax
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebp
add esp, 0x100
ret
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [0x758500]
mov dword [esp + 8], eax
call fcn.00409250
mov ebp, dword [esp + 0x94]
add ebp, 0x14
mov eax, ebx
lea ebx, [esi + 1]
mov edx, ebx
mov ecx, ebp
mov ebx, dword [esp + 0x48]
cmp edx, ebx
jge 0x51a8ba
mov dword [esp + 0x3c], edx
mov dword [esp + 0x94], ecx
lea edi, [esp + 0xc4]
mov esi, ecx
call fcn.00464b3e
lea eax, [0x774b20]
mov dword [esp], eax
lea ecx, [esp + 0xc4]
mov dword [esp + 4], ecx
call fcn.004093b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jae 0x51a901
mov ebx, dword [esp + 0x9c]
lea ebp, [ebx + ecx*8]
mov esi, ecx
lea ecx, [0x774b20]
mov dword [ebp], ecx
mov ebp, dword [0xaab020]
lea edi, [ebx + esi*8 + 4]
test ebp, ebp
jne 0x51a8b0
mov dword [edi], eax
jmp 0x51a829
call fcn.004643b0
jmp 0x51a829
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx + 4]
mov ecx, dword [edx]
movzx ebp, byte [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0x14], ebx
call ecx
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0xa0]
jmp 0x51a77f
mov eax, ecx
mov ecx, edx
call fcn.00464430
nop
call fcn.00462fa0
jmp fcn.00519c70