Function at 0x11128df0
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111e5f12
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x290], ebx
mov dword [ebp - 0x298], eax
mov dword [ebp - 0x294], 0x34bd
call fcn.1113dd30
xor edi, edi
push 3
mov dword [ebp - 4], edi
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x274], edi
call fcn.111bb510
add esp, 4
push eax
lea ecx, [ebp - 0x270]
call fcn.1113ccd0
push 0x1127eda4
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 1
call fcn.1113dc60
mov edx, dword [ebp - 0x270]
mov eax, dword [edx]
lea ecx, [ebp - 0x270]
call eax
test al, al
jne 0x11128eb0
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x264]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x111290d3
mov edx, dword [ebp - 0x270]
mov eax, dword [edx]
lea ecx, [ebp - 0x270]
call eax
test al, al
jne 0x11128ef1
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x264]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
call fcn.111bb510
add esp, 4
push eax
lea ecx, [ebp - 0x2d8]
call fcn.1113ccd0
push 0x1127eda4
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 2
call fcn.1113dc60
lea edx, [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x2b8]
call fcn.1113cc10
push 0x1120ae5c
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 3
call fcn.1113dca0
mov eax, dword [ebp - 0x2b8]
mov edx, dword [eax]
lea ecx, [ebp - 0x2b8]
call edx
test al, al
jne 0x11128f79
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov ecx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x260]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
sete al
test eax, eax
jne 0x111290a7
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
test byte [ebp - 0x260], 0x10
jne 0x11129088
lea edx, [ebp - 0x2d8]
push edx
lea ecx, [ebp - 0x2a8]
call fcn.1113cc10
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 4
call fcn.1113dca0
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x28c]
call fcn.1113cc10
lea edx, [ebp - 0x234]
push edx
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 5
call fcn.1113dca0
mov eax, dword [ebp - 0x28c]
mov edx, dword [eax]
lea ecx, [ebp - 0x28c]
call edx
test al, al
jne 0x1112902d
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [ebp - 0x2a8]
mov edx, dword [eax]
mov esi, dword [ebp - 0x280]
lea ecx, [ebp - 0x2a8]
call edx
test al, al
jne 0x1112905e
push 0x266
push str.e:_nsmsrc_nsm14101410fctl32NSMString.h
push str.IsA__
call fcn.11067750
add esp, 0xc
mov eax, dword [ebp - 0x29c]
push 1
push esi
push eax
call ebx
lea ecx, [ebp - 0x28c]
mov byte [ebp - 4], 4
call fcn.1113cd80
lea ecx, [ebp - 0x2a8]
mov byte [ebp - 4], 3
call fcn.1113cd80
lea ecx, [ebp - 0x260]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
neg eax
sbb eax, eax
inc eax
je 0x11128fa5
mov ebx, dword [ebp - 0x290]
cmp edi, 0xffffffff
je 0x111290b3
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 2
call fcn.1113cd80
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 1
call fcn.1113cd80
xor edi, edi
push 3
call fcn.111bb510
add esp, 4
push eax
lea ecx, [ebp - 0x2c8]
call fcn.1113dbf0
push 0x1127eda4
lea ecx, [ebp - 0x2c8]
call fcn.1113dc60
lea ecx, [ebx + 0x1f4]
call fcn.11104440
lea ecx, [ebx + 0x1f4]
call fcn.111041d0
cmp byte [ebp + 0xc], 0
je 0x11129127
lea edx, [ebp - 0x2c8]
push edx
lea ecx, [ebx + 0x1f4]
call fcn.11104490
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebx + 0x1f4]
call fcn.11103860
mov ecx, dword [eax]
cmp dword [ebp - 0x27c], ecx
je 0x11129151
mov ecx, dword [ecx]
cmp ecx, edi
je 0x11129151
mov ecx, dword [ecx]
mov dword [ebp - 0x27c], ecx
mov edx, dword [eax + 8]
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebx + 0x1f4]
mov dword [ebp - 0x274], edx
call fcn.11103880
push eax
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x27c]
push ecx
lea edx, [ebp - 0x294]
push edx
push eax
mov ecx, ebx
call fcn.11128430
mov ecx, dword [ebx + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_DrawMenuBar]
lea ecx, [ebp - 0x270]
mov byte [ebp - 4], 0
call fcn.1113cd80
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 4], 0xffffffff
call fcn.1113cd80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.111d9022
mov esp, ebp
pop ebp
ret 8