Function at 0x10002d23
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
sub esp, 0x13c
lea ebp, [esp - 4]
mov eax, dword [0x1002b030]
xor eax, ebp
mov dword [ebp + 0x13c], eax
push 0x64
mov eax, 0x1002182f
call fcn.1001c560
mov esi, dword [ebp + 0x148]
mov eax, dword [0x1002c508]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], ebx
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov ecx, edi
call dword [eax + 0x24]
cmp eax, ebx
jne 0x10003191
mov eax, dword [0x1002c508]
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 1
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x28]
push ecx
mov ecx, edi
call dword [eax + 0x20]
cmp eax, ebx
jne 0x1000314d
mov eax, dword [edi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov byte [ebp - 4], 2
push 0x10025d50
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000220e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
push ecx
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.10001322
mov byte [ebp - 4], 4
push 0x10025d4c
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000220e
mov byte [ebp - 4], 5
lea ebx, [edi + 0x10]
mov ecx, ebx
mov dword [ebp - 0x38], ebx
call fcn.10001255
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.1000114e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
call fcn.1000114e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.1000114e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000114e
push str.lri_v
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002262
mov byte [ebp - 4], 6
push str..dll
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000220e
mov byte [ebp - 4], 7
lea esi, [edi + 0xc]
mov ecx, esi
call fcn.10001255
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.1000114e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.1000114e
mov edi, dword [0x1002ebfc]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100076c0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
call dword [eax + 4]
push esi
push ebx
lea eax, [ebp - 0x14]
push eax
call fcn.10001322
mov byte [ebp - 4], 9
mov ebx, dword [ebp - 0x30]
lea esi, [ebx + 0x14]
mov ecx, esi
call fcn.10001255
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.1000114e
push 0x88
call fcn.1000a70a
pop ecx
push dword [esi]
lea edi, [ebp - 0x18]
mov dword [ebp - 0x14], eax
call fcn.100020b6
mov byte [ebp - 4], 0xa
call fcn.1000215f
push eax
lea ecx, [ebp]
call fcn.10003789
mov byte [ebp - 4], 0xc
call fcn.1000211f
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x10002ef4
lea eax, [ebp + 4]
mov edi, dword [ebp - 0x14]
push 0x4000
push edi
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp word [edi + 2], 0
jne 0x10002f17
mov dword [ebp - 0x20], 0x1774
jmp 0x10003117
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10002f42
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x10002f42
mov dword [ebp - 0x20], 0xfffffb4f
jmp 0x10003117
push dword [esi]
lea edi, [ebp - 0x18]
mov byte [ebp - 0xd], 0
call fcn.100020b6
mov byte [ebp - 4], 0xd
call fcn.1000215f
push eax
lea ecx, [ebp + 0x1c]
call fcn.10003789
mov byte [ebp - 4], 0xf
call fcn.1000211f
mov eax, dword [ebp - 0x3c]
dec eax
je 0x10003079
dec eax
je 0x10002fa6
mov ebx, str.Unknown_Section_
lea esi, [ebp - 0x40]
call fcn.1000117a
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
push 0
mov edx, esi
push edx
call dword [eax + 0x44]
mov byte [ebp - 4], 0xf
mov ecx, esi
call fcn.1000114e
jmp 0x10003107
push 0x103
lea eax, [ebp + 0x39]
push 0
push eax
mov byte [ebp + 0x38], 0
call fcn.1000a260
add esp, 0xc
push 0x104
lea eax, [ebp + 0x38]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, dword [ebx]
lea ecx, [ebp + 0x38]
push ecx
mov ecx, ebx
call dword [eax + 0x10]
mov esi, eax
push esi
call fcn.10009421
push esi
mov edi, eax
push 0
push edi
call fcn.1000a260
mov eax, dword [ebx]
add esp, 0x10
push 0
push esi
push edi
lea ecx, [ebp + 0x38]
push ecx
mov ecx, ebx
call dword [eax + 0x38]
test eax, eax
jne 0x10003070
and dword [ebp - 0x24], eax
and dword [ebp - 0x1c], eax
mov eax, dword [ebx]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
push ecx
push esi
push edi
mov ecx, ebx
call dword [eax + 0x40]
test eax, eax
jne 0x10003070
mov ebx, str.Create_Decrypt_Dll_
lea esi, [ebp - 0x44]
call fcn.1000117a
mov byte [ebp - 4], 0x11
mov esi, dword [ebp - 0x30]
mov eax, dword [esi]
push 0
lea ecx, [ebp - 0x44]
push ecx
mov ecx, esi
call dword [eax + 0x44]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x44]
call fcn.1000114e
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x10003057
lea eax, [ebp + 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, dword [esi]
push 0
push dword [ebp - 0x1c]
add ecx, edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x3c]
test eax, eax
setne byte [ebp - 0xd]
push edi
call fcn.10009426
pop ecx
jmp 0x100030ef
mov eax, dword [ebx]
and dword [ebp - 0x1c], 0
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push str..lri
push dword [ebp - 0x24]
mov ecx, ebx
call dword [eax + 0x14]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x10003107
mov ebx, str.Create_Decrypt_Dll_
lea esi, [ebp - 0x2c]
call fcn.1000117a
mov byte [ebp - 4], 0x10
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x44]
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x2c]
call fcn.1000114e
cmp dword [ebp + 0x34], 0x10
mov eax, dword [ebp + 0x20]
jae 0x100030d9
lea eax, [ebp + 0x20]
mov edx, dword [esi]
push 0
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp - 0x18]
push eax
call dword [edx + 0x3c]
test eax, eax
setne byte [ebp - 0xd]
cmp byte [ebp - 0xd], 0
je 0x10003107
mov eax, dword [ebp - 0x38]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [ebp - 0x20], 0xfffffc15
mov byte [ebp - 4], 0xc
push 0
push 1
lea ecx, [ebp + 0x1c]
call fcn.10003864
push dword [ebp - 0x14]
call fcn.10009426
pop ecx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 8
push 0
push 1
lea ecx, [ebp]
call fcn.10003864
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.10007b10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
jmp 0x100031b4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.1000114e
mov esi, 0xffffe88a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.1000114e
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 + 0x13c]
xor ecx, ebp
call fcn.10009e71
add ebp, 0x140
leave
ret 4
mov ebx, str.Fail_Get_Section_Pointer_
lea esi, [ebp - 0x14]
call fcn.1000117a
mov byte [ebp - 4], 0x14
mov eax, dword [edi]
push 0
mov ecx, esi
push ecx
mov ecx, edi
call dword [eax + 0x44]
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.1000114e
mov esi, dword [ebp - 0x20]
jmp 0x1000315e