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

Disassembly:
push 0xffffffffffffffff
push 0x57b862
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x2f0], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x7c], esi
mov ecx, dword [esp + 0x310]
mov dword [esp + 0x84], ecx
cmp dword [ecx + 4], 0x147
sbb eax, eax
neg eax
or dword [esi + 0x70], eax
mov eax, dword [esi + 0x70]
and eax, 1
je 0x52ca8e
push dword [esp + 0x318]
push dword [esp + 0x318]
push ecx
mov ecx, esi
call fcn.0052c220
jmp 0x52d6e9
mov eax, dword [ecx]
mov dword [esi + 0x2b8], eax
test al, 1
jne 0x52caa1
xor al, al
jmp 0x52d6e9
mov eax, dword [esp + 0x318]
lea edi, [esi + 0x74]
mov dword [edi], eax
lea eax, [ecx + 0x20]
mov dword [esi + 0x2bc], eax
mov eax, dword [esp + 0x314]
add eax, 0xffffffe0
mov dword [esp + 0x6c], edi
mov dword [esi + 0x2c0], eax
lea eax, [esi + 0x18c]
push eax
push ecx
mov ecx, edi
call fcn.0052f030
mov eax, dword [edi]
mov dword [edi + 4], eax
mov ecx, dword [esi + 0x2bc]
push ecx
push dword [esi + 0x2c0]
mov dword [esp + 0x2cc], eax
mov dword [esp + 0x2d4], eax
lea eax, [esi + 0x190]
mov dword [esp + 0x2d0], 0
mov dword [esp + 0x2d8], 0
movdqu xmm0, xmmword [esp + 0x2cc]
push ecx
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.004b3070
mov eax, dword [esi + 0x2b8]
add esp, 0x10
shr eax, 1
test al, 1
je 0x52cb7e
mov eax, dword [esp + 0x84]
lea edi, [esi + 0xa0]
mov ecx, edi
mov eax, dword [eax + 4]
xor eax, dword [esp + 0x318]
push eax
call fcn.0056a940
push edi
push dword [esp + 0x88]
lea ecx, [esi + 0x74]
call fcn.0052eab0
push dword [esi + 0x2c0]
mov ecx, edi
push dword [esi + 0x2bc]
call fcn.0056ab50
push dword [esp + 0x80]
mov eax, dword [esp + 0x88]
lea ecx, [esp + 0x6f]
push ecx
push dword [esi + 0x2c8]
mov dword [esp + 0xa0], 0
movzx edi, word [eax + 8]
push dword [esi + 0x2c4]
mov dword [esp + 0x9c], edi
call fcn.0045d8d0
mov eax, dword [esi + 0x2c4]
add esp, 0x10
mov dword [esi + 0x2c8], eax
mov ecx, dword [esi + 0x2cc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jae 0x52cc01
cmp edi, 0x15555555
jbe 0x52cbf5
push 0x4444f0
call fcn.00545f8e
push edi
lea ecx, [esi + 0x2c4]
call fcn.0052f200
push edi
lea ecx, [esi + 0x2ec]
call fcn.0052f780
mov edx, edi
xor ecx, ecx
test edx, edx
jle 0x52cc32
jmp 0x52cc20
mov eax, dword [esi + 0x2ec]
mov dword [eax + ecx*4], 0xffffffff
inc ecx
cmp ecx, edx
jl 0x52cc20
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
push 0x44
lea ecx, [esp + 0x74]
mov dword [esp + 0x30c], 0
call fcn.0047c240
cmp dword [esp + 0x8c], 0
jle 0x52d199
nop
mov edi, dword [esp + 0x94]
lea eax, [esp + 0x2f4]
sub eax, edi
mov ecx, 5
mov dword [esp + 0x88], eax
mov edx, eax
mov dword [esp + 0x98], ecx
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x52cccd
push edi
lea ecx, [esi + 0xa0]
call fcn.0056aa50
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x88]
jmp 0x52ccd6
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [edx + edi], al
inc edi
dec ecx
mov dword [esp + 0x98], ecx
jne 0x52cca5
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x2f8]
push eax
call fcn.0052c060
mov ecx, dword [esp + 0x94]
xorps xmm0, xmm0
add ecx, eax
movq qword [esp + 0x1d8], xmm0
mov dword [esp + 0x1e0], 0
mov dword [esp + 0x94], ecx
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0
mov eax, dword [esp + 0x80]
mov byte [esp + 0x308], 1
mov dword [esp + 0x90], eax
test eax, eax
jle 0x52d113
lea eax, [esp + 0x1e4]
sub eax, ecx
mov dword [esp + 0x88], eax
jmp 0x52cd78
mov ecx, dword [esp + 0x94]
mov edi, ecx
xor ecx, ecx
mov dword [esp + 0x98], ecx
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x52cda4
push edi
lea ecx, [esi + 0xa0]
call fcn.0056aa50
mov ecx, dword [esp + 0x98]
jmp 0x52cdad
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x1e8], al
inc edi
inc ecx
mov dword [esp + 0x98], ecx
cmp ecx, 0x2c
jl 0x52cd83
mov edi, dword [esp + 0x94]
mov esi, dword [esp + 0x6c]
add edi, 0x2c
sub dword [esp + 0x88], 0x2c
xor edx, edx
mov dword [esp + 0x94], edi
mov ecx, dword [esi + 4]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x254], al
inc edx
cmp edx, 0x10
jb 0x52cde4
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x1e8]
movdqu xmm0, xmmword [esp + 0x254]
push eax
push 0x2c
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.004b3070
push 0xac
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.0054b440
add esp, 0x1c
lea ecx, [esp + 0x9c]
push esi
call fcn.0046f1b0
lea eax, [esp + 0x1e8]
mov byte [esp + 0x308], 2
push eax
lea ecx, [esp + 0xa0]
call fcn.004a62e0
mov eax, dword [esp + 0x210]
mov ecx, eax
and ecx, 0xc0000000
je 0x52d08b
cmp ecx, 0x40000000
je 0x52cffa
cmp ecx, 0x80000000
jne 0x52d0a5
lea ecx, [esp + 0x70]
and eax, 0x3fffffff
push ecx
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, esi
call fcn.0052c110
mov edx, dword [esp + 0x88]
mov ecx, 4
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x98], ecx
lea esp, [esp]
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x52cf08
push edi
lea ecx, [esi + 0xa0]
call fcn.0056aa50
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x88]
jmp 0x52cf11
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [edx + edi], al
inc edi
dec ecx
mov dword [esp + 0x98], ecx
jne 0x52cee0
mov esi, dword [esp + 0x6c]
sub edx, 4
add dword [esp + 0x94], 4
mov dword [esp + 0x88], edx
xor edx, edx
mov ecx, dword [esi + 4]
lea ebx, [ebx]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x264], al
inc edx
cmp edx, 0x10
jb 0x52cf40
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x1e4]
movdqu xmm0, xmmword [esp + 0x264]
push eax
push 4
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.004b3070
mov edi, dword [esp + 0x1f4]
lea ecx, [esp + 0x80]
add esp, 0x10
and edi, 0x3fffffff
push 0x20
call fcn.004a26b0
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
sub eax, ecx
push eax
push ecx
push edi
mov ecx, esi
mov dword [esp + 0xa4], eax
call fcn.0052bdd0
mov eax, dword [esi + 0x74]
mov dword [esp + 0x2d8], edi
mov dword [esp + 0x2e0], edi
mov edi, dword [esp + 0x98]
mov dword [esp + 0x2d4], eax
mov dword [esp + 0x2dc], eax
movdqu xmm0, xmmword [esp + 0x2d4]
jmp 0x52d05a
and eax, 0x3fffffff
lea ecx, [esp + 0x70]
push 0x20
mov dword [esp + 0x9c], eax
call fcn.004a26b0
mov eax, dword [esp + 0x70]
mov ecx, esi
mov edi, dword [esp + 0x74]
sub edi, eax
push edi
push eax
push dword [esp + 0xa0]
call fcn.0052bdd0
mov eax, dword [esi + 0x74]
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x2e4], eax
mov dword [esp + 0x2e8], ecx
mov dword [esp + 0x2ec], eax
mov dword [esp + 0x2f0], ecx
movdqu xmm0, xmmword [esp + 0x2e4]
mov eax, dword [esp + 0x70]
push eax
push edi
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.004b3070
add esp, 0x10
lea ecx, [esp + 0x9c]
push edi
push dword [esp + 0x74]
call fcn.004a6330
jmp 0x52d0a5
lea ecx, [esp + 0x70]
and eax, 0x3fffffff
push ecx
lea ecx, [esp + 0xa0]
push ecx
push eax
mov ecx, esi
call fcn.0052c110
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x1dc]
call fcn.00470340
mov dword [esp + 0x9c], 0x444660
mov edi, dword [esp + 0x140]
mov byte [esp + 0x308], 3
mov dword [esp + 0x144], 0
test edi, edi
je 0x52d0f2
mov ecx, edi
call fcn.004a65d0
push edi
call fcn.00549eaf
add esp, 4
lea ecx, [esp + 0x9c]
mov byte [esp + 0x308], 1
call fcn.0046f3e0
dec dword [esp + 0x90]
jne 0x52cd71
lea eax, [esp + 0x1d8]
push eax
lea ecx, [esi + 0x2c4]
call fcn.0052f6a0
mov eax, dword [esp + 0x1d8]
mov byte [esp + 0x308], 0
test eax, eax
je 0x52d18c
mov edi, eax
cmp eax, dword [esp + 0x1dc]
je 0x52d162
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax]
add edi, 0xac
cmp edi, dword [esp + 0x1dc]
jne 0x52d144
mov eax, dword [esp + 0x1d8]
push eax
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x1dc], 0
mov dword [esp + 0x1e0], 0
dec dword [esp + 0x8c]
jne 0x52cc80
mov eax, dword [esp + 0x84]
lea edi, [esi + 0x2d8]
push dword [esp + 0x80]
mov dword [esp + 0x9c], edi
movzx eax, word [eax + 0xa]
mov dword [esp + 0x90], eax
lea eax, [esp + 0x6e]
push eax
push dword [edi + 4]
push dword [edi]
call fcn.0045d990
mov eax, dword [edi]
add esp, 0x10
mov dword [edi + 4], eax
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x8c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jae 0x52d218
cmp ecx, 0x1c71c71
jbe 0x52d209
push 0x4444f0
call fcn.00545f8e
push ecx
mov ecx, edi
call fcn.0052f300
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x1e4], 0
test ecx, ecx
jle 0x52d4ba
jmp 0x52d230
mov edi, dword [esp + 0x94]
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x52d261
push edi
lea ecx, [esi + 0xa0]
call fcn.0056aa50
mov ecx, dword [esp + 0x90]
jmp 0x52d26a
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x234], al
inc edi
inc ecx
mov dword [esp + 0x90], ecx
cmp ecx, 0x20
jl 0x52d240
mov esi, dword [esp + 0x6c]
add dword [esp + 0x94], 0x20
xor edx, edx
mov ecx, dword [esi + 4]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x214], al
inc edx
cmp edx, 0x10
jb 0x52d290
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x234]
movdqu xmm0, xmmword [esp + 0x214]
push eax
push 0x20
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.004b3070
push 0x90
lea eax, [esp + 0x15c]
push 0
push eax
call fcn.0054b440
xorps xmm0, xmm0
mov dword [esp + 0x1dc], esi
add esp, 0x1c
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1cc], 0
mov dword [esp + 0x1d0], 0
mov dword [esp + 0x1d4], 0
mov dword [esp + 0x148], 0
mov dword [esp + 0x14c], 0
mov dword [esp + 0x150], 0
mov dword [esp + 0x154], 0
mov dword [esp + 0x158], 0
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
movdqu xmmword [esp + 0x164], xmm0
mov dword [esp + 0x174], 0
mov dword [esp + 0x19c], 0
movdqu xmmword [esp + 0x178], xmm0
mov dword [esp + 0x198], 0
movdqu xmmword [esp + 0x188], xmm0
movdqu xmmword [esp + 0x1a0], xmm0
movdqu xmmword [esp + 0x1b0], xmm0
push dword [esp + 0x1e4]
lea eax, [esp + 0x238]
mov byte [esp + 0x30c], 4
push eax
lea ecx, [esp + 0x150]
call fcn.00532930
mov ecx, dword [esi + 0x2dc]
lea edi, [esi + 0x2d8]
lea eax, [esp + 0x148]
cmp eax, ecx
jae 0x52d45f
mov eax, dword [edi]
lea edx, [esp + 0x148]
cmp eax, edx
ja 0x52d45f
mov ecx, edx
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [edi + 4]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x90], eax
cmp ecx, dword [edi + 8]
jne 0x52d44a
push 1
mov ecx, edi
call fcn.0052f540
mov eax, dword [esp + 0x90]
mov edx, dword [edi + 4]
lea eax, [eax + eax*8]
shl eax, 4
add eax, dword [edi]
test edx, edx
je 0x52d48f
mov esi, eax
mov edi, edx
jmp 0x52d47d
cmp ecx, dword [edi + 8]
jne 0x52d46d
push 1
mov ecx, edi
call fcn.0052f540
mov eax, dword [edi + 4]
test eax, eax
je 0x52d48f
lea esi, [esp + 0x148]
mov edi, eax
mov ecx, 0x24
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x7c]
mov edi, dword [esp + 0x98]
mov eax, dword [esp + 0x1e4]
add dword [edi + 4], 0x90
inc eax
mov byte [esp + 0x308], 0
mov dword [esp + 0x1e4], eax
cmp eax, dword [esp + 0x8c]
jl 0x52d230
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x94]
mov dword [esi + 0x2e4], edi
mov eax, dword [ecx + 0xc]
mov dword [esi + 0x2e8], eax
add edi, dword [ecx + 0xc]
lea ecx, [esi + 0x2d0]
mov eax, dword [ecx]
mov dword [esp + 0x94], edi
push dword [eax + 4]
call fcn.00463fa0
mov eax, dword [esi + 0x2d0]
xor ecx, ecx
mov dword [esp + 0x98], 0
mov dword [eax + 4], eax
mov eax, dword [esi + 0x2d0]
mov dword [eax], eax
mov eax, dword [esi + 0x2d0]
mov dword [eax + 8], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0x2d4], 0
cmp cx, word [eax + 0x10]
jae 0x52d6bd
jmp 0x52d540
xor ecx, ecx
mov dword [esp + 0x90], ecx
lea esp, [esp]
mov eax, dword [esi + 0x2b8]
shr eax, 1
test al, 1
je 0x52d571
push edi
lea ecx, [esi + 0xa0]
call fcn.0056aa50
mov ecx, dword [esp + 0x90]
jmp 0x52d57a
mov eax, dword [esi + 0x2bc]
mov al, byte [edi + eax]
mov byte [esp + ecx + 0x274], al
inc edi
inc ecx
mov dword [esp + 0x90], ecx
cmp ecx, 0x50
jl 0x52d550
mov esi, dword [esp + 0x6c]
xor edx, edx
mov ecx, dword [esi + 4]
jmp 0x52d5a0
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [esi + 4], ecx
mov byte [esp + edx + 0x224], al
inc edx
cmp edx, 0x10
jb 0x52d5a0
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x274]
movdqu xmm0, xmmword [esp + 0x224]
push eax
push 0x50
push eax
lea eax, [esi + 0x190]
push eax
movdqu xmmword [esi + 0x1b8], xmm0
call fcn.004b3070
movdqu xmm0, xmmword [esp + 0x294]
mov eax, dword [esp + 0x284]
add esp, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x278]
movdqu xmmword [esp + 0x1c], xmm0
mov dword [esp + 0x10], eax
movdqu xmm0, xmmword [esp + 0x294]
mov eax, dword [esp + 0x27c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x280]
movdqu xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x18], eax
movdqu xmm0, xmmword [esp + 0x2a4]
movdqu xmmword [esp + 0x3c], xmm0
movdqu xmm0, xmmword [esp + 0x2b4]
movdqu xmmword [esp + 0x4c], xmm0
movzx eax, byte [0x5a294c]
lea ecx, [esi + 0x2d0]
mov edi, dword [esp + 0x94]
push eax
lea eax, [esp + 0x10]
mov byte [esp + 0x30c], 5
push eax
push 0
lea eax, [esp + 0x68]
add edi, 0x50
push eax
mov dword [esp + 0xa4], edi
call fcn.0052ab70
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x98]
inc edx
mov byte [esp + 0x308], 0
mov dword [esp + 0x98], edx
movzx eax, word [eax + 0x10]
cmp edx, eax
jl 0x52d540
push 0
push 0
push ecx
mov eax, esp
lea ecx, [esp + 0x70]
push ecx
mov ecx, esi
mov dword [eax], 1
mov eax, dword [esi]
call dword [eax + 8]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x52d6e7
push eax
call fcn.00549eaf
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.0054a992
add esp, 0x300
ret 0xc