Function at 0x505023
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x581900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], eax
mov dword [eax], ecx
test ebx, ebx
jne 0x505051
xor eax, eax
jmp 0x5052d0
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x74737953
push eax
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 0x6f526d65
push eax
mov word [ebp - 8], 0x746f
mov byte [ebp - 6], cl
mov dword [ebp - 0x20], ecx
call fcn.004fdd89
add esp, 0xc
test eax, eax
je 0x505097
cmp eax, 0x16
je 0x5052dd
call fcn.004fa347
mov esi, dword [eax]
jmp 0x5051cc
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x5050b2
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5050a1
sub ecx, edx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x5050b9
mov dword [ebp - 0x1c], 0xb
cmp dword [ebx], 0
push 2
pop edi
mov dword [ebp - 0x18], edi
je 0x5050e2
mov edx, ebx
mov ecx, dword [edx]
lea edx, [edx + 4]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5050ce
sub ecx, esi
inc edi
add edi, ecx
cmp dword [edx], 0
jne 0x5050c6
mov dword [ebp - 0x18], edi
call fcn.0050197f
mov edi, eax
test edi, edi
jne 0x5050fc
push eax
call fcn.004fc95e
pop ecx
push 0x16
pop esi
jmp 0x5051cc
cmp byte [edi], 0x3d
mov esi, edi
je 0x50511e
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505108
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], 0x3d
jne 0x505103
mov dword [ebp - 0x28], esi
jmp 0x505121
mov dword [ebp - 0x28], edi
mov ebx, esi
cmp byte [ebx + 1], 0
je 0x50514e
cmp byte [ebx + 2], 0x3a
jne 0x50514e
cmp byte [ebx + 3], 0x3d
jne 0x50514e
lea ecx, [ebx + 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x50513b
sub ecx, edx
add ebx, 5
add ebx, ecx
cmp byte [ebx], 0x3d
je 0x505123
mov eax, dword [ebp - 0x24]
sub ebx, esi
mov dword [ebp - 0x34], ebx
jmp 0x505183
lea ecx, [ebp - 0x10]
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505161
sub ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push ecx
push eax
push edx
call fcn.004f74c1
add esp, 0xc
test eax, eax
je 0x5051dc
mov eax, dword [ebp - 0x30]
add eax, 4
mov edx, dword [eax]
mov dword [ebp - 0x30], eax
test edx, edx
jne 0x505158
mov eax, dword [ebp - 0x18]
add eax, ebx
mov byte [ebp - 0x11], 0
add eax, dword [ebp - 0x1c]
push 1
push eax
mov dword [ebp - 0x18], eax
call fcn.004fdbb7
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x5051ea
push 0xe
call fcn.004fa2ed
call fcn.004fa347
push 0xc
pop esi
push 0
mov dword [eax], esi
call fcn.004fc95e
push edi
call fcn.004fc95e
add esp, 0xc
push dword [ebp - 0x20]
call fcn.004fc95e
pop ecx
mov eax, esi
jmp 0x5052ce
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], 1
add eax, ebx
mov dword [ebp - 0x28], esi
jmp 0x505198
mov eax, dword [ebp - 0x34]
mov ebx, esi
test eax, eax
je 0x505210
push eax
push dword [ebp - 0x28]
push esi
call fcn.004e6440
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x18], ecx
lea ebx, [esi + eax]
jmp 0x505213
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
jmp 0x505257
push eax
push ecx
push ebx
call fcn.004f9f69
add esp, 0xc
test eax, eax
jne 0x5052dd
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx]
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x505238
sub ecx, dword [ebp - 0x2c]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x18]
sub ecx, eax
add ebx, eax
add edx, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], edx
mov eax, dword [edx]
test eax, eax
jne 0x50521a
cmp byte [ebp - 0x11], al
jne 0x5052a4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push ebx
call fcn.004f9f69
add esp, 0xc
test eax, eax
jne 0x5052dd
push 0x56da38
push dword [ebp - 0x1c]
push ebx
call fcn.00504e6d
add esp, 0xc
test eax, eax
jne 0x5052dd
cmp dword [ebp - 0x20], eax
je 0x5052a1
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push ebx
call fcn.00504e6d
add esp, 0xc
test eax, eax
jne 0x5052dd
add ebx, dword [ebp - 0x1c]
cmp ebx, esi
jne 0x5052ac
mov byte [ebx], 0
inc ebx
mov eax, dword [ebp - 0x38]
mov byte [ebx], 0
push 0
mov dword [eax], esi
call fcn.004fc95e
push edi
call fcn.004fc95e
push dword [ebp - 0x20]
call fcn.004fc95e
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004e50dc
leave
ret
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004fa276
int3