Function at 0x50ff68
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
test dl, dl
je 0x50ff8e
add esp, 0xfffffff0
call fcn.00402ab0
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x51068b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, 0x3aa2
mov eax, ebx
call fcn.00622d84
mov eax, dword [ebx + 0x228]
mov eax, dword [eax + 0x120]
mov dword [ebx + 0x238], eax
xor eax, eax
call fcn.0050904c
mov eax, dword [0x66f638]
cmp byte [eax], 0
je 0x510008
mov eax, dword [ebx + 0x1b4]
mov edx, dword [eax + 0x2c]
inc edx
mov eax, dword [ebx + 0x1b4]
call fcn.0063f710
mov eax, dword [ebx + 0x1b8]
mov edx, dword [eax + 0x2c]
inc edx
mov eax, dword [ebx + 0x1b8]
call fcn.0063f710
mov eax, dword [ebx + 0x228]
mov esi, dword [eax + 0x34]
mov edx, dword [ebx + 0x1a0]
mov edx, dword [edx + 0x34]
call fcn.00637e84
mov edi, dword [ebx + 0x228]
mov eax, edi
call fcn.00637e40
mov edx, dword [0x66fef0]
add eax, dword [edx + 4]
push eax
mov eax, dword [ebx + 0x228]
call fcn.0063f7e8
mov edx, dword [ebx + 0x228]
mov edx, dword [edx + 0x34]
sub edx, eax
mov eax, edx
pop edx
add edx, eax
mov eax, edi
call fcn.0063f740
mov eax, dword [ebx + 0x228]
mov dword [eax + 0xa8], ebx
mov dword [eax + 0xa4], 0x50eebc
mov edx, dword [ebx + 0x224]
mov ecx, dword [edx + 0x34]
mov eax, dword [eax + 0x34]
sub eax, esi
add ecx, eax
mov eax, ecx
xchg edx, eax
call fcn.0063f740
mov eax, dword [ebx + 0x228]
mov edx, dword [eax + 0x34]
add edx, dword [ebx + 0x34]
sub edx, esi
mov eax, ebx
call fcn.0063f740
mov eax, dword [ebx + 0x19c]
call fcn.0062b18c
mov eax, dword [ebx + 0x1d4]
call fcn.0042eff8
mov eax, 0x7bc0
call fcn.00628370
mov esi, eax
mov edi, dword [ebx + 0x1d4]
mov dword [edi + 0x138], esi
neg esi
mov dword [edi + 0x13c], esi
mov eax, dword [ebx + 0x1d8]
call fcn.0042eff8
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x138]
mov eax, dword [ebx + 0x1d8]
mov dword [eax + 0x138], edx
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
xor esi, esi
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov ecx, esi
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
inc esi
cmp esi, 8
jne 0x510108
call fcn.00539564
mov esi, eax
mov eax, esi
call fcn.005c208c
test al, al
je 0x510145
mov eax, dword [esi + 0x300]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x51014e
mov eax, dword [esi + 0x258]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.005bd358
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.005c5464
and eax, 0x3ff
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, 1
call fcn.0061a18c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, 2
call fcn.0061a18c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, 3
call fcn.0061a18c
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
pop eax
call fcn.00655a28
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, 1
call fcn.0061b498
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, 2
call fcn.0061b498
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, 3
call fcn.0061b498
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
pop eax
call fcn.00655a28
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 7
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, 1
call fcn.0061bab0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, 2
call fcn.0061bab0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, 3
call fcn.0061bab0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
pop eax
call fcn.00655a28
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 7
mov esi, dword [eax]
call dword [esi + 0x1c]
mov eax, dword [ebx + 0x1e0]
mov esi, dword [eax + 0x120]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
dec edx
mov eax, esi
mov ecx, 0x16
mov esi, dword [eax]
call dword [esi + 0x24]
push 0xff
lea eax, [ebp - 0x1c]
mov edx, dword [0x66e8b0]
mov edx, dword [edx]
call fcn.00403438
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
xor edx, edx
call fcn.0064fcec
mov eax, dword [ebx + 0x1e4]
mov dword [eax + 0x138], 0x7fff
mov eax, dword [ebx + 0x208]
call fcn.0042eff8
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x138]
mov eax, dword [ebx + 0x208]
mov dword [eax + 0x138], edx
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
mov eax, dword [ebx + 0x20c]
call fcn.0042eff8
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x138]
mov eax, dword [ebx + 0x20c]
mov dword [eax + 0x138], edx
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
mov edx, dword [0x508a74]
mov eax, dword [ebx + 0x1dc]
call fcn.00641508
mov esi, eax
mov dword [ebx + 0x240], esi
mov dword [esi + 0x134], ebx
mov dword [esi + 0x130], 0x50ec8c
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x138], 0x50d330
mov edx, 0x96
mov eax, esi
call fcn.0063f728
mov dl, 1
mov eax, dword [ebx + 0x240]
call fcn.0064394c
mov eax, dword [ebx + 0x1f0]
call fcn.006438b0
mov edx, eax
mov eax, dword [ebx + 0x240]
call fcn.00643930
mov edx, dword [ebx + 0x240]
mov eax, dword [ebx + 0x1e8]
call fcn.00638e90
call fcn.0064e78c
mov dword [ebp - 0xc], eax
mov edx, dword [0x608170]
mov eax, dword [ebx + 0x1a4]
call fcn.00641508
mov esi, eax
mov dword [ebx + 0x244], esi
mov al, byte [0x5106ac]
mov byte [esi + 0x157], al
mov eax, dword [0x66f5a0]
mov eax, dword [eax]
mov edx, dword [0x66f484]
mov edx, dword [edx]
add edx, edx
add eax, edx
mov edx, dword [0x66eb20]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, 0x97
call fcn.00622c00
push eax
mov eax, 0x186
call fcn.00622c00
mov edx, eax
mov eax, esi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x24]
mov edx, 0x251c
mov eax, dword [ebp - 0xc]
call fcn.0064e9dc
mov eax, dword [ebx + 0x244]
mov edx, dword [eax + 0x30]
push edx
push 1
push 0
mov dl, byte [0x5106b0]
push edx
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.0060b6e0
xor edx, edx
mov eax, dword [ebx + 0x244]
call fcn.00641734
mov dword [eax + 0xa0], ebx
mov dword [eax + 0x9c], 0x50eebc
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x66929c
mov dword [ebp - 0x18], eax
mov edx, dword [0x608170]
mov eax, dword [ebx + 0x224]
call fcn.00641508
mov edi, eax
mov al, byte [0x5106ac]
mov byte [edi + 0x157], al
mov eax, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 0x248], edi
mov eax, dword [0x66f484]
mov eax, dword [eax]
mov edx, dword [0x66eb20]
add eax, dword [edx]
mov edx, eax
add edx, edx
mov eax, dword [0x66f5a0]
add edx, dword [eax]
mov eax, dword [0x66f484]
add edx, dword [eax]
mov eax, edi
call fcn.0063f728
mov dl, 4
mov eax, edi
call fcn.0063f5a0
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.0064e9b4
mov eax, dword [edi + 0x30]
push eax
push 0x7fffffff
push 0
mov al, byte [0x5106b0]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.0060b6e0
mov eax, edi
call fcn.00641764
dec eax
cmp eax, 0
jl 0x510623
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00641734
mov esi, eax
mov eax, dword [esi + 0x18]
cmp eax, 0x2530
je 0x5105e2
cmp eax, 0x2531
jne 0x51060a
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x51060a
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x58]
call fcn.00655be8
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 0x58]
call fcn.004032c8
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x9c], 0x50eebc
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x5105c5
xor edx, edx
mov eax, edi
call fcn.0063f5a0
mov eax, dword [edi + 0x30]
push eax
mov esi, dword [ebx + 0x228]
mov eax, dword [esi + 0x34]
push eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [edi + 0x28]
sub edx, 2
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x24]
inc dword [ebp - 0x10]
add dword [ebp - 0x18], 0x2c
cmp dword [ebp - 0x10], 2
jne 0x51052d
mov eax, dword [ebp - 0xc]
call fcn.0064edac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x510692
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00403298
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403298
ret