Function at 0x522320
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65c47e
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x6dc0b8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x64]
call fcn.00521d70
mov byte [ebp - 4], 1
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.004c4ce0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x64]
cmp dword [edx + 0x24], 0
jne 0x5223d5
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
call fcn.004146b0
mov ecx, dword [ebp - 0x60]
or ecx, 1
mov dword [ebp - 0x60], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00414d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00414d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00414d60
mov eax, dword [ebp + 8]
jmp 0x5225bb
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 0x24]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
je 0x5223f9
cmp dword [ebp - 0x68], 2
je 0x522421
cmp dword [ebp - 0x68], 3
je 0x522483
jmp 0x52257c
lea ecx, [ebp - 0x54]
call fcn.00414ec0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040e430
push eax
lea ecx, [ebp - 0x3c]
call fcn.00414ec0
push eax
call fcn.0052bb90
add esp, 0xc
jmp 0x52257c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp - 0x54]
push edx
call fcn.004c4ce0
mov dword [ebp - 0x80], eax
lea ecx, [ebp + 0xc]
call fcn.0040e430
push eax
lea ecx, [ebp + 0xc]
call fcn.00414ec0
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0051c9f0
add esp, 0x24
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x3c]
call fcn.004c2a70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x98]
call fcn.00414d60
jmp 0x52257c
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x20], 0x74
mov byte [ebp - 0x1f], 0x61
mov byte [ebp - 0x1e], 0x32
mov byte [ebp - 0x1d], 0x33
mov byte [ebp - 0x1c], 0x34
mov byte [ebp - 0x1b], 0x35
mov byte [ebp - 0x1a], 0x36
mov byte [ebp - 0x19], 0x37
mov byte [ebp - 0x18], 0x38
mov byte [ebp - 0x17], 0x39
mov byte [ebp - 0x16], 0x61
mov byte [ebp - 0x15], 0x62
mov byte [ebp - 0x14], 0x63
mov byte [ebp - 0x13], 0x64
mov byte [ebp - 0x12], 0x78
mov byte [ebp - 0x11], 0x73
lea eax, [ebp - 0x20]
push eax
push 0x10
lea ecx, [ebp - 0x54]
call fcn.00414ec0
push eax
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0040e430
push eax
lea ecx, [ebp + 0xc]
call fcn.00414ec0
push eax
call fcn.0052b9d0
add esp, 0x18
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x52257c
lea ecx, [ebp + 0xc]
call fcn.0040e430
sub eax, 1
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x5c]
add edx, dword [ebp - 0x58]
movzx eax, byte [edx]
test eax, eax
jne 0x52252c
cmp dword [ebp - 0x58], 0
jl 0x52252c
mov ecx, dword [ebp - 0x58]
sub ecx, 1
mov dword [ebp - 0x58], ecx
jmp 0x52250e
mov edx, dword [ebp - 0x58]
add edx, 1
mov dword [ebp - 0x58], edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.004c39b0
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x78], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004c2a70
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.00414d60
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.0052bae0
add esp, 4
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004146b0
mov eax, dword [ebp - 0x60]
or eax, 1
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.00414d60
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00414d60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00414d60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545b50
mov esp, ebp
pop ebp
ret 0x28