Function at 0x42523d
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x4dd200
call fcn.004d1d50
sub esp, 0x4c
mov eax, dword [0x52e400]
push ebx
mov ebx, dword [ebp + 8]
xor eax, ebp
test ebx, ebx
push esi
mov dword [ebp - 0x10], eax
mov esi, ecx
jne 0x425266
xor al, al
jmp 0x425436
mov ecx, dword [ebx + 0x78]
test ecx, ecx
push edi
jne 0x425272
xor edi, edi
jmp 0x42527e
push 0x4ec820
call fcn.0040ebb3
mov edi, eax
push edi
lea ecx, [esi + 4]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
push edi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.0044fa33
push 0x4ec814
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00407aea
add esp, 0x18
lea edi, [esi + 0xac]
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4252ff
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.MSVCR71.dll__wmkdir]
pop ecx
mov ecx, dword [ebx + 0x78]
test ecx, ecx
jne 0x42530a
xor eax, eax
jmp 0x425314
push 0x4f1b38
call fcn.0040ebb3
push eax
lea ecx, [esi + 0x20]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
lea ecx, [ebx + 0x80]
call fcn.0048f0fe
and dword [ebp - 0x34], 0
test eax, eax
mov dword [ebp - 0x3c], eax
jbe 0x425426
push dword [ebp - 0x34]
mov ecx, ebx
call fcn.00449647
mov edi, eax
mov dword [ebp - 0x38], edi
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, edi
mov dword [ebp - 0x30], eax
call fcn.0040ee62
push str.link_url
push dword [ebp - 0x30]
mov edi, eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x425382
lea ecx, [esi + 0x58]
push edi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
jmp 0x425407
push str.logo_url
push dword [ebp - 0x30]
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4253ac
lea eax, [esi + 0x74]
push eax
push edi
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.0044fa33
add esp, 0xc
jmp 0x425407
push str.demo_img
push dword [ebp - 0x30]
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4253c7
lea eax, [esi + 0x90]
jmp 0x425398
push 0x4f1b0c
push dword [ebp - 0x30]
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4253df
lea ecx, [esi + 0x3c]
jmp 0x425376
push str.open_tab
push dword [ebp - 0x30]
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x425407
push edi
call dword [sym.imp.MSVCR71.dll_atoi]
dec eax
neg eax
sbb al, al
inc al
pop ecx
mov byte [esi + 0xc8], al
mov ecx, dword [ebp - 0x38]
test ecx, ecx
mov byte [ebp - 4], 0
je 0x425417
call fcn.0040de1d
inc dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x3c]
jb 0x425338
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1da7
leave
ret 4