Function at 0x523dba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x642a67
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
lea eax, [esi - 0x2084]
mov dword [eax], vtable.RifGameFieldControl.3.0
lea ebp, [esi - 0x2090]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 0x20a8]
mov dword [esi - 0x20ac], 0x661eac
mov dword [ebp], vtable.RifGameFieldControl.1.0
mov ecx, dword [eax + 4]
push edi
mov dword [esp + 0x20], esi
mov dword [ecx + esi - 0x20a8], 0x661e98
mov ecx, ebp
mov dword [esp + 0x2c], 0x3c
call fcn.00497950
mov eax, dword [esi - 8]
mov byte [esp + 0x2c], 0x3b
lea edx, [esi - 0xc]
xor ebx, ebx
cmp eax, edx
je 0x523e42
mov ecx, dword [esi - 0x1c]
cmp ecx, ebx
je 0x523e42
sub eax, ecx
cmp eax, 0x80
jbe 0x523e38
push ecx
call fcn.00611869
add esp, 4
jmp 0x523e42
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esi - 0x20]
lea ecx, [esi - 0x24]
cmp eax, ecx
mov byte [esp + 0x2c], 0x3a
je 0x523e76
mov ecx, dword [esi - 0x34]
cmp ecx, ebx
je 0x523e76
sub eax, ecx
cmp eax, 0x80
jbe 0x523e6c
push ecx
call fcn.00611869
add esp, 4
jmp 0x523e76
push eax
push ecx
call fcn.005d6970
add esp, 8
lea ecx, [esi - 0x40]
mov byte [esp + 0x2c], 0x39
call fcn.0048fb50
lea ecx, [esi - 0x4c]
mov byte [esp + 0x2c], 0x38
call fcn.0048fb50
lea ecx, [esi - 0x5c]
mov byte [esp + 0x2c], 0x37
call fcn.0048f9a0
lea ecx, [esi - 0x68]
mov byte [esp + 0x2c], 0x36
call fcn.0049b1a0
lea ecx, [esi - 0x74]
mov byte [esp + 0x2c], 0x35
call fcn.00407ce0
lea ecx, [esi - 0x80]
mov byte [esp + 0x2c], 0x34
call fcn.004aed60
lea ecx, [esi - 0x8c]
mov byte [esp + 0x2c], 0x33
call fcn.00407ce0
lea ecx, [esi - 0x9c]
mov byte [esp + 0x2c], 0x32
call fcn.00407ce0
lea ecx, [esi - 0xa8]
mov byte [esp + 0x2c], 0x31
call fcn.00407ce0
lea ecx, [esi - 0xb4]
mov byte [esp + 0x2c], 0x30
call fcn.0048f9a0
mov eax, dword [esi - 0xb8]
lea edx, [esi - 0xbc]
cmp eax, edx
mov byte [esp + 0x2c], 0x2f
je 0x523f41
mov ecx, dword [esi - 0xcc]
cmp ecx, ebx
je 0x523f41
sub eax, ecx
cmp eax, 0x80
jbe 0x523f37
push ecx
call fcn.00611869
add esp, 4
jmp 0x523f41
push eax
push ecx
call fcn.005d6970
add esp, 8
lea ecx, [esi - 0xd8]
mov byte [esp + 0x2c], 0x2e
call fcn.0048f9a0
lea ecx, [esi - 0xe4]
mov byte [esp + 0x2c], 0x2d
call fcn.00459610
mov eax, dword [esi - 0xec]
cmp eax, ebx
lea edi, [esi - 0xfc]
mov byte [esp + 0x2c], 0x2c
je 0x523f8d
mov eax, dword [edi + 4]
push eax
mov ecx, edi
call fcn.00490b20
mov dword [edi + 8], edi
mov dword [edi + 4], ebx
mov dword [edi + 0xc], edi
mov dword [edi + 0x10], ebx
mov edi, dword [esi - 0x108]
cmp edi, ebx
mov byte [esp + 0x2c], 0x2b
je 0x523fd7
mov ecx, dword [esi - 0x100]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
shl eax, 2
cmp eax, 0x80
jbe 0x523fcd
push edi
call fcn.00611869
add esp, 4
jmp 0x523fd7
push eax
push edi
call fcn.005d6970
add esp, 8
lea ecx, [esi - 0x114]
mov byte [esp + 0x2c], 0x2a
call fcn.0048f9a0
lea ecx, [esi - 0x120]
mov byte [esp + 0x2c], 0x29
call fcn.0048f9a0
lea ecx, [esi - 0x158]
mov byte [esp + 0x2c], 0x28
call fcn.0048fb50
lea ecx, [esi - 0x160]
mov byte [esp + 0x2c], 0x27
call fcn.00490ae0
lea ecx, [esi - 0x184]
mov byte [esp + 0x2c], 0x26
call fcn.0048f9a0
lea ecx, [esi - 0x190]
mov byte [esp + 0x2c], 0x25
call fcn.0048f9a0
lea ecx, [esi - 0x19c]
mov byte [esp + 0x2c], 0x24
call fcn.0048f9a0
lea ecx, [esi - 0x4bc]
mov byte [esp + 0x2c], 0x23
call fcn.0048f9a0
lea ecx, [esi - 0x4c8]
mov byte [esp + 0x2c], 0x22
call fcn.0048f9a0
lea ecx, [esi - 0x4e0]
mov byte [esp + 0x2c], 0x21
call fcn.0048fb50
mov eax, dword [esi - 0x4e8]
lea ecx, [esi - 0x4ec]
cmp eax, ecx
mov byte [esp + 0x2c], 0x20
je 0x5240b4
mov ecx, dword [esi - 0x4fc]
cmp ecx, ebx
je 0x5240b4
sub eax, ecx
cmp eax, 0x80
jbe 0x5240aa
push ecx
call fcn.00611869
add esp, 4
jmp 0x5240b4
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esi - 0x50c]
cmp eax, ebx
lea edi, [esi - 0x51c]
mov byte [esp + 0x2c], 0x1f
je 0x5240e0
mov edx, dword [edi + 4]
push edx
mov ecx, edi
call fcn.00493c50
mov dword [edi + 8], edi
mov dword [edi + 4], ebx
mov dword [edi + 0xc], edi
mov dword [edi + 0x10], ebx
mov ecx, dword [esi - 0x534]
cmp ecx, ebx
mov byte [esp + 0x2c], 0x1e
je 0x524119
mov eax, dword [esi - 0x52c]
sub eax, ecx
sar eax, 3
shl eax, 3
cmp eax, 0x80
jbe 0x52410f
push ecx
call fcn.00611869
add esp, 4
jmp 0x524119
push eax
push ecx
call fcn.005d6970
add esp, 8
mov ecx, dword [esi - 0x544]
cmp ecx, ebx
mov byte [esp + 0x2c], 0x1d
je 0x524152
mov eax, dword [esi - 0x53c]
sub eax, ecx
sar eax, 3
shl eax, 3
cmp eax, 0x80
jbe 0x524148
push ecx
call fcn.00611869
add esp, 4
jmp 0x524152
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esi - 0x59c]
push eax
call fcn.00611c89
mov ecx, dword [esi - 0x5c8]
add esp, 4
cmp ecx, ebx
mov byte [esp + 0x2c], 0x1b
je 0x52419a
mov eax, dword [esi - 0x5c0]
sub eax, ecx
sar eax, 2
shl eax, 2
cmp eax, 0x80
jbe 0x524190
push ecx
call fcn.00611869
add esp, 4
jmp 0x52419a
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esi - 0x1e54]
cmp eax, ebx
mov byte [esp + 0x2c], 0x1a
je 0x5241c6
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x49b840
push ecx
push 8
push eax
call fcn.00612ca1
push edi
call fcn.00611c89
add esp, 4
lea ecx, [esi - 0x1e60]
mov byte [esp + 0x2c], 0x19
call fcn.004b0370
lea ecx, [esi - 0x1e6c]
mov byte [esp + 0x2c], 0x18
call fcn.004b0370
mov eax, dword [esi - 0x1e80]
lea edx, [esi - 0x1e84]
cmp eax, edx
mov byte [esp + 0x2c], 0x17
je 0x524223
mov ecx, dword [esi - 0x1e94]
cmp ecx, ebx
je 0x524223
sub eax, ecx
cmp eax, 0x80
jbe 0x524219
push ecx
call fcn.00611869
add esp, 4
jmp 0x524223
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esi - 0x1e98]
lea ecx, [esi - 0x1e9c]
cmp eax, ecx
mov byte [esp + 0x2c], 0x16
je 0x524260
mov ecx, dword [esi - 0x1eac]
cmp ecx, ebx
je 0x524260
sub eax, ecx
cmp eax, 0x80
jbe 0x524256
push ecx
call fcn.00611869
add esp, 4
jmp 0x524260
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esi - 0x1eb0]
lea edx, [esi - 0x1eb4]
cmp eax, edx
mov byte [esp + 0x2c], 0x15
je 0x52429d
mov ecx, dword [esi - 0x1ec4]
cmp ecx, ebx
je 0x52429d
sub eax, ecx
cmp eax, 0x80
jbe 0x524293
push ecx
call fcn.00611869
add esp, 4
jmp 0x52429d
push eax
push ecx
call fcn.005d6970
add esp, 8
mov eax, dword [esi - 0x1ec8]
lea ecx, [esi - 0x1ecc]
cmp eax, ecx
mov byte [esp + 0x2c], 0x14
je 0x5242da
mov ecx, dword [esi - 0x1edc]
cmp ecx, ebx
je 0x5242da
sub eax, ecx
cmp eax, 0x80
jbe 0x5242d0
push ecx
call fcn.00611869
add esp, 4
jmp 0x5242da
push eax
push ecx
call fcn.005d6970
add esp, 8
lea ecx, [esi - 0x1ee8]
mov byte [esp + 0x2c], 0x13
call fcn.0049ac10
lea ecx, [esi - 0x1ef4]
mov byte [esp + 0x2c], 0x12
call fcn.0049ac10
lea ecx, [esi - 0x1f00]
mov byte [esp + 0x2c], 0x11
call fcn.0049ac10
lea ecx, [esi - 0x1f0c]
mov byte [esp + 0x2c], 0x10
call fcn.0049ac10
lea ecx, [esi - 0x1f18]
mov byte [esp + 0x2c], 0xf
call fcn.0049ac10
lea ecx, [esi - 0x1f24]
mov byte [esp + 0x2c], 0xe
call fcn.0049ac10
lea ecx, [esi - 0x1f30]
mov byte [esp + 0x2c], 0xd
call fcn.0049ac10
lea ecx, [esi - 0x1f3c]
mov byte [esp + 0x2c], 0xc
call fcn.0049ac10
lea ecx, [esi - 0x1f48]
mov byte [esp + 0x2c], 0xb
call fcn.0049ac10
lea ecx, [esi - 0x1f54]
mov byte [esp + 0x2c], 0xa
call fcn.0049ac10
lea ecx, [esi - 0x1f60]
mov byte [esp + 0x2c], 9
call fcn.0049ac10
lea ecx, [esi - 0x1f6c]
mov byte [esp + 0x2c], 8
call fcn.0049ac10
lea ecx, [esi - 0x1f78]
mov byte [esp + 0x2c], 7
call fcn.0049ac10
lea ecx, [esi - 0x1f80]
mov byte [esp + 0x2c], 6
mov dword [esi - 0x1f84], 0x65cad8
call fcn.004af0c0
lea ecx, [esi - 0x1f8c]
mov byte [esp + 0x2c], 5
call fcn.00416320
lea ecx, [esi - 0x1f94]
mov byte [esp + 0x2c], 4
call fcn.00416320
lea ecx, [esi - 0x1fa4]
mov byte [esp + 0x2c], 3
call fcn.004b3820
lea edi, [esi - 0x20ac]
cmp edi, ebx
mov byte [esp + 0x2c], 2
je 0x52440b
lea ecx, [esi - 0x2054]
jmp 0x52440d
xor ecx, ecx
call fcn.004b80c0
mov edx, dword [esp + 0x1c]
mov eax, edi
neg eax
sbb eax, eax
and eax, edx
lea ecx, [eax + 0x20]
mov byte [esp + 0x2c], 1
call fcn.005618f0
neg edi
sbb edi, edi
and edi, ebp
lea ecx, [edi + 0xc]
mov byte [esp + 0x2c], bl
call fcn.005619d0
lea ecx, [ebp - 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0042ce80
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret