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

Disassembly:
push 0xffffffffffffffff
push 0x57b7e9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x59b000]
xor eax, esp
mov dword [esp + 0x1c0], eax
push esi
push edi
mov eax, dword [0x59b000]
xor eax, esp
push eax
lea eax, [esp + 0x1d0]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0xc], edi
mov ecx, dword [esp + 0x1e0]
mov dword [esp + 0x14], ecx
mov eax, dword [ecx]
mov dword [edi + 0x2b8], eax
test al, 1
jne 0x52c27d
xor al, al
jmp 0x52c9df
mov eax, dword [esp + 0x1e8]
mov dword [edi + 0x74], eax
lea eax, [ecx + 0x10]
mov dword [edi + 0x2bc], eax
mov eax, dword [esp + 0x1e4]
add eax, 0xfffffff0
mov dword [edi + 0x2c0], eax
lea eax, [edi + 0x18c]
push eax
push ecx
lea ecx, [edi + 0x74]
call fcn.0052f030
mov eax, dword [edi + 0x74]
mov dword [edi + 0x78], eax
mov ecx, dword [edi + 0x2bc]
push ecx
push dword [edi + 0x2c0]
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x1cc], eax
lea eax, [edi + 0x190]
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x1d0], 0
movdqu xmm0, xmmword [esp + 0x1c4]
push ecx
push eax
movdqu xmmword [edi + 0x1b8], xmm0
call fcn.004b3070
mov eax, dword [edi + 0x2b8]
add esp, 0x10
shr eax, 1
test al, 1
je 0x52c350
mov eax, dword [esp + 0x14]
lea esi, [edi + 0xa0]
mov ecx, esi
mov eax, dword [eax + 4]
xor eax, dword [esp + 0x1e8]
push eax
call fcn.0056a940
push esi
push dword [esp + 0x18]
lea ecx, [edi + 0x74]
call fcn.0052eab0
push dword [edi + 0x2c0]
mov ecx, esi
push dword [edi + 0x2bc]
call fcn.0056ab50
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x23]
push ecx
push dword [edi + 0x2c8]
mov dword [esp + 0x34], 0
movzx eax, word [eax + 8]
push dword [edi + 0x2c4]
mov dword [esp + 0x30], eax
call fcn.0045d8d0
mov eax, dword [edi + 0x2c4]
add esp, 0x10
mov dword [edi + 0x2c8], eax
mov ecx, dword [edi + 0x2cc]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [esp + 0x20]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jae 0x52c3cf
cmp ecx, 0x15555555
jbe 0x52c3bf
push 0x4444f0
call fcn.00545f8e
push ecx
lea ecx, [edi + 0x2c4]
call fcn.0052f200
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [edi + 0x2ec]
call fcn.0052f780
mov edx, dword [esp + 0x20]
xor ecx, ecx
test edx, edx
jle 0x52c6a2
lea esp, [esp]
mov eax, dword [edi + 0x2ec]
mov dword [eax + ecx*4], 0xffffffff
inc ecx
cmp ecx, edx
jl 0x52c3f0
test edx, edx
jle 0x52c6a2
lea ebx, [ebx]
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x2c], ecx
lea ebx, [ebx]
mov eax, dword [edi + 0x2b8]
shr eax, 1
test al, 1
je 0x52c43e
push esi
lea ecx, [edi + 0xa0]
call fcn.0056aa50
mov ecx, dword [esp + 0x2c]
jmp 0x52c447
mov eax, dword [edi + 0x2bc]
mov al, byte [esi + eax]
mov byte [esp + ecx + 0x1a4], al
inc esi
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 5
jl 0x52c420
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1a8]
push eax
call fcn.0052c060
mov ecx, dword [esp + 0x28]
xorps xmm0, xmm0
add ecx, eax
movq qword [esp + 0x1c0], xmm0
mov dword [esp + 0x1c8], 0
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1d8], 0
mov dword [esp + 0x24], eax
test eax, eax
jle 0x52c61a
jmp 0x52c4d4
mov ecx, dword [esp + 0x28]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x2c], ecx
lea esp, [esp]
mov eax, dword [edi + 0x2b8]
shr eax, 1
test al, 1
je 0x52c4fe
push esi
lea ecx, [edi + 0xa0]
call fcn.0056aa50
mov ecx, dword [esp + 0x2c]
jmp 0x52c507
mov eax, dword [edi + 0x2bc]
mov al, byte [esi + eax]
mov byte [esp + ecx + 0x16c], al
inc esi
inc ecx
mov dword [esp + 0x2c], ecx
cmp ecx, 0x28
jl 0x52c4e0
add dword [esp + 0x28], 0x28
xor edx, edx
mov eax, dword [edi + 0x78]
jmp 0x52c530
imul eax, eax, 0x6255
add eax, 0x3619
and eax, 0xffff
mov cl, al
mov dword [edi + 0x78], eax
mov byte [esp + edx + 0x194], cl
inc edx
cmp edx, 0x10
jb 0x52c530
movdqu xmm0, xmmword [esp + 0x194]
lea eax, [esp + 0x16c]
push eax
push 0x28
push eax
lea eax, [edi + 0x190]
push eax
movdqu xmmword [edi + 0x1b8], xmm0
call fcn.004b3070
push 0xac
lea eax, [esp + 0x44]
push 0
push eax
call fcn.0054b440
add esp, 0x1c
lea ecx, [esp + 0x30]
push edi
call fcn.0046f1b0
lea eax, [esp + 0x16c]
mov byte [esp + 0x1d8], 1
push eax
lea ecx, [esp + 0x34]
call fcn.004a62e0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c4]
call fcn.00470340
mov dword [esp + 0x30], 0x444660
mov eax, dword [esp + 0xd4]
mov byte [esp + 0x1d8], 2
mov dword [esp + 0xd8], 0
mov dword [esp + 0x2c], eax
test eax, eax
je 0x52c5ff
mov ecx, eax
call fcn.004a65d0
push dword [esp + 0x2c]
call fcn.00549eaf
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x1d8], 0
call fcn.0046f3e0
dec dword [esp + 0x24]
jne 0x52c4d0
lea eax, [esp + 0x1c0]
push eax
lea ecx, [edi + 0x2c4]
call fcn.0052f6a0
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x1d8], 0xffffffff
test eax, eax
je 0x52c698
cmp eax, dword [esp + 0x1c4]
je 0x52c66e
mov esi, eax
mov edi, edi
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax]
add esi, 0xac
cmp esi, dword [esp + 0x1c4]
jne 0x52c650
mov eax, dword [esp + 0x1c0]
push eax
call fcn.00549eaf
add esp, 4
mov dword [esp + 0x1c0], 0
mov dword [esp + 0x1c4], 0
mov dword [esp + 0x1c8], 0
dec dword [esp + 0x20]
jne 0x52c410
push dword [esp + 0x18]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x23]
push ecx
push dword [edi + 0x2dc]
movzx eax, word [eax + 0xa]
push dword [edi + 0x2d8]
mov dword [esp + 0x3c], eax
call fcn.0045d990
mov eax, dword [edi + 0x2d8]
add esp, 0x10
mov dword [edi + 0x2dc], eax
mov ecx, dword [edi + 0x2e0]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
mov ecx, dword [esp + 0x2c]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jae 0x52c71a
cmp ecx, 0x1c71c71
jbe 0x52c70a
push 0x4444f0
call fcn.00545f8e
push ecx
lea ecx, [edi + 0x2d8]
call fcn.0052f300
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
test ecx, ecx
jle 0x52c9ad
lea ebx, [ebx]
mov esi, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x24], ecx
lea ebx, [ebx]
mov eax, dword [edi + 0x2b8]
shr eax, 1
test al, 1
je 0x52c75e
push esi
lea ecx, [edi + 0xa0]
call fcn.0056aa50
mov ecx, dword [esp + 0x24]
jmp 0x52c767
mov eax, dword [edi + 0x2bc]
mov al, byte [esi + eax]
mov byte [esp + ecx + 0x1ac], al
inc esi
inc ecx
mov dword [esp + 0x24], ecx
cmp ecx, 0x20
jl 0x52c740
add dword [esp + 0x28], 0x20
xor edx, edx
mov ecx, dword [edi + 0x78]
imul ecx, ecx, 0x6255
add ecx, 0x3619
and ecx, 0xffff
mov al, cl
mov dword [edi + 0x78], ecx
mov byte [esp + edx + 0x194], al
inc edx
cmp edx, 0x10
jb 0x52c783
movdqu xmm0, xmmword [esp + 0x194]
lea eax, [esp + 0x1ac]
push eax
push 0x20
push eax
lea eax, [edi + 0x190]
push eax
movdqu xmmword [edi + 0x1b8], xmm0
call fcn.004b3070
push 0x90
lea eax, [esp + 0xf0]
push 0
push eax
call fcn.0054b440
xorps xmm0, xmm0
mov dword [esp + 0x170], edi
add esp, 0x1c
mov dword [esp + 0x158], edi
mov dword [esp + 0x15c], 0
mov dword [esp + 0x160], 0
mov dword [esp + 0x164], 0
mov dword [esp + 0x168], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
movdqu xmmword [esp + 0xf8], xmm0
mov dword [esp + 0x108], 0
mov dword [esp + 0x130], 0
movdqu xmmword [esp + 0x10c], xmm0
mov dword [esp + 0x12c], 0
movdqu xmmword [esp + 0x11c], xmm0
movdqu xmmword [esp + 0x134], xmm0
movdqu xmmword [esp + 0x144], xmm0
push dword [esp + 0x20]
lea eax, [esp + 0x1b0]
mov dword [esp + 0x1dc], 3
push eax
lea ecx, [esp + 0xe4]
call fcn.00532930
mov ecx, dword [edi + 0x2dc]
lea eax, [edi + 0x2d8]
lea edx, [esp + 0xdc]
mov dword [esp + 0x18], ecx
cmp edx, ecx
jae 0x52c959
mov edx, dword [eax]
lea esi, [esp + 0xdc]
cmp edx, esi
ja 0x52c959
mov ecx, esi
mov eax, 0x38e38e39
sub ecx, edx
imul ecx
lea eax, [edi + 0x2d8]
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
cmp edx, dword [eax + 8]
jne 0x52c944
push 1
mov ecx, eax
call fcn.0052f540
mov ecx, dword [esp + 0x24]
lea eax, [edi + 0x2d8]
lea edx, [ecx + ecx*8]
shl edx, 4
add edx, dword [eax]
cmp dword [eax + 4], 0
je 0x52c988
mov edi, dword [eax + 4]
mov esi, edx
jmp 0x52c97d
cmp ecx, dword [eax + 8]
jne 0x52c96d
push 1
mov ecx, eax
call fcn.0052f540
lea eax, [edi + 0x2d8]
mov edx, dword [eax + 4]
test edx, edx
je 0x52c988
lea esi, [esp + 0xdc]
mov edi, edx
mov ecx, 0x24
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
add dword [eax + 4], 0x90
inc edx
mov dword [esp + 0x1d8], 0xffffffff
mov dword [esp + 0x20], edx
cmp edx, dword [esp + 0x2c]
jl 0x52c730
mov eax, dword [esp + 0x28]
mov dword [edi + 0x2e4], eax
mov eax, dword [esp + 0x14]
push 0
push 0
push ecx
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x24]
mov dword [edi + 0x2e8], eax
mov eax, esp
push ecx
mov ecx, edi
mov dword [eax], 1
mov eax, dword [edi]
call dword [eax + 8]
mov al, 1
mov ecx, dword [esp + 0x1d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c0]
xor ecx, esp
call fcn.0054a992
add esp, 0x1d0
ret 0xc