Function at 0x100253d0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100426d4
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x100591e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x1002573b
mov ebx, 1
test byte [0x1005b284], bl
jne 0x1002543c
or dword [0x1005b284], ebx
mov ecx, 0x1005b280
call dword [0x100475ac]
push 0x10046e00
call fcn.10040c99
add esp, 4
mov ecx, dword [0x1005b280]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x1002554f
push 0x208
push eax
lea edx, [ebp - 0x218]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call fcn.10040873
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x21c]
call dword [0x10047584]
push eax
mov ecx, 0x1005b280
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push ecx
mov ecx, esp
mov dword [ebp - 0x220], esp
push 0x1005b280
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [ebp - 0x21c]
push eax
call fcn.100240f0
add esp, 8
push eax
mov ecx, 0x1005b280
mov byte [ebp - 4], 2
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, 0x1005b280
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
push 0x1004a628
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
lea ecx, [ebp - 0x21c]
setne bl
mov byte [ebp - 4], 0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
test bl, bl
je 0x1002553f
push 0x1004a628
mov ecx, 0x1005b280
call dword [0x100472b0]
push str.Log_
mov ecx, 0x1005b280
call dword [0x100472b0]
mov edx, dword [0x1005b280]
cmp dword [edx - 0xc], 0
je 0x1002573b
push ecx
mov ecx, esp
mov dword [ebp - 0x220], esp
push 0x1005b280
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call fcn.10023fb0
add esp, 4
test eax, eax
jne 0x1002558e
push eax
mov eax, dword [0x1005b280]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x248]
call dword [sym.imp.mfc100u.dll_CException::CException]
lea ecx, [ebp - 0x238]
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
call dword [0x100475ac]
mov byte [ebp - 4], 4
push 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0xffffffff
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100u.dll_CFile::CFile]
lea ecx, [ebp - 0x21c]
push 0x1005b280
mov bl, 6
push ecx
mov edi, str.Chromedll.log
mov byte [ebp - 4], bl
call fcn.10005900
add esp, 8
push 0
mov byte [ebp - 4], 7
mov eax, dword [eax]
push 0x3002
push eax
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc100u.dll_CFile::Open]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0x234]
mov eax, dword [edx + 0x34]
push 2
push 0
push 0
lea ecx, [ebp - 0x234]
call eax
test edx, edx
jne 0x1002564f
cmp eax, 0x100000
jb 0x1002565f
push 0
push 0
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc100u.dll_CFile::SetLength]
lea ecx, [ebp - 0x21c]
call dword [0x100475ac]
lea ecx, [ebp - 0x220]
mov bl, 8
push ecx
mov byte [ebp - 4], bl
call fcn.10025760
mov byte [ebp - 4], 9
mov edx, dword [ebp + 8]
mov eax, dword [eax]
push edx
push eax
lea ecx, [ebp - 0x21c]
push str._s____s
push ecx
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push 0x1004a640
lea ecx, [ebp - 0x21c]
call dword [0x100472b0]
lea ecx, [ebp - 0x21c]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
mov ebx, eax
call fcn.10024f60
mov edi, eax
test edi, edi
je 0x100256f9
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100256d8
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc100u.dll_CFile::Write]
push edi
call dword [sym.imp.mfc100u.dll_delete_1]
add esp, 4
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc100u.dll_CFile::Close]
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 5
call dword [0x10047558]
lea ecx, [ebp - 0x238]
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10040acf
mov esp, ebp
pop ebp
ret