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

Disassembly:
push 0xffffffffffffffff
push 0x597e09
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0xf8], eax
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov eax, ecx
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x11c]
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
mov byte [esp + 0x114], 1
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
mov byte [esp + 0x114], 2
mov eax, dword [eax + 0x38]
mov esi, dword [eax]
mov dword [esp + 0x28], esi
cmp esi, eax
je 0x51d32c
mov eax, dword [esp + 0x74]
jmp 0x51ca50
cmp dword [esi + 0x18], 0
lea ecx, [esi + 8]
mov dword [esp + 0x80], ecx
je 0x51d31d
lea eax, [ecx + 0x18]
mov dword [esp + 0x88], eax
lea eax, [ecx + 0x24]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov dword [esp + 0x84], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [esp + 0x88]
sar edx, 2
mov edi, edx
shr edi, 0x1f
mov ecx, dword [eax + 4]
add edi, edx
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jne 0x51d319
cmp dword [esp + 0xe8], 0x10
lea eax, [esp + 0xd4]
mov dword [esp + 0xe4], 0
cmovae eax, dword [esp + 0xd4]
mov byte [eax], 0
mov eax, dword [esp + 0x80]
cmp dword [eax + 0x14], 8
mov edx, dword [eax + 0x10]
jb 0x51caea
mov eax, dword [eax]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, eax
call fcn.004b1140
xorps xmm0, xmm0
add esp, 4
movdqu xmmword [esp + 0xa4], xmm0
movq qword [esp + 0xb4], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0xac], eax
and eax, 0xffffff00
mov dword [esp + 0xac], eax
and eax, 0xfffffeff
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov byte [esp + 0x114], 8
xor ecx, ecx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x78], ecx
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x51ce5b
mov esi, dword [esp + 0x88]
xor edi, edi
mov dword [esp + 0x80], edi
jmp 0x51cba0
cmp dword [esp + 0x100], 0x10
lea eax, [esp + 0xec]
mov dword [esp + 0xfc], 0
cmovae eax, dword [esp + 0xec]
mov byte [eax], 0
lea eax, [esp + 0xbc]
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0xcc], 0
cmovae eax, dword [esp + 0xbc]
mov byte [eax], 0
mov ecx, dword [esi]
add ecx, edi
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x51cbf9
mov ecx, dword [ecx]
lea eax, [esp + 0xec]
push eax
call fcn.004b1140
mov eax, dword [esp + 0x88]
add esp, 4
mov ecx, dword [eax]
add ecx, edi
cmp dword [ecx + 0x14], 8
mov edx, dword [ecx + 0x10]
jb 0x51cc1f
mov ecx, dword [ecx]
lea eax, [esp + 0xbc]
push eax
call fcn.004b1140
add esp, 4
cmp dword [esp + 0xfc], 0
je 0x51ce29
mov edx, dword [esp + 0xcc]
lea ecx, [esp + 0xbc]
mov byte [esp + 0x64], 4
or dword [esp + 0x64], 0x100
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0x68], 0
cmovae ecx, dword [esp + 0xbc]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
call fcn.004f53a0
mov dword [esp + 0x5c], eax
mov byte [esp + 0x114], 9
lea eax, [esp + 0xec]
cmp dword [esp + 0x100], 0x10
lea edi, [esp + 0xec]
lea ecx, [esp + 0xa4]
cmovae eax, dword [esp + 0xec]
cmovae edi, dword [esp + 0xec]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0xfc]
add eax, dword [esp + 0x7c]
push eax
push edi
call fcn.004f74a0
mov edi, eax
mov byte [esp + 0x114], 0xa
movsx edx, byte [edi + 8]
mov eax, dword [esp + 0x64]
xor edx, eax
mov cl, byte [esp + 0x64]
and edx, 0xff
xor eax, edx
mov byte [edi + 8], cl
mov dword [esp + 0x64], eax
mov edx, dword [edi]
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
mov eax, dword [esp + 0x60]
mov dword [edi + 4], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x60], ecx
mov ecx, dword [edi + 8]
mov eax, ecx
xor eax, dword [esp + 0x64]
mov edx, ecx
and eax, 0x100
shr edx, 8
xor eax, ecx
and edx, 1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x64]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x64], eax
mov ecx, dword [edi + 0xc]
mov dword [edi + 0xc], 0
mov eax, dword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x14]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x68], ecx
mov dword [edi + 0x14], 0
mov dword [esp + 0x70], eax
mov byte [esp + 0x114], 8
movsx eax, byte [esp + 0x64]
cmp eax, 4
je 0x51cdd9
add eax, 0xfffffffa
cmp eax, 1
ja 0x51cdf9
mov edi, dword [esp + 0x88]
mov dword [esp + 0x88], edi
test edi, edi
je 0x51cdf9
mov byte [esp + 0x114], 0xc
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x24]
push eax
call fcn.004f8e60
mov byte [esp + 0x114], 8
push dword [edi]
call fcn.00564de3
add esp, 4
push edi
call fcn.00564de3
jmp 0x51cdef
test dword [esp + 0x64], 0x100
je 0x51cdf9
push dword [esp + 0x88]
call fcn.00564df7
mov ecx, dword [esp + 0x80]
add esp, 4
test ecx, ecx
je 0x51ce19
push 0x4f5a90
push dword [ecx - 4]
lea edi, [ecx - 4]
push 4
push ecx
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
mov edi, dword [esp + 0x80]
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
mov ecx, dword [esi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [esi]
add edi, 0x18
inc dword [esp + 0x78]
imul ecx
mov dword [esp + 0x80], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x78], eax
jb 0x51cba0
mov esi, dword [esp + 0x28]
xorps xmm0, xmm0
movdqu xmmword [esp + 0x8c], xmm0
movq qword [esp + 0x9c], xmm0
psrldq xmm0, 8
movd eax, xmm0
mov dword [esp + 0x94], eax
and eax, 0xffffff00
mov dword [esp + 0x94], eax
and eax, 0xfffffeff
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov byte [esp + 0x114], 0x14
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x48]
call fcn.004f6040
mov byte [esp + 0x114], 0x15
lea edi, [esp + 0xd4]
cmp dword [esp + 0xe8], 0x10
lea edx, [esp + 0xd4]
mov eax, dword [esp + 0xe4]
lea ecx, [esp + 0x8c]
cmovae edi, dword [esp + 0xd4]
cmovae edx, dword [esp + 0xd4]
add eax, edi
push eax
push edx
call fcn.004f74a0
mov edi, eax
mov byte [esp + 0x114], 0x16
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x4c]
mov byte [edi + 8], cl
mov eax, dword [esp + 0x4c]
xor edx, eax
and edx, 0xff
xor eax, edx
mov dword [esp + 0x4c], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 4], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 8]
mov eax, ecx
xor eax, dword [esp + 0x4c]
mov edx, ecx
and eax, 0x100
shr edx, 8
xor eax, ecx
and edx, 1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x4c]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x4c], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x50]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x50], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x54], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x58], ecx
mov byte [esp + 0x114], 0x14
movsx eax, byte [esp + 0x4c]
cmp eax, 4
je 0x51d00e
add eax, 0xfffffffa
cmp eax, 1
ja 0x51d024
mov edi, dword [esp + 0x44]
mov dword [esp + 0x84], edi
test edi, edi
je 0x51d024
mov byte [esp + 0x114], 0x18
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.004f8e60
mov byte [esp + 0x114], 0x14
push dword [edi]
call fcn.00564de3
add esp, 4
push edi
call fcn.00564de3
jmp 0x51d021
test dword [esp + 0x4c], 0x100
je 0x51d024
push dword [esp + 0x44]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x51d048
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
lea eax, [esp + 0x8c]
xorps xmm0, xmm0
push eax
lea ecx, [esp + 0x30]
movlpd qword [esp + 0x48], xmm0
call fcn.004f6040
mov byte [esp + 0x114], 0x1b
mov ecx, dword [esp + 0x24]
call fcn.004f6f10
mov ecx, dword [esp + 0x24]
push eax
call fcn.004f6fc0
mov edi, eax
mov byte [esp + 0x114], 0x1c
movsx edx, byte [edi + 8]
mov cl, byte [esp + 0x34]
mov byte [edi + 8], cl
mov eax, dword [esp + 0x34]
xor edx, eax
and edx, 0xff
xor eax, edx
mov dword [esp + 0x34], eax
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x2c]
mov dword [edi], eax
mov eax, dword [esp + 0x30]
mov dword [edi + 4], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + 8]
mov eax, ecx
xor eax, dword [esp + 0x34]
mov edx, ecx
and eax, 0x100
shr edx, 8
xor eax, ecx
and edx, 1
mov dword [edi + 8], eax
mov eax, dword [esp + 0x34]
shl edx, 8
xor edx, eax
and edx, 0x100
xor eax, edx
mov dword [esp + 0x34], eax
mov ecx, dword [edi + 0xc]
mov eax, dword [esp + 0x38]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x14], eax
mov dword [esp + 0x40], ecx
mov byte [esp + 0x114], 0x14
movsx eax, byte [esp + 0x34]
cmp eax, 4
je 0x51d174
add eax, 0xfffffffa
cmp eax, 1
ja 0x51d18a
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x84], edi
test edi, edi
je 0x51d18a
mov byte [esp + 0x114], 0x1e
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x28]
push eax
call fcn.004f8e60
mov byte [esp + 0x114], 0x14
push dword [edi]
call fcn.00564de3
add esp, 4
push edi
call fcn.00564de3
jmp 0x51d187
test dword [esp + 0x34], 0x100
je 0x51d18a
push dword [esp + 0x2c]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x51d1ae
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
xorps xmm0, xmm0
movlpd qword [esp + 0x2c], xmm0
mov byte [esp + 0x114], 8
movsx eax, byte [esp + 0x94]
cmp eax, 4
je 0x51d219
add eax, 0xfffffffa
cmp eax, 1
ja 0x51d235
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x84], edi
test edi, edi
je 0x51d235
mov byte [esp + 0x114], 0x22
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x20]
push eax
call fcn.004f8e60
mov byte [esp + 0x114], 8
push dword [edi]
call fcn.00564de3
add esp, 4
push edi
call fcn.00564de3
jmp 0x51d232
test dword [esp + 0x94], 0x100
je 0x51d235
push dword [esp + 0x8c]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0x98]
test eax, eax
je 0x51d25c
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
xorps xmm0, xmm0
movlpd qword [esp + 0x8c], xmm0
mov byte [esp + 0x114], 2
movsx eax, byte [esp + 0xac]
cmp eax, 4
je 0x51d2ca
add eax, 0xfffffffa
cmp eax, 1
ja 0x51d2e6
mov edi, dword [esp + 0xa4]
mov dword [esp + 0x84], edi
test edi, edi
je 0x51d2e6
mov byte [esp + 0x114], 0x26
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [esp + 0x18]
push eax
call fcn.004f8e60
mov byte [esp + 0x114], 2
push dword [edi]
call fcn.00564de3
add esp, 4
push edi
call fcn.00564de3
jmp 0x51d2e3
test dword [esp + 0xac], 0x100
je 0x51d2e6
push dword [esp + 0xa4]
call fcn.00564df7
add esp, 4
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x51d30d
push 0x4f5a90
push dword [eax - 4]
lea edi, [eax - 4]
push 4
push eax
call fcn.00564e2f
push edi
call fcn.0056503c
add esp, 4
xorps xmm0, xmm0
movlpd qword [esp + 0xa4], xmm0
mov eax, dword [esp + 0x74]
mov esi, dword [esi]
mov dword [esp + 0x28], esi
cmp esi, dword [eax + 0x38]
jne 0x51ca50
mov byte [esp + 0x114], 1
cmp dword [esp + 0xd0], 0x10
jb 0x51d34d
push dword [esp + 0xbc]
call fcn.00564de3
add esp, 4
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
mov byte [esp + 0x114], 0
cmp dword [esp + 0x100], 0x10
jb 0x51d38c
push dword [esp + 0xec]
call fcn.00564de3
add esp, 4
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], 0
mov byte [esp + 0xec], 0
mov dword [esp + 0x114], 0xffffffff
cmp dword [esp + 0xe8], 0x10
jb 0x51d3ce
push dword [esp + 0xd4]
call fcn.00564de3
add esp, 4
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.00564de8
add esp, 0x10c
ret 4