Function at 0x4184f0
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4503ae
mov eax, dword fs:[0]
push eax
sub esp, 0x588
mov eax, dword [0x461cb4]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x461cb4]
xor eax, esp
push eax
lea eax, [esp + 0x59c]
mov dword fs:[0], eax
push fcn.0041ee00
push fcn.0041ecf0
push 0x104
push 4
lea eax, [esp + 0x54]
xor esi, esi
push eax
mov dword [esp + 0x5b8], esi
call fcn.00432ab0
mov byte [esp + 0x5a4], 1
call fcn.004268c1
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x418571
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov byte [esp + 0x5a4], 2
mov ebx, dword [esp + 0x5ac]
add ebx, 0xfffffff0
push ebx
mov dword [esp + 0x28], ebx
call fcn.00420060
add eax, 0x10
add esp, 4
mov dword [esp + 0x28], eax
push 3
push 0x457b30
lea ecx, [esp + 0x30]
mov byte [esp + 0x5ac], 3
call fcn.00420330
call fcn.004268c1
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4185d9
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x5a4], 4
call fcn.004268c1
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41860b
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x5a4], 5
call fcn.004268c1
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x41863d
push 0x80004005
call fcn.004010d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x454]
mov byte [esp + 0x5a4], 6
mov edx, dword [esp + 0x28]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push 0
mov edi, eax
push str.C:MapleBackup
mov dword [esp + 0x48], edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp edi, 0xffffffff
je 0x41895f
cmp esi, 0x12
je 0x41895f
lea eax, [esp + 0x480]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x418697
sub eax, edx
push eax
lea eax, [esp + 0x484]
push eax
lea ecx, [esp + 0x28]
call fcn.0041ff70
push 0x457b34
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x3c]
push edx
call fcn.0041f320
add esp, 0xc
mov byte [esp + 0x5a4], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x41872e
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x418720
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x418720
push eax
call fcn.00420060
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x418713
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
jmp 0x41872e
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0041ff70
mov byte [esp + 0x5a4], 6
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418756
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0041f260
add esp, 0xc
mov byte [esp + 0x5a4], 8
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4187d0
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4187c2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4187c2
push eax
call fcn.00420060
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4187b5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x24]
jmp 0x4187d0
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.0041ff70
mov byte [esp + 0x5a4], 6
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4187f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp - 0x10]
cmp ebx, esi
je 0x418851
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x418838
mov ecx, dword [ebx]
cmp ecx, dword [esi]
jne 0x418838
push ebx
call fcn.00420060
add esp, 4
mov ebx, eax
or edx, 0xffffffff
lock xadd dword [edi], edx
dec edx
test edx, edx
jg 0x41882f
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
lea ebp, [ebx + 0x10]
mov dword [esp + 0x1c], ebp
jmp 0x418851
mov ecx, dword [esp + 0x5ac]
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.0041ff70
mov ebp, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov ebx, dword [edi - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, 1
sub ecx, dword [ebp - 4]
lea esi, [edx + ebx]
mov dword [esp + 0x2c], edi
sub eax, esi
sub edi, ebp
or eax, ecx
mov dword [esp + 0x30], edx
jge 0x41888b
push esi
lea ecx, [esp + 0x20]
call fcn.00420010
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
cmp edi, edx
ja 0x418895
add edi, ebp
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x2c]
push ebx
push eax
add edx, ebp
push ebx
push edx
call fcn.0043149e
add esp, 0x10
test esi, esi
jl 0x418955
cmp esi, dword [ebp - 8]
jg 0x418955
mov dword [ebp - 0xc], esi
mov byte [esi + ebp], 0
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea esi, [ebp - 0x10]
mov dword [esp + 0x34], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4188ed
cmp eax, dword [esi]
jne 0x4188ed
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41891f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x418950
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0043149e
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
call fcn.00417a60
mov eax, dword [esp + 0x44]
add esp, 4
lea edx, [esp + 0x454]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, dword [esp + 0x24]
mov esi, eax
jmp 0x418684
jmp fcn.00420000
push 0x80070057
call fcn.004010d0
mov byte [esp + 0x5a4], 5
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418987
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5a4], 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4189af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5a4], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4189d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x5a4], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4189ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x5a4], 1
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a24
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
push fcn.0041ee00
push 0x104
push 4
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x5b4], 0
call fcn.00431d29
mov dword [esp + 0x5a4], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a66
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x59c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x580]
xor ecx, esp
call fcn.0043148f
add esp, 0x594
ret