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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x739ae3
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.006de93d
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 0x54bdaa
push 0
push bind
push 0
push 0
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
test eax, eax
je 0x54bdbc
push 0
push bind
push 0
push 0
call edi
mov dword [esi + 0x3c], eax
test eax, eax
je 0x54bde1
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.00503d60
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.0048c350
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.00503d60
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.0048c350
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.00503d60
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.0048c350
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x54], 0
mov edx, dword [esi + 8]
test edx, edx
je 0x54b605
mov eax, dword [esi + 0x1c]
lea ecx, [esi + 4]
shr eax, 3
cmp eax, edx
jbe 0x54b5bd
mov eax, dword [ecx]
mov ecx, esi
push eax
push dword [eax]
call fcn.0054c9d0
jmp 0x54b605
push dword [ecx]
push ecx
call fcn.00526810
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 0x54b605
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.0054ad00
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 0x54b6c2
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x54b683
nop word [eax + eax]
mov esi, dword [eax]
push 0x14
push eax
call fcn.00503df0
add esp, 8
mov eax, esi
test esi, esi
jne 0x54b670
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 0x54b6bf
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.0054af40
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.0047e790
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.0047e6a0
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.0047e6a0
movups xmm0, xmmword [str._persistence_getV2]
mov dword [ebp - 0xbc], 0x12
mov dword [ebp - 0xb8], 0x1f
movups xmmword [eax], xmm0
movzx ecx, word [0x786714]
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.0047e6a0
movups xmm0, xmmword [str._persistence_increment]
mov dword [ebp - 0xa4], 0x16
mov dword [ebp - 0xa0], 0x1f
movups xmmword [eax], xmm0
mov ecx, dword [0x786728]
mov dword [eax + 0x10], ecx
movzx ecx, word [0x78672c]
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.0047e6a0
movups xmm0, xmmword [str._persistence_remove]
mov dword [ebp - 0x8c], 0x13
mov dword [ebp - 0x88], 0x1f
movups xmmword [eax], xmm0
movzx ecx, word [0x786740]
mov word [eax + 0x10], cx
mov cl, byte [0x786742]
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.0047e6a0
movups xmm0, xmmword [str._persistence_getSortedValues]
mov dword [ebp - 0x74], 0x1c
mov dword [ebp - 0x70], 0x1f
movups xmmword [eax], xmm0
movq xmm0, qword [0x786754]
movq qword [eax + 0x10], xmm0
mov ecx, dword [0x78675c]
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.00541660
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.0047b780
lea eax, [ebp - 0x150]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x264]
call fcn.004da320
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.0047e790
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.0047e6a0
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 [0x786774]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x786784]
movups xmmword [ecx + 0x20], xmm0
mov ax, word [0x786794]
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.0047e790
push 1
mov dword [ebp - 0xfc], 0
lea ecx, [ebp - 0xfc]
push 0x753798
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe8], 0xf
mov byte [ebp - 0xfc], 0
call fcn.0047e790
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.00541660
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.0047b780
lea eax, [ebp - 0x144]
mov byte [ebp - 4], 0x1e
push eax
lea ecx, [ebp - 0x23c]
call fcn.004da320
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.0047e790
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.0047e790
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.0047e790
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.0047e790
push 1
mov dword [ebp - 0x168], 0
lea ecx, [ebp - 0x168]
push 0x753798
mov byte [ebp - 4], 0x23
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x154], 0xf
mov byte [ebp - 0x168], 0
call fcn.0047e790
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.00541660
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.0047b780
lea eax, [ebp - 0x138]
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x214]
call fcn.004da320
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x208]
mov byte [ebp - 4], 0x2d
cmp dword [edi + 8], 0
je 0x54bce5
push dword [edi + 4]
lea esi, [edi + 4]
push esi
call fcn.00526700
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.004839a0
add esp, 0x14
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x280]
mov ecx, edi
push eax
call fcn.0054ab50
push fcn.0052bc90
push 3
push 0x28
lea eax, [ebp - 0x280]
mov byte [ebp - 4], 0x2c
push eax
call fcn.006f2c18
lea ecx, [ebp - 0x138]
call fcn.0048a860
push fcn.0047c810
push 4
push 0x18
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 0x2a
push eax
call fcn.006f2c18
lea ecx, [ebp - 0x1cc]
call fcn.0048a940
lea ecx, [ebp - 0x144]
call fcn.0048a860
push fcn.0047c810
push 3
push 0x18
lea eax, [ebp - 0x12c]
mov byte [ebp - 4], 0x27
push eax
call fcn.006f2c18
lea ecx, [ebp - 0x1f8]
call fcn.0048a940
lea ecx, [ebp - 0x150]
call fcn.0048a860
push fcn.0047c810
push 6
push 0x18
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 0xf
push eax
call fcn.006f2c18
lea ecx, [ebp - 0x38]
call fcn.0048a940
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.00501860
push eax
mov byte [ebp - 4], 1
call fcn.005011c0
push bind
push dword [esi + 0x34]
call fcn.0054ee20
add esp, 8
lea ecx, [ebp - 0x208]
call fcn.00501860
push eax
mov byte [ebp - 4], 2
call fcn.005011c0
push bind
push dword [esi + 0x34]
call fcn.0054ee20
push bind
push dword [esi + 0x38]
call fcn.0054ee20
add esp, 0x10
lea ecx, [ebp - 0x1dc]
call fcn.00501860
push eax
mov byte [ebp - 4], 3
call fcn.005011c0
int3