Function at 0x100022e0
Capabilities:
Access peb ldr_data
Create directory
Get kernel32 base address
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009c14
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x100112a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x254], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 0x280], eax
mov dword [eax + 4], 0
lea esi, [eax + 0x18]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x274], esi
mov word [esi], cx
lea ebx, [eax + 0x30]
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], ecx
mov word [ebx], ax
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0x10000000
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x21c], ax
jne 0x100023b4
xor ecx, ecx
jmp 0x100023cf
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100023c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.10007770
lea eax, [ebp - 0x234]
cmp esi, eax
je 0x1000241d
cmp dword [esi + 0x14], 8
jb 0x100023fc
push dword [esi]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
lea eax, [ebp - 0x234]
push eax
mov ecx, esi
call fcn.100055c0
cmp dword [ebp - 0x220], 8
jb 0x10002434
push dword [ebp - 0x234]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [ebp - 0x21c], ax
jne 0x1000245e
xor ecx, ecx
jmp 0x10002476
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10002467
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.10007770
lea eax, [ebp - 0x234]
cmp ebx, eax
je 0x100024c4
cmp dword [ebx + 0x14], 8
jb 0x100024a3
push dword [ebx]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
mov word [ebx], ax
lea eax, [ebp - 0x234]
push eax
mov ecx, ebx
call fcn.100055c0
cmp dword [ebp - 0x220], 8
jb 0x100024db
push dword [ebp - 0x234]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
push str.shell32.dll
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x26c], eax
mov eax, dword [0x10011254]
mov ecx, 0x10011254
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x25c], edi
mov eax, dword [0x10011254]
mov ecx, 0x10011254
mov byte [ebp - 4], 4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x268], esi
push 0
push 0xd3
mov byte [ebp - 4], 5
call fcn.100044e0
add esp, 8
test eax, eax
je 0x1000254e
push 0xd3
push eax
lea ecx, [ebp - 0x25c]
call fcn.10004fd0
mov edi, dword [ebp - 0x25c]
push 0
push 0xd4
call fcn.100044e0
add esp, 8
test eax, eax
je 0x10002578
push 0xd4
push eax
lea ecx, [ebp - 0x268]
call fcn.10004fd0
mov esi, dword [ebp - 0x268]
mov eax, dword [ebp - 0x26c]
test eax, eax
je 0x100027f3
push str.SHGetKnownFolderPath
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x100027e1
push 0x104
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 4
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x258]
push eax
push 0
push 0
push 0x1000b9b0
call dword [ebp - 0x264]
test eax, eax
js 0x100027af
push dword [ebp - 0x258]
lea ecx, [ebp - 0x234]
call fcn.10002280
push eax
mov ecx, ebx
call fcn.100030c0
cmp dword [ebp - 0x220], 8
jb 0x10002602
push dword [ebp - 0x234]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0x1000b3c8
lea ecx, [ebp - 0x260]
call fcn.10002980
mov eax, dword [eax]
mov byte [ebp - 4], 6
test eax, eax
je 0x10002620
mov eax, dword [eax]
jmp 0x10002622
xor eax, eax
lea ecx, [ebp - 0x268]
push ecx
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.10003370
add esp, 0xc
push 0x1000b3c8
push eax
lea eax, [ebp - 0x270]
push eax
mov byte [ebp - 4], 7
call fcn.10003290
add esp, 0xc
lea ecx, [ebp - 0x25c]
push ecx
push eax
lea eax, [ebp - 0x264]
push eax
mov byte [ebp - 4], 8
call fcn.100031d0
add esp, 0xc
push dword [eax]
mov ecx, ebx
mov byte [ebp - 4], 9
call fcn.10003da0
mov edx, dword [ebp - 0x264]
add edx, 0xfffffff0
or ebx, 0xffffffff
mov byte [ebp - 4], 8
lea ecx, [edx + 0xc]
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100026a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
mov byte [ebp - 4], 7
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100026c3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x27c]
add edx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100026e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 5
call fcn.10002fe0
mov eax, dword [ebp - 0x254]
add eax, 0x30
cmp dword [eax + 0x14], 8
jb 0x10002706
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
js 0x100027b2
mov eax, dword [ebp - 0x254]
add eax, 0x30
push str.Worker.dll
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.100016a0
add esp, 0xc
mov dword [ebp - 0x260], eax
push str.Worker.dll
push dword [ebp - 0x274]
lea eax, [ebp - 0x234]
push eax
mov byte [ebp - 4], 0xa
call fcn.100016a0
mov ecx, dword [ebp - 0x260]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x10002769
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x10002771
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x234]
call fcn.10002d00
lea ecx, [ebp - 0x24c]
call fcn.10002d00
push dword [ebp - 0x258]
call dword [sym.imp.MSVCR110.dll_free]
mov eax, dword [ebp - 0x26c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100027f6
or ebx, 0xffffffff
push dword [ebp - 0x258]
call dword [sym.imp.MSVCR110.dll_free]
mov eax, dword [ebp - 0x26c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100027f6
mov eax, dword [ebp - 0x26c]
push eax
or ebx, 0xffffffff
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x100027f6
or ebx, 0xffffffff
add esi, 0xfffffff0
mov byte [ebp - 4], 4
lea eax, [esi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10002813
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edi + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10002830
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x254]
lea eax, [esi + 0x30]
push eax
lea eax, [esi + 0x18]
push eax
lea eax, [ebp - 0x24d]
push eax
lea eax, [ebp - 0x278]
push 1
push eax
mov dword [ebp - 4], 2
mov byte [ebp - 0x24d], 0
call fcn.10001e40
mov ecx, dword [ebp - 0x278]
add esp, 0x14
test ecx, ecx
je 0x1000288e
lea eax, [ecx + 4]
lock xadd dword [eax], ebx
dec ebx
jne 0x1000288e
mov edi, dword [ecx + 0x28]
test edi, edi
je 0x10002888
mov edx, dword [edi]
push ecx
mov ecx, edi
call dword [edx]
jmp 0x1000288e
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10008e20
mov esp, ebp
pop ebp
ret