Function at 0x100d4790
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1020aaeb
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x105520d0]
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 + 0x2c]
mov edi, dword [ebp + 0x28]
mov dword [ebp - 0x2e0], ecx
mov dword [ebp - 0x2e4], eax
xor ebx, ebx
push ebx
mov esi, 0xf
push 0x1021c9c8
lea ecx, [ebp - 0x160]
mov dword [ebp - 4], ebx
mov dword [eax], ebx
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x150], ebx
mov byte [ebp - 0x160], bl
call fcn.10003320
push 0x104
lea eax, [ebp - 0x128]
push eax
push ebx
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x128]
mov dword [ebp - 0x130], esi
mov dword [ebp - 0x134], ebx
mov byte [ebp - 0x144], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100d4831
sub eax, edx
push eax
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x144]
call fcn.10003320
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 2
call fcn.10022800
mov esi, 0x10
mov byte [ebp - 4], 1
cmp dword [ebp - 0x130], esi
jb 0x100d4883
mov eax, dword [ebp - 0x144]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x150]
push 1
push ecx
lea edx, [ebp - 0x2dc]
push edx
lea ecx, [ebp - 0x160]
mov byte [ebp - 0x2dc], 0x5c
call fcn.100660b0
push eax
push ebx
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x160]
call fcn.10066a50
push eax
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 3
call fcn.10022800
cmp dword [ebp - 0x130], esi
jb 0x100d48e0
mov ecx, dword [ebp - 0x144]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0x2e0]
push 0xa
lea edx, [ebp - 0x24]
push edx
call fcn.101f9c70
push eax
call dword [sym.imp.MSVCR100.dll__itoa]
add esp, 0xc
mov dword [ebp - 0x168], 0xf
mov dword [ebp - 0x16c], ebx
mov byte [ebp - 0x17c], bl
cmp dword [ebp + 8], 1
mov byte [ebp - 4], 4
lea eax, [ebp - 0x160]
lea ecx, [ebp - 0x198]
jne 0x100d4951
push str.ReadData_
push eax
push ecx
call fcn.10066b90
lea edx, [ebp - 0x24]
push edx
push eax
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 5
call fcn.100d4520
add esp, 0x18
mov byte [ebp - 4], 6
jmp 0x100d4979
push str.WriteData_
push eax
push ecx
call fcn.10066b90
lea edx, [ebp - 0x24]
push edx
push eax
lea eax, [ebp - 0x144]
push eax
mov byte [ebp - 4], 7
call fcn.100d4520
add esp, 0x18
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.10022800
cmp dword [ebp - 0x130], esi
jb 0x100d4998
mov ecx, dword [ebp - 0x144]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov byte [ebp - 4], 4
mov byte [ebp - 0x144], bl
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x130], 0xf
cmp dword [ebp - 0x184], esi
jb 0x100d49c9
mov edx, dword [ebp - 0x198]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [edi + 0x14], esi
jb 0x100d49d2
mov eax, dword [edi]
jmp 0x100d49d4
mov eax, edi
lea ecx, [ebp - 0x2d8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x100d49f9
mov dword [ebp - 0x2e0], 1
cmp dword [ebp - 0x2d8], esi
je 0x100d49ff
mov dword [ebp - 0x2e0], ebx
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x2e0], ebx
jne 0x100d4aa0
cmp dword [edi + 0x14], esi
jb 0x100d4a1b
mov eax, dword [edi]
jmp 0x100d4a1d
mov eax, edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x100d4aa0
mov edx, dword [ebp - 0x2e4]
mov edi, 0xf
mov dword [edx], edi
cmp dword [ebp - 0x168], esi
jb 0x100d4a4d
mov eax, dword [ebp - 0x17c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x16c], ebx
mov byte [ebp - 0x17c], bl
cmp dword [ebp - 0x14c], esi
jb 0x100d4a76
mov ecx, dword [ebp - 0x160]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], ebx
mov byte [ebp - 0x160], bl
cmp dword [ebp + 0x20], esi
jb 0x100d4a99
mov edx, dword [ebp + 0xc]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x100d4b74
mov eax, dword [ebp + 0x1c]
push 1
push eax
lea ecx, [ebp - 0x2dc]
push ecx
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x2dc], 0x5c
call fcn.100660b0
push 0xffffffffffffffff
push eax
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp + 0xc]
call fcn.10066a50
push eax
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 9
call fcn.10022800
mov byte [ebp - 4], 4
cmp dword [ebp - 0x184], esi
jb 0x100d4af9
mov eax, dword [ebp - 0x198]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, edi
call fcn.10003230
cmp dword [ebp - 0x168], esi
jb 0x100d4b21
mov edx, dword [ebp - 0x17c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x16c], ebx
mov byte [ebp - 0x17c], bl
cmp dword [ebp - 0x14c], esi
jb 0x100d4b4f
mov eax, dword [ebp - 0x160]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x150], ebx
mov byte [ebp - 0x160], bl
cmp dword [ebp + 0x20], esi
jb 0x100d4b72
mov ecx, dword [ebp + 0xc]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, 1
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.10203cc8
mov esp, ebp
pop ebp
ret 0x28