Function at 0x504dc2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x59a240]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x28], esi
and dword [eax], 0
mov dword [ebp - 0x34], eax
test esi, esi
jne 0x504def
xor eax, eax
jmp 0x505070
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x10]
push ebx
push edi
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], 0x74737953
push 0
push eax
mov dword [ebp - 0xc], 0x6f526d65
mov word [ebp - 8], 0x746f
mov byte [ebp - 6], 0
call fcn.004fd11b
add esp, 0xc
test eax, eax
je 0x504e38
cmp eax, 0x16
je 0x50507d
call fcn.004f952a
mov esi, dword [eax]
jmp 0x504f71
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x504e53
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x504e42
sub ecx, edx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x504e5a
mov dword [ebp - 0x1c], 0xb
cmp dword [esi], 0
push 2
pop ebx
mov dword [ebp - 0x18], ebx
je 0x504e83
mov edx, esi
mov ecx, dword [edx]
lea edx, [edx + 4]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x504e6f
sub ecx, edi
inc ebx
add ebx, ecx
cmp dword [edx], 0
jne 0x504e67
mov dword [ebp - 0x18], ebx
call fcn.005017e9
mov edi, eax
test edi, edi
jne 0x504e9d
push eax
call fcn.004fbcff
pop ecx
push 0x16
pop esi
jmp 0x504f71
cmp byte [edi], 0x3d
mov edx, edi
mov dword [ebp - 0x30], edi
je 0x504ec0
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x504eac
sub ecx, ebx
inc edx
add edx, ecx
cmp byte [edx], 0x3d
jne 0x504ea7
mov dword [ebp - 0x30], edx
cmp byte [edx], 0x3d
mov ebx, edx
jne 0x504ef6
cmp byte [ebx + 1], 0
je 0x504ef6
cmp byte [ebx + 2], 0x3a
jne 0x504ef6
cmp byte [ebx + 3], 0x3d
jne 0x504ef6
lea ecx, [ebx + 4]
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x504ee2
sub ecx, dword [ebp - 0x24]
add ebx, 5
add ebx, ecx
cmp byte [ebx], 0x3d
je 0x504ec7
sub ebx, edx
mov dword [ebp - 0x2c], esi
mov edx, dword [esi]
mov dword [ebp - 0x24], ebx
jmp 0x504f2e
lea ecx, [ebp - 0x10]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x504f08
sub ecx, esi
lea eax, [ebp - 0x10]
push ecx
push eax
push edx
call fcn.004f719c
add esp, 0xc
test eax, eax
je 0x504f81
mov eax, dword [ebp - 0x2c]
add eax, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [eax]
test edx, edx
jne 0x504f02
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], dl
add eax, ebx
push 1
push eax
mov dword [ebp - 0x18], eax
call fcn.004fcf49
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x504f8a
push 0xe
call fcn.004f94d0
call fcn.004f952a
push 0xc
pop esi
push 0
mov dword [eax], esi
call fcn.004fbcff
push edi
call fcn.004fbcff
add esp, 0xc
push dword [ebp - 0x20]
call fcn.004fbcff
pop ecx
mov eax, esi
jmp 0x50506e
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], 1
jmp 0x504f3b
mov eax, dword [ebp - 0x24]
mov ebx, esi
test eax, eax
je 0x504fb0
push eax
push dword [ebp - 0x30]
push esi
call fcn.004e4820
mov eax, dword [ebp - 0x24]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x18], ecx
lea ebx, [esi + eax]
jmp 0x504fb3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
jmp 0x504ff7
push eax
push ecx
push ebx
call fcn.004f914c
add esp, 0xc
test eax, eax
jne 0x50507d
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx]
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x504fd8
sub ecx, dword [ebp - 0x24]
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 - 0x28], edx
mov eax, dword [edx]
test eax, eax
jne 0x504fba
cmp byte [ebp - 0x11], al
jne 0x505044
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push ebx
call fcn.004f914c
add esp, 0xc
test eax, eax
jne 0x50507d
push 0x582668
push dword [ebp - 0x1c]
push ebx
call fcn.00504bfe
add esp, 0xc
test eax, eax
jne 0x50507d
cmp dword [ebp - 0x20], eax
je 0x505041
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push ebx
call fcn.00504bfe
add esp, 0xc
test eax, eax
jne 0x50507d
add ebx, dword [ebp - 0x1c]
cmp ebx, esi
jne 0x50504c
mov byte [ebx], 0
inc ebx
mov eax, dword [ebp - 0x34]
mov byte [ebx], 0
push 0
mov dword [eax], esi
call fcn.004fbcff
push edi
call fcn.004fbcff
push dword [ebp - 0x20]
call fcn.004fbcff
add esp, 0xc
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e3632
leave
ret
push 0
push 0
push 0
push 0
push 0
call fcn.004f9459
int3