Function at 0x5298f0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x705a13
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x274
push esi
push edi
mov esi, ecx
push 2
push esi
mov dword [ebp - 0x4c], esi
call fcn.006abd7f
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
push 0
push bind
push 0
push 0
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x52a2fa
push 0
push bind
push 0
push 0
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
test eax, eax
je 0x52a30c
push 0
push bind
push 0
push 0
call edi
mov dword [esi + 0x3c], eax
test eax, eax
je 0x52a331
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x54], 0xf
mov dword [esi + 0x50], 0
mov byte [esi + 0x40], 0
lea edi, [esi + 0x58]
mov byte [ebp - 4], 5
mov dword [ebp - 0x1c], edi
mov dword [edi], 0
push 0x14
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004e7f70
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [edi + 0x18], 7
mov dword [edi + 0x1c], 8
mov dword [edi], 0x3f800000
push dword [edi + 4]
mov byte [ebp - 4], 7
push 0x10
call fcn.00481400
lea eax, [esi + 0x78]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], eax
mov dword [eax], 0
push 0x40
mov dword [eax + 4], 0
mov dword [eax + 8], 0
call fcn.004e7f70
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 0x7c], eax
lea ecx, [esi + 0x84]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [esi + 0x90], 7
mov dword [esi + 0x94], 8
mov dword [esi + 0x78], 0x3f800000
push dword [esi + 0x7c]
mov byte [ebp - 4], 0xa
push 0x10
call fcn.00481400
add esi, 0x98
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x18], esi
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.004e7f70
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 0xd
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.00481400
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x54], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x529b55
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 4]
shr eax, 3
cmp eax, edx
jbe 0x529b0d
mov eax, dword [ecx]
mov ecx, esi
push eax
push dword [eax]
call fcn.0052af20
jmp 0x529b55
push dword [ecx]
push ecx
call fcn.00507ae0
mov eax, dword [esi + 4]
add esp, 8
mov dword [ebp - 0x14], 0
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov dword [esi + 8], 0
mov edx, dword [esi + 0x10]
mov ecx, edx
sub ecx, dword [esi + 0xc]
add ecx, 3
shr ecx, 2
cmp dword [esi + 0xc], edx
cmova ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x529b55
mov edi, dword [esi + 0xc]
mov eax, dword [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x1c]
push 0
push 0
mov ecx, esi
call fcn.00529250
cmp dword [edi + 8], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x40], str.gamepersistence
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], str.badges
mov dword [ebp - 0x30], 6
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], str.points
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], 2
je 0x529c12
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x529bd3
nop word [eax + eax]
mov esi, dword [eax]
push 0x14
push eax
call fcn.004e7fa0
add esp, 8
mov eax, esi
test esi, esi
jne 0x529bc0
mov eax, dword [edi + 4]
mov dword [ebp - 0x14], 0
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov dword [edi + 8], 0
mov esi, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 4]
sub ecx, esi
add ecx, 3
shr ecx, 2
cmp esi, dword [edi + 0x10]
cmova ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x529c0f
mov edi, esi
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.00529490
push 0xf
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push str.gamepersistence
mov dword [ebp - 0x38], 0x1ad
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.00473620
mov dword [ebp - 0xe4], 0
lea ecx, [ebp - 0xe4]
push 0x20
mov byte [ebp - 4], 0xf
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
call fcn.00473560
movups xmm0, xmmword [str._persistence_set]
mov dword [ebp - 0xd4], 0x10
mov dword [ebp - 0xd0], 0x1f
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xcc], 0
lea ecx, [ebp - 0xcc]
push 0x20
mov byte [ebp - 4], 0x10
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
call fcn.00473560
movups xmm0, xmmword [str._persistence_getV2]
mov dword [ebp - 0xbc], 0x12
mov dword [ebp - 0xb8], 0x1f
movups xmmword [eax], xmm0
movzx ecx, word [0x74c76c]
mov word [eax + 0x10], cx
mov byte [eax + 0x12], 0
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xb4], 0
lea ecx, [ebp - 0xb4]
push 0x20
mov byte [ebp - 4], 0x11
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.00473560
movups xmm0, xmmword [str._persistence_increment]
mov dword [ebp - 0xa4], 0x16
mov dword [ebp - 0xa0], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x74c780]
mov dword [eax + 0x10], ecx
movzx ecx, word [0x74c784]
mov word [eax + 0x14], cx
mov byte [eax + 0x16], 0
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0x9c]
push 0x20
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
call fcn.00473560
movups xmm0, xmmword [str._persistence_remove]
mov dword [ebp - 0x8c], 0x13
mov dword [ebp - 0x88], 0x1f
movups xmmword [eax], xmm0
movzx ecx, word [0x74c798]
mov word [eax + 0x10], cx
mov cl, byte [0x74c79a]
mov byte [eax + 0x12], cl
mov byte [eax + 0x13], 0
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x84], 0
lea ecx, [ebp - 0x84]
push 0x20
mov byte [ebp - 4], 0x13
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
call fcn.00473560
movups xmm0, xmmword [str._persistence_getSortedValues]
mov dword [ebp - 0x74], 0x1c
mov dword [ebp - 0x70], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x74c7ac]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x74c7b4]
mov dword [eax + 0x18], ecx
mov byte [eax + 0x1c], 0
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x58], 0xf
mov dword [ebp - 0x5c], 1
mov word [ebp - 0x6c], 0x2f
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0xe4]
push edx
lea ecx, [ebp - 0x150]
call fcn.00520980
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 0x16
call fcn.00470690
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x264]
call fcn.004cab30
push 6
mov dword [ebp - 0x1f4], 0
lea ecx, [ebp - 0x1f4]
push str.points
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x1f8], 0x1ad
mov dword [ebp - 0x1e4], 0
mov dword [ebp - 0x1e0], 0xf
mov byte [ebp - 0x1f4], 0
call fcn.00473620
mov dword [ebp - 0x12c], 0
lea ecx, [ebp - 0x12c]
push 0x40
mov byte [ebp - 4], 0x19
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
call fcn.00473560
movups xmm0, xmmword [str._v1_universes_universeId_users_userId_all_time]
mov ecx, eax
mov dword [ebp - 0x11c], 0x32
mov dword [ebp - 0x118], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x74c7cc]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x74c7dc]
movups xmmword [ecx + 0x20], xmm0
mov ax, word [0x74c7ec]
mov word [ecx + 0x30], ax
mov byte [ecx + 0x32], 0
mov dword [ebp - 0x12c], ecx
push 0x29
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0x114]
push str._v1_universes_universeId_users_userId
mov byte [ebp - 4], 0x1a
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xf
mov byte [ebp - 0x114], 0
call fcn.00473620
push 1
mov dword [ebp - 0xfc], 0
lea ecx, [ebp - 0xfc]
push 0x71ca3c
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0xf
mov byte [ebp - 0xfc], 0
call fcn.00473620
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 0x1c
push eax
lea ecx, [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x12c]
push edx
lea ecx, [ebp - 0x144]
call fcn.00520980
mov eax, dword [ebp - 0x1f8]
lea ecx, [ebp - 0x254]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x1f4]
push eax
mov byte [ebp - 4], 0x1d
call fcn.00470690
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x23c]
call fcn.004cab30
push 6
mov dword [ebp - 0x1c8], 0
lea ecx, [ebp - 0x1c8]
push str.badges
mov byte [ebp - 4], 0x1f
mov dword [ebp - 0x1cc], 0x1ad
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1b4], 0xf
mov byte [ebp - 0x1c8], 0
call fcn.00473620
push 0x27
mov dword [ebp - 0x1b0], 0
lea ecx, [ebp - 0x1b0]
push str._v1_users_userId_badges_awarded_dates
mov byte [ebp - 4], 0x20
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0xf
mov byte [ebp - 0x1b0], 0
call fcn.00473620
push 0x14
mov dword [ebp - 0x198], 0
lea ecx, [ebp - 0x198]
push str._v1_badges_badgeId
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xf
mov byte [ebp - 0x198], 0
call fcn.00473620
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x180], 0
push 0x2f
push str._v1_users_userId_badges_badgeId_award_badge
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x170], 0
mov dword [ebp - 0x16c], 0xf
mov byte [ebp - 0x180], 0
call fcn.00473620
push 1
mov dword [ebp - 0x168], 0
lea ecx, [ebp - 0x168]
push 0x71ca3c
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
call fcn.00473620
lea eax, [ebp - 0xd]
mov byte [ebp - 4], 0x24
push eax
lea ecx, [ebp - 0x150]
push ecx
lea edx, [ebp - 0x1b0]
push edx
lea ecx, [ebp - 0x138]
call fcn.00520980
mov eax, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x22c]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x1c8]
push eax
mov byte [ebp - 4], 0x25
call fcn.00470690
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x214]
call fcn.004cab30
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 0x2d
cmp dword [edi + 8], 0
je 0x52a235
push dword [edi + 4]
lea esi, [edi + 4]
push esi
call fcn.005079d0
mov eax, dword [esi]
mov dword [eax], eax
mov eax, dword [esi]
mov dword [eax + 4], eax
mov dword [esi + 4], 0
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push dword [edi + 0x10]
push dword [edi + 0xc]
call fcn.00478980
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x280]
mov ecx, edi
push eax
call fcn.005290a0
push fcn.0050c950
push 3
push 0x28
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x2c
push eax
call fcn.006c0428
lea ecx, [ebp - 0x138]
call fcn.0047f880
push fcn.004716c0
push 4
push 0x18
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 0x2a
push eax
call fcn.006c0428
lea ecx, [ebp - 0x1cc]
call fcn.0047f960
lea ecx, [ebp - 0x144]
call fcn.0047f880
push fcn.004716c0
push 3
push 0x18
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x27
push eax
call fcn.006c0428
lea ecx, [ebp - 0x1f8]
call fcn.0047f960
lea ecx, [ebp - 0x150]
call fcn.0047f880
push fcn.004716c0
push 6
push 0x18
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xf
push eax
call fcn.006c0428
lea ecx, [ebp - 0x38]
call fcn.0047f960
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x48]
call fcn.004e62c0
push eax
mov byte [ebp - 4], 1
call fcn.004e5c20
push bind
push dword [esi + 0x34]
call fcn.0052d370
add esp, 8
lea ecx, [ebp - 0x208]
call fcn.004e62c0
push eax
mov byte [ebp - 4], 2
call fcn.004e5c20
push bind
push dword [esi + 0x34]
call fcn.0052d370
push bind
push dword [esi + 0x38]
call fcn.0052d370
add esp, 0x10
lea ecx, [ebp - 0x1dc]
call fcn.004e62c0
push eax
mov byte [ebp - 4], 3
call fcn.004e5c20
int3