Function at 0x52db80
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Encrypt data using rc4 ksa
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ddbb4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xfc
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
mov eax, dword [0x60f3c8]
mov ecx, dword [0x60f344]
mov edx, dword [0x60f3c4]
mov dword [esp + 0x38], eax
mov eax, dword [0x60f3c0]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x60f3bc]
mov dword [esp + 0x48], edx
mov edx, dword [0x60f3b8]
mov dword [esp + 0x50], eax
mov eax, dword [str.__r__f__v__a_]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x60f3b0]
mov dword [esp + 0x60], edx
mov edx, dword [0x60f3ac]
mov dword [esp + 0x68], eax
mov eax, dword [0x60f3a8]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x60f3a4]
mov dword [esp + 0x78], edx
mov edx, dword [0x60f3a0]
mov dword [esp + 0x80], eax
mov eax, dword [0x60f39c]
mov dword [esp + 0x88], ecx
mov ecx, dword [0x60f398]
mov dword [esp + 0x90], edx
mov edx, dword [0x60f394]
mov dword [esp + 0x98], eax
mov eax, dword [0x60f390]
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x60f38c]
mov dword [esp + 0xa8], edx
mov edx, dword [0x60f388]
mov dword [esp + 0xb0], eax
mov eax, dword [0x60f384]
mov dword [esp + 0xb8], ecx
mov ecx, dword [0x60f380]
mov dword [esp + 0xc0], edx
mov edx, dword [0x60f37c]
mov dword [esp + 0xc8], eax
mov eax, dword [0x60f378]
mov dword [esp + 0xd0], ecx
mov ecx, dword [0x60f374]
mov dword [esp + 0xd8], edx
mov dx, word [0x60f370]
mov dword [esp + 0xe0], eax
mov al, byte [0x60f372]
xor ebx, ebx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xcc], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xec], ebx
mov word [esp + 0xf0], dx
mov byte [esp + 0xf2], al
xor ecx, ecx
mov dx, word [0x60f36c]
mov al, byte [0x60f36e]
mov dword [esp + 0xf3], ecx
mov word [esp + 0xf8], dx
mov dx, word [0x60f368]
mov byte [esp + 0xf7], cl
mov dword [esp + 0xfb], ecx
mov byte [esp + 0xfa], al
mov al, byte [0x60f36a]
mov byte [esp + 0xff], cl
mov word [esp + 0x100], dx
mov dl, byte [esp + 0x37]
mov dword [esp + 0x103], ecx
mov byte [esp + 0x102], al
mov byte [esp + 0x107], cl
mov byte [esp + 0x1c], dl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
push 5
lea ecx, [ebp + 8]
mov byte [esp + 0x114], 1
call fcn.00558380
cmp al, 0x17
lea ecx, [ebp + 8]
sbb eax, eax
neg eax
add eax, 2
push eax
push 5
call fcn.00558380
and eax, 0xff
lea ecx, [esp + 0x30]
lea eax, [esp + eax*8 + 0x3c]
push eax
call fcn.00558100
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 2
call fcn.00558060
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
mov byte [esp + 0x110], 3
mov dword [esp + 0x30], eax
mov edi, ecx
mov esi, eax
je 0x52de44
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x52de36
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x2c]
mov dword [esp + 0x24], ecx
lea esi, [edi + 0x58]
push edx
mov ecx, esi
call fcn.00558440
test al, al
je 0x52de7b
push 5
lea ecx, [ebp + 8]
call fcn.00558380
movzx ax, al
cmp word [ebp + 0x28], ax
jne 0x52df35
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x10], esp
push edx
call fcn.00558070
mov ecx, esi
call fcn.00558390
lea eax, [esp + 0x1c]
lea edx, [esp + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
call fcn.00558070
mov ecx, 0x626b00
call fcn.00517240
cmp byte [0x619c14], bl
je 0x52e006
lea ecx, [esp + 0x30]
call fcn.00558060
mov byte [esp + 0x110], 4
mov esi, 0xff
call fcn.005bd3bd
cdq
mov ecx, 0xff
idiv ecx
lea ecx, [esp + 0x30]
inc edx
push edx
call fcn.00558500
dec esi
jne 0x52ded5
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x30]
push edx
push 1
push eax
lea ecx, [esp + 0x28]
call fcn.00402a90
lea ecx, [esp + 0x30]
mov byte [esp + 0x110], 3
call fcn.005581a0
push ebx
lea ecx, [esp + 0x20]
call fcn.00402a80
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
call fcn.00558070
lea ecx, [edi + 0x5c]
call fcn.00558390
push ecx
add edi, 0x5c
mov ecx, esp
mov dword [esp + 0x10], esp
push edi
call fcn.00558070
lea ecx, [esp + 0x14]
call fcn.00558390
lea ecx, [esp + 0x10]
call fcn.00558520
cmp ax, 4
jge 0x52e0b5
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 2
call fcn.005581a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x110], 1
call fcn.005581a0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov byte [esp + 0x110], bl
mov edi, eax
je 0x52dfaa
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x52df98
mov esi, dword [esp + 0x20]
push esi
call fcn.005bc500
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
cmp esi, eax
mov dword [esp + 0x110], 8
mov edi, eax
je 0x52dfe7
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x52dfd6
mov esi, dword [ebp + 0x18]
push esi
call fcn.005bc500
add esp, 4
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov byte [esp + 0x110], 7
jmp 0x52e688
cmp ax, 1
jge 0x52df16
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 2
call fcn.005581a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x110], 1
call fcn.005581a0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov byte [esp + 0x110], bl
mov edi, eax
je 0x52e059
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x52e047
mov esi, dword [esp + 0x20]
push esi
call fcn.005bc500
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
cmp esi, eax
mov dword [esp + 0x110], 6
mov edi, eax
je 0x52e096
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x52e085
mov esi, dword [ebp + 0x18]
push esi
call fcn.005bc500
add esp, 4
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov byte [esp + 0x110], 5
jmp 0x52e688
push 5
lea ecx, [ebp + 8]
call fcn.00558380
and eax, 0xff
cmp eax, 0x19
ja case.default.0x52e0cd
jmp dword [eax*4 + 0x52e6bc]
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e7b08]
jmp 0x52e5d1
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
sub eax, 0x28
mov edx, dword [ebp + 0x24]
push eax
push 0x609488
push edx
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x52e0cd
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e6280]
fsub qword [0x5e62a0]
jmp 0x52e533
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e6280]
fsub qword [0x5e62a0]
jmp 0x52e5d1
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
jmp 0x52e10a
push 4
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
push 3
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
fild dword [esp + 0x10]
fmul qword [0x5e62c8]
fstp qword [esp + 0x18]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e62b8]
fadd qword [esp + 0x14]
jmp 0x52e533
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e53c0]
fsub qword [0x5e62b8]
jmp 0x52e3d0
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
sub eax, 0x28
push eax
mov eax, dword [ebp + 0x24]
push 0x609488
push eax
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x52e0cd
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e6258]
jmp 0x52e5d1
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
mov dl, al
push 4
and edx, 0xff
lea ecx, [esp + 0x14]
shl edx, 8
mov dword [esp + 0x10], edx
call fcn.00558380
mov edx, dword [esp + 0xc]
and eax, 0xff
add edx, eax
mov eax, dword [ebp + 0x24]
push edx
push 0x609488
push eax
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x52e0cd
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
mov ecx, dword [ebp + 0x24]
and eax, 0xff
push eax
push 0x609488
push ecx
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x52e0cd
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
push 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
fild dword [esp + 0x10]
fmul qword [0x5e5a28]
fstp qword [esp + 0x18]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e7bc0]
fadd qword [esp + 0x14]
jmp 0x52e3d0
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e7b08]
jmp 0x52e533
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e7b08]
jmp 0x52e5d1
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e7bb8]
jmp 0x52e3d0
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
push eax
mov eax, dword [ebp + 0x24]
push 0x609488
push eax
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x52e0cd
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
mov ecx, dword [ebp + 0x24]
and eax, 0xff
sub eax, 0x28
push eax
push 0x609488
push ecx
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x52e0cd
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e7b08]
mov edx, dword [ebp + 0x24]
sub esp, 8
fstp qword [esp]
push str._.2f
push edx
jmp 0x52e5e0
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e5180]
jmp 0x52e533
push 4
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
push 3
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
fild dword [esp + 0x10]
fmul qword [0x5e7bb0]
fstp qword [esp + 0x18]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e7ba8]
fadd qword [esp + 0x14]
jmp 0x52e5d1
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
mov edx, dword [ebp + 0x24]
mov dword [esp + 0xc], eax
sub esp, 8
fild dword [esp + 0x14]
fmul qword [0x5e5198]
fstp qword [esp]
push str._.1f
push edx
jmp 0x52e5e0
push 3
lea ecx, [esp + 0x14]
call fcn.00558380
mov dl, al
push 4
and edx, 0xff
lea ecx, [esp + 0x14]
shl edx, 8
mov dword [esp + 0x10], edx
call fcn.00558380
mov ecx, dword [esp + 0xc]
mov edx, dword [ebp + 0x24]
and eax, 0xff
add ecx, eax
push ecx
push str._.2f
push edx
call fcn.005bcf3d
add esp, 0xc
jmp case.default.0x52e0cd
push 5
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
push 3
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
fild dword [esp + 0x10]
fmul qword [0x5e7ba0]
fstp qword [esp + 0x18]
call fcn.00558380
and eax, 0xff
push 4
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
fild dword [esp + 0x10]
fmul qword [0x5e7b98]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e7b90]
fadd qword [esp + 0x14]
mov eax, dword [ebp + 0x24]
sub esp, 8
fstp qword [esp]
push str._.2f
push eax
jmp 0x52e5e0
push 5
lea ecx, [esp + 0x14]
call fcn.00558380
and eax, 0xff
push 4
shl eax, 0xe
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
fild dword [esp + 0x10]
fstp qword [esp + 0x18]
call fcn.00558380
and eax, 0xff
push 2
shl eax, 6
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
fild dword [esp + 0x10]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
call fcn.00558380
and eax, 0xff
push 3
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
fild dword [esp + 0x10]
fmul qword [0x5e79d8]
fadd qword [esp + 0x18]
fstp qword [esp + 0x18]
call fcn.00558380
and eax, 0xff
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fmul qword [0x5e62c8]
fadd qword [esp + 0x14]
mov ecx, dword [ebp + 0x24]
sub esp, 8
fstp qword [esp]
push str._.2f
push ecx
call fcn.005bcf3d
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x110], 2
call fcn.005581a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x110], 1
call fcn.005581a0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
cmp esi, eax
mov byte [esp + 0x110], bl
mov edi, eax
je 0x52e631
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x52e61f
mov esi, dword [esp + 0x20]
push esi
call fcn.005bc500
add esp, 4
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
cmp esi, eax
mov dword [esp + 0x110], 0xa
mov edi, eax
je 0x52e66e
mov ecx, esi
call fcn.005581a0
add esi, 4
cmp esi, edi
jne 0x52e65d
mov esi, dword [ebp + 0x18]
push esi
call fcn.005bc500
add esp, 4
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], ebx
mov byte [esp + 0x110], 9
lea ecx, [ebp + 0x10]
call fcn.005581a0
lea ecx, [ebp + 8]
mov dword [esp + 0x110], 0xffffffff
call fcn.005581a0
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x24