Function at 0x1d4b3d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1d5b2d0
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1138
call fcn.01d558b0
mov eax, dword [0x1d89190]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov esi, ecx
push 0x103
lea eax, [ebp - 0x117]
push edi
push eax
mov byte [esi + 0x18], 0
mov byte [esi + 0x11c], 0
mov dword [esi + 0x248], edi
mov dword [esi + 0x24c], edi
mov byte [ebp - 0x118], 0
call sub.MSVCR100.dll_memset
mov ecx, dword [esi + 0x14]
add esp, 0xc
push 0x104
add ecx, 0x185
push ecx
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop
mov al, byte [ebp + edi - 0x118]
test al, al
jne 0x1d4b721
xor edi, edi
push edi
lea eax, [ebp - 0x118]
push eax
call ebx
mov ecx, dword [esi + 0x14]
push edi
push edi
push 0x4000001
add ecx, 0x289
push 1
push ecx
lea ecx, [esi + 0x26c]
mov dword [ebp - 0x112c], edi
mov dword [ebp - 4], edi
call sub.mfc100.dll_Ordinal_10936
lea edx, [ebp - 0x112c]
push edx
mov ecx, eax
mov dword [esi + 0x264], eax
call sub.mfc100.dll_Ordinal_11243
mov ecx, dword [esi + 0x264]
mov eax, dword [ecx]
mov eax, dword [eax + 0x40]
push 0x1000
lea edx, [ebp - 0x1118]
push edx
call eax
mov dword [ebp - 0x111c], eax
cmp eax, 7
jae 0x1d4b4f1
push 0x1d7ba38
lea ecx, [ebp - 0x113c]
push ecx
mov dword [ebp - 0x113c], edi
call sub.MSVCR100.dll__CxxThrowException
cmp eax, 0x16
jae 0x1d4b50d
push 0x1d7ba38
lea edx, [ebp - 0x1138]
push edx
mov dword [ebp - 0x1138], edi
call sub.MSVCR100.dll__CxxThrowException
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push str._html_
call ebx
lea ecx, [ebp - 0x1118]
mov edi, str._html_
cmp eax, 4
jb 0x1d4b53b
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x1d4b56f
sub eax, 4
add ecx, 4
add edi, 4
jmp 0x1d4b525
test eax, eax
je 0x1d4b6eb
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x1d4b56f
cmp eax, 1
jbe 0x1d4b6eb
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x1d4b56f
cmp eax, 2
jbe 0x1d4b6eb
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
je 0x1d4b6eb
push str.__DOCTYPE_HTML_PUBLIC
call ebx
lea ecx, [ebp - 0x1118]
mov edi, str.__DOCTYPE_HTML_PUBLIC
cmp eax, 4
jb 0x1d4b597
mov edx, dword [edi]
cmp edx, dword [ecx]
jne 0x1d4b5cb
sub eax, 4
add ecx, 4
add edi, 4
jmp 0x1d4b581
test eax, eax
je 0x1d4b6d0
mov dl, byte [ecx]
cmp dl, byte [edi]
jne 0x1d4b5cb
cmp eax, 1
jbe 0x1d4b6d0
mov dl, byte [ecx + 1]
cmp dl, byte [edi + 1]
jne 0x1d4b5cb
cmp eax, 2
jbe 0x1d4b6d0
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
je 0x1d4b6d0
push 0
lea ecx, [esi + 0x24c]
push ecx
mov ecx, dword [esi + 0x264]
push 0x20000005
call sub.mfc100.dll_Ordinal_11239
test eax, eax
jne 0x1d4b603
push 0x1d7ca34
lea edx, [ebp - 0x1124]
push edx
mov dword [ebp - 0x1124], 3
call sub.MSVCR100.dll__CxxThrowException
mov eax, dword [esi + 0x14]
lea ecx, [eax + 0x81]
push ecx
add eax, 0x185
push eax
push str._s_s.DTM
lea ebx, [esi + 0x18]
push 0x104
push ebx
call dword [sym.imp.MSVCR100.dll__snprintf]
mov edx, dword [esi + 0x250]
mov eax, dword [edx + 0x2c]
add esp, 0x14
push 0
push 0x1002
push ebx
lea ecx, [esi + 0x250]
call eax
test eax, eax
jne 0x1d4b662
push 0x1d7ca34
lea ecx, [ebp - 0x1134]
push ecx
mov dword [ebp - 0x1134], 2
call sub.MSVCR100.dll__CxxThrowException
mov ebx, dword [ebp - 0x111c]
mov edx, dword [esi + 0x250]
mov edx, dword [edx + 0x44]
push ebx
lea eax, [ebp - 0x1118]
push eax
lea ecx, [esi + 0x250]
call edx
push 1
lea eax, [esi + 0x220]
push eax
lea ecx, [ebp - 0x1148]
call fcn.01d565d0
add dword [esi + 0x248], ebx
lea ecx, [ebp - 0x1148]
mov dword [esi + 0x240], 2
mov byte [esi + 0x10], 1
call fcn.01d56610
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.01d55e87
mov esp, ebp
pop ebp
ret
push 0x1d7ba38
lea ecx, [ebp - 0x1130]
push ecx
mov dword [ebp - 0x1130], 0
call sub.MSVCR100.dll__CxxThrowException
push 0x1d7ba38
lea edx, [ebp - 0x1120]
push edx
mov dword [ebp - 0x1120], 0
call sub.MSVCR100.dll__CxxThrowException
push 0x1d7ca34
lea eax, [ebp - 0x1128]
push eax
mov dword [ebp - 0x1128], 3
call sub.MSVCR100.dll__CxxThrowException
cmp al, 0x5c
jne 0x1d4b740
push 0
lea ecx, [ebp - 0x118]
push ecx
mov byte [ebp + edi - 0x118], 0
call ebx
mov byte [ebp + edi - 0x118], 0x5c
inc edi
jmp 0x1d4b460