Function at 0x410f90
Capabilities:
Create directory
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43a6c0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x44bb64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 4]
push ecx
push 0
push 0x450
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [esi + 0x14]
mov ebx, dword [edx + 0xdc]
mov edi, eax
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
xor eax, eax
test edi, edi
setne al
push ebx
push eax
call fcn.0041d600
add esp, 0xc
push edi
mov ecx, esi
call fcn.00410ac0
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0x84]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405620
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 1
call fcn.0041da30
add esp, 4
push eax
mov eax, dword [esi + 0x14]
add eax, 0x88
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov byte [ebp - 4], 2
call fcn.00406c70
add esp, 0xc
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004105a0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41107b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41109e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
call fcn.00406ad0
mov ecx, dword [ebp - 0x14]
push 0
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x4110c8
cmp eax, 0x50
je 0x4110c8
cmp eax, 0xb7
je 0x4110c8
xor edx, edx
jmp 0x4110cd
mov edx, 1
mov ecx, dword [esi + 0x14]
mov ecx, dword [ecx + 0xe0]
push eax
push ecx
push edx
call fcn.0041d600
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
add esp, 0xc
push eax
call fcn.00401e10
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x24], edi
lea edx, [ebp - 0x24]
push edx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.004055b0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411125
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00401e10
add eax, 0x10
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [ecx + 0x8c]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004105a0
mov ebx, dword [ebp - 0x1c]
lea eax, [ebx - 0x10]
push eax
mov dword [ebp - 0x28], eax
call fcn.00401e10
lea edi, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x24], edi
lea edx, [ebp - 0x24]
lea ecx, [esi + 4]
push edx
mov byte [ebp - 4], 6
call fcn.004055b0
lea eax, [edi - 0x10]
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411198
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esi + 0x14]
mov ebx, dword [ecx + 0xe4]
mov edi, eax
mov dword [ebp - 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp edi, 0xffffffff
setne dl
push eax
push ebx
push edx
call fcn.0041d600
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x34], ecx
mov edx, dword [eax + 0xc]
add esp, 0xc
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], 1
cmp dword [eax + 8], 0
je 0x4111ff
cmp dword [eax + 0xc], 0
je 0x4111ff
lea ecx, [ebp - 0x34]
jmp 0x411201
xor ecx, ecx
mov edx, dword [eax + 4]
push 0
push 0
push ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x18]
push ecx
push edi
push edx
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi + 0x14]
mov esi, dword [ecx + 0xe8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push ebx
call fcn.0041d600
mov eax, dword [ebp - 0x28]
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41125a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41127d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0xffffffff
je 0x411289
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x411297
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret