Function at 0x100052dc
Capabilities:
Check for peb beingdebugged flag
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x204
lea ebp, [esp + 0x5c]
push 0xd
push 0x1005495a
push ebp
call fcn.10014844
add esp, 0xc
cmp dword [ebp], 0x80000001
jne 0x10005772
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
lea esi, [esp + 0x13c]
mov dword [esi], eax
mov dword [esi + 4], ecx
push esi
call fcn.10014918
add esp, 4
test al, al
je 0x10005772
push esi
call fcn.10014918
add esp, 4
test al, al
je 0x10005779
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp byte [eax + 2], 0
jne 0x10005772
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov edi, eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov esi, eax
xor esi, edi
mov ecx, 0xba2e8ba3
mov eax, esi
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
lea eax, [edx + eax*2]
sub esi, eax
lea eax, [esp + 0x10]
mov dword [eax], esi
mov ebx, dword [sym.imp.kernel32.dll_GetCurrentThread]
call ebx
mov edi, dword [sym.imp.kernel32.dll_SetThreadPriority]
push 0xf
push eax
call edi
imul eax, esi, 0x3e8
push eax
call dword [sym.imp.kernel32.dll_Sleep]
call ebx
xor ebx, ebx
push ebx
push eax
call edi
lea edi, [esp + 0x150]
lea eax, [esp + 0x10]
mov dword [edi], eax
mov dword [edi + 4], fcn.100444a0
lea esi, [esp + 0x5c]
mov dword [esi], 0x1005454c
mov dword [esi + 4], 2
mov dword [esi + 0x10], ebx
mov dword [esi + 8], edi
xor eax, eax
inc eax
mov dword [esi + 0xc], eax
push ebp
call fcn.1001f2c0
add esp, 4
push edi
call fcn.1000cb8b
add esp, 4
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x114], eax
mov eax, dword [edi + 0x50]
mov dword [esp + 0x110], eax
lea edi, [esp + 0x50]
push edi
call fcn.1000d6a3
add esp, 4
mov ebp, dword [edi + 4]
mov ecx, dword [edi + 8]
mov dword [esp + 4], ebx
xor edx, edx
inc edx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov eax, 0x2e
mov dword [esi], eax
mov dword [esi + 4], ebp
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ebx
mov dword [esp], ecx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
lea edi, [esp + 0x10]
mov ecx, edi
mov edx, esi
call fcn.10002453
mov esi, 0
cmp dword [edi], ebx
je 0x10005493
xor eax, eax
lea edi, [esp + 4]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea edx, [eax + ebp]
sub ecx, eax
push ecx
push edx
push edi
call fcn.10010137
add esp, 0xc
push 1
push 0x1005455c
push edi
call fcn.10010137
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x5c]
call fcn.10002453
cmp dword [esp + 0x10], 0
mov eax, esi
jne 0x10005455
add ebp, esi
mov eax, dword [esp]
sub eax, esi
lea edi, [esp + 4]
push eax
push ebp
push edi
call fcn.10010137
add esp, 0xc
mov esi, dword [edi + 8]
mov dword [esp + 0x34], esi
movsd xmm0, qword [edi]
movsd qword [esp + 0x2c], xmm0
mov ebp, dword [esp + 0x30]
mov dword [edi], ebx
xor ecx, ecx
inc ecx
mov dword [edi + 4], ecx
mov dword [edi + 8], ebx
mov eax, 0x2b
lea edx, [esp + 0x5c]
mov dword [edx], eax
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebx
mov dword [esp], esi
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], eax
lea esi, [esp + 0x10]
mov ecx, esi
call fcn.10002453
cmp dword [esi], ebx
je 0x1000553a
xor eax, eax
lea esi, [esp + 0x5c]
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
lea edx, [eax + ebp]
sub ecx, eax
push ecx
push edx
push edi
call fcn.10010137
add esp, 0xc
push 1
push 0x1005455d
push edi
call fcn.10010137
add esp, 0xc
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.10002453
cmp dword [esp + 0x10], 0
mov eax, ebx
jne 0x100054fe
add ebp, ebx
mov eax, dword [esp]
sub eax, ebx
push eax
push ebp
push edi
call fcn.10010137
add esp, 0xc
mov esi, dword [esp + 0xc]
mov dword [esp + 0x4c], esi
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x44], xmm0
mov ebp, dword [esp + 0x48]
xor ebx, ebx
mov dword [esp + 4], ebx
xor ecx, ecx
inc ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov eax, 0x2f
lea edx, [esp + 0x5c]
mov dword [edx], eax
mov dword [edx + 4], ebp
mov dword [edx + 8], esi
mov dword [edx + 0xc], ebx
mov dword [esp], esi
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], eax
lea ebx, [esp + 0x10]
mov ecx, ebx
call fcn.10002453
mov esi, 0
mov dword [esp + 0x28], 0
xor eax, eax
cmp dword [ebx], eax
je 0x100055f5
xor eax, eax
lea ebx, [esp + 0x5c]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
lea edx, [eax + ebp]
sub ecx, eax
push ecx
push edx
push edi
call fcn.10010137
add esp, 0xc
push 1
push 0x1005455e
push edi
call fcn.10010137
add esp, 0xc
lea ecx, [esp + 0x10]
mov edx, ebx
call fcn.10002453
cmp dword [esp + 0x10], 0
mov eax, esi
jne 0x100055b9
add ebp, esi
mov eax, dword [esp]
sub eax, esi
push eax
push ebp
push edi
call fcn.10010137
add esp, 0xc
mov eax, dword [esp + 0xc]
mov dword [esp + 0x120], eax
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x118], xmm0
lea esi, [esp + 0x44]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
lea esi, [esp + 0x2c]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
lea esi, [esp + 0x50]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
push 0x1a64c7ea
call fcn.10003b36
add esp, 4
test eax, eax
mov ebp, edi
jne 0x1000570f
lea eax, [0x1004aa3f]
lea ecx, [esp + 0x5c]
mov dword [ecx], eax
mov eax, dword [ecx]
mov dword [ecx], 0xc83e405b
lea esi, [esp + 0x5c]
push dword [esi]
push eax
call fcn.10007730
add esp, 8
xor ecx, ecx
mov dword [esi + 4], ecx
mov dword [esi], ecx
mov dl, 1
lea edi, [esp + 0x10]
mov esi, dword [ecx + 0x1005455f]
xor esi, dword [eax + ecx]
mov dword [esp + ecx + 0x5c], esi
mov ecx, 4
test dl, 1
mov edx, 0
jne 0x100056aa
movzx ecx, byte [eax + 0xa]
movzx eax, word [eax + 8]
xor eax, 0x4006
mov word [esp + 0x64], ax
xor cl, 0xf3
mov byte [esp + 0x66], cl
movsd xmm0, qword [esp + 0x5c]
movsd qword [esp + 0x10], xmm0
mov eax, dword [esp + 0x63]
mov dword [esp + 0x17], eax
push 0xb
push edi
call fcn.1000d642
add esp, 8
mov dword [esp + 0x28], eax
push 0x1a64c7ea
call fcn.10003b36
add esp, 4
push 0x60ee77b6
push eax
call fcn.10003bab
add esp, 8
mov dword [esp], eax
mov esi, 7
push 0
push esi
call fcn.100101fa
add esp, 8
mov dword [edx], 0x44505041
mov dword [edx + 3], 0x41544144
lea ecx, [esp + 0x144]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ecx + 8], esi
push ecx
lea esi, [esp + 0x60]
push esi
call fcn.100014b0
add esp, 8
cmp dword [esp + 0x5c], 0x80000001
jne 0x1000578a
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
jmp 0x100057db
push 0
call fcn.10023300
push 0x10054990
push 0x27
push 0x10054967
call fcn.10053850
push 0
push 7
call fcn.100101fa
add esp, 8
mov ebx, eax
mov edi, edx
mov dword [edx], 0x6e6b6e55
mov dword [edx + 3], 0x6e776f6e
cmp dword [esp + 0x5c], 0x80000001
jne 0x100057cd
lea esi, [esp + 0x60]
push esi
call fcn.10001590
add esp, 4
push esi
lea esi, [esp + 0x60]
call fcn.10010490
add esp, 4
jmp 0x100057d6
lea ecx, [esp + 0x5c]
call fcn.10001591
mov eax, 7
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], edi
mov dword [esp + 0x12c], eax
mov edi, dword [esp]
test edi, edi
jne 0x1000580f
cmp dword [esp + 0x28], 0xffffffff
jne 0x10005f2d
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_FreeLibrary]
jmp 0x10005f2d
lea eax, [esp + 0x124]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x10001fc0
mov dword [esp + 0x5c], 0x1005456c
mov dword [esp + 0x60], 2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 1
push esi
lea ebx, [esp + 0x14]
push ebx
call fcn.1003b790
add esp, 8
push dword [esp + 0x14]
call edi
mov edi, eax
push ebx
call fcn.10001590
add esp, 4
push ebx
call fcn.10010490
add esp, 4
test edi, edi
je 0x100059a8
lea eax, [esp + 0x124]
mov dword [esp + 0x10], eax
mov eax, 0x10001fc0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x118]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], 0x10054588
mov eax, 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
push esi
push ebp
call fcn.1003b790
add esp, 8
mov byte [esp + 0x5c], 0
push dword [esp + 0xc]
push dword [esp + 0xc]
push esi
lea eax, [esp + 0x38]
push eax
call fcn.1001da90
add esp, 0x10
cmp byte [esp + 0x2c], 4
jne 0x10005946
cmp dword [esp + 0x28], 0xffffffff
jne 0x100058f5
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea edi, [esp + 4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x10001fc0
mov dword [esp + 0x5c], 0x100545c8
mov dword [esp + 0x60], 2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 1
lea eax, [esp + 0x38]
push esi
push eax
call fcn.1003b790
add esp, 8
push edi
call fcn.10001590
add esp, 4
push edi
jmp 0x10005de6
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 0x50], xmm0
lea edi, [esp + 0x50]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x1001e280
mov dword [esp + 0x5c], 0x100545b4
mov dword [esp + 0x60], 2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 1
push esi
call fcn.1001f3d0
add esp, 4
mov ecx, edi
call fcn.100014e0
push ebp
call fcn.10001590
add esp, 4
push ebp
call fcn.10010490
add esp, 4
mov esi, 0xb
push 0
push esi
call fcn.100101fa
add esp, 8
mov dword [edx], 0x52455355
mov dword [edx + 4], 0x464f5250
mov dword [edx + 7], 0x454c4946
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
lea esi, [esp + 0x5c]
lea eax, [esp + 0x44]
push eax
push esi
call fcn.100014b0
add esp, 8
cmp dword [esp + 0x5c], 0x80000001
jne 0x10005a02
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
jmp 0x10005a53
push 0
push 7
call fcn.100101fa
add esp, 8
mov ebx, eax
mov edi, edx
mov dword [edx], 0x6e6b6e55
mov dword [edx + 3], 0x6e776f6e
cmp dword [esp + 0x5c], 0x80000001
jne 0x10005a45
lea esi, [esp + 0x60]
push esi
call fcn.10001590
add esp, 4
push esi
lea esi, [esp + 0x60]
call fcn.10010490
add esp, 4
jmp 0x10005a4e
lea ecx, [esp + 0x5c]
call fcn.10001591
mov eax, 7
lea ecx, [esp + 0x130]
mov dword [ecx], ebx
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x10001fc0
mov dword [esp + 0x5c], 0x1005456c
mov dword [esp + 0x60], 2
mov dword [esp + 0x6c], 0
lea ebp, [esp + 4]
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], 1
push esi
lea ebx, [esp + 0x14]
push ebx
call fcn.1003b790
add esp, 8
push dword [esp + 0x14]
call dword [esp + 4]
mov edi, eax
push ebx
call fcn.10001590
add esp, 4
push ebx
call fcn.10010490
add esp, 4
test edi, edi
je 0x10005bd6
lea eax, [esp + 0x130]
mov dword [esp + 0x10], eax
mov eax, 0x10001fc0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x118]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], 0x100545c8
mov eax, 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
push esi
push ebp
call fcn.1003b790
add esp, 8
mov byte [esp + 0x10], 0
push dword [esp + 0xc]
push dword [esp + 0xc]
push ebx
push esi
call fcn.1001da90
add esp, 0x10
cmp byte [esp + 0x5c], 4
jne 0x10005b94
cmp dword [esp + 0x28], 0xffffffff
jne 0x10005b43
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea edi, [esp + 4]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0x10001fc0
mov dword [esp + 0x5c], 0x100545c8
mov dword [esp + 0x60], 2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 1
lea eax, [esp + 0x38]
push esi
push eax
call fcn.1003b790
add esp, 8
push edi
call fcn.10001590
add esp, 4
push edi
jmp 0x10005dcd
lea edi, [esp + 0x5c]
mov ecx, edi
call fcn.100014e0
mov dword [edi], str.Failed_create_temp_dir.._n_n
mov dword [edi + 4], 1
xor eax, eax
mov dword [edi + 0x10], eax
mov dword [edi + 8], 0x100542f4
mov dword [edi + 0xc], eax
push edi
call fcn.1001f3d0
add esp, 4
push ebp
call fcn.10001590
add esp, 4
push ebp
call fcn.10010490
add esp, 4
mov esi, 4
push 0
push esi
call fcn.100101fa
add esp, 8
mov dword [edx], 0x504d4554
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
lea esi, [esp + 0x5c]
lea eax, [esp + 0x50]
push eax
push esi
call fcn.100014b0
add esp, 8
cmp dword [esp + 0x5c], 0x80000001
jne 0x10005c26
lea edi, [esp + 4]
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
mov eax, dword [esp + 0x68]
jmp 0x10005c7f
push 0
push 7
call fcn.100101fa
add esp, 8
mov ebp, eax
mov ebx, edx
mov dword [edx], 0x6e6b6e55
mov dword [edx + 3], 0x6e776f6e
cmp dword [esp + 0x5c], 0x80000001
jne 0x10005c6d
lea edi, [esp + 4]
lea esi, [esp + 0x60]
push esi
call fcn.10001590
add esp, 4
push esi
lea esi, [esp + 0x60]
call fcn.10010490
add esp, 4
jmp 0x10005c7a
lea edi, [esp + 4]
lea ecx, [esp + 0x5c]
call fcn.10001591
mov eax, 7
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
lea ebp, [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp + 8], 0x10001fc0
mov dword [esp + 0x5c], 0x1005456c
mov dword [esp + 0x60], 2
mov dword [esp + 0x6c], 0
mov ebp, edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], 1
push esi
lea ebx, [esp + 0x14]
push ebx
call fcn.1003b790
add esp, 8
push dword [esp + 0x14]
call dword [esp + 4]
mov edi, eax
push ebx
call fcn.10001590
add esp, 4
push ebx
call fcn.10010490
add esp, 4
test edi, edi
je 0x10005f2d
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], eax
mov eax, 0x10001fc0
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x118]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], 0x100545c8
mov eax, 2
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], eax
push esi
push ebp
call fcn.1003b790
add esp, 8
mov byte [esp + 0x10], 0
push dword [esp + 0xc]
push dword [esp + 0xc]
push ebx
push esi
call fcn.1001da90
add esp, 0x10
cmp byte [esp + 0x5c], 4
jne 0x10005eeb
cmp dword [esp + 0x28], 0xffffffff
jne 0x10005d6f
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_FreeLibrary]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0x10001fc0
mov dword [esp + 0x5c], 0x1005456c
mov dword [esp + 0x60], 2
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], 1
lea eax, [esp + 0x38]
push esi
push eax
call fcn.1003b790
add esp, 8
push ebp
call fcn.10001590
add esp, 4
push ebp
call fcn.10010490
add esp, 4
lea esi, [esp + 0x2c]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
lea esi, [esp + 0x130]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
lea esi, [esp + 0x124]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
lea esi, [esp + 0x118]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
push dword [esp + 0x110]
push dword [esp + 0x118]
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.100163e8
add esp, 0x10
test al, al
je 0x10005e5f
lea esi, [esp + 0x38]
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
push 0xffffffffffffffff
call fcn.10023300
lea esi, [esp + 0x174]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x64], eax
movsd xmm0, qword [esp + 0x38]
movsd qword [esp + 0x5c], xmm0
push esi
call fcn.10001590
add esp, 4
push esi
call fcn.10010490
add esp, 4
mov eax, dword [esp + 0x64]
mov dword [esi + 8], eax
movsd xmm0, qword [esp + 0x5c]
movsd qword [esi], xmm0
lea esi, [esp + 0x150]
push esi
lea ebx, [esp + 0x60]
push ebx
call fcn.10007969
add esp, 8
cmp dword [esp + 0x5c], 0x80000000
je 0x10005f2d
movsd xmm0, qword [esp + 0x6c]
lea edi, [esp + 0x10]
movsd qword [edi + 0x10], xmm0
movups xmm0, xmmword [esp + 0x5c]
movups xmmword [edi], xmm0
push 0xb4
push esi
push ebx
call fcn.10045a70
add esp, 0xc
mov ecx, edi
mov edx, ebx
call fcn.10003c8d
lea edi, [esp + 0x5c]
mov ecx, edi
call fcn.100014e0
mov dword [edi], str.Failed_create_temp_dir.._n_n
mov dword [edi + 4], 1
xor eax, eax
mov dword [edi + 0x10], eax
mov dword [edi + 8], 0x100542f4
mov dword [edi + 0xc], eax
push edi
call fcn.1001f3d0
add esp, 4
push ebp
call fcn.10001590
add esp, 4
push ebp
call fcn.10010490
add esp, 4
push 1
call fcn.10023300