Function at 0x4b2240
Capabilities:
Access peb ldr_data
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x57c4a9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5d7050]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5d7050]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
push 0x221f
push str.http:__hi.liebao.cn:_d
lea esi, [esp + 0x38]
mov dword [esp + 0x60], 0
call fcn.0040cc20
lea ecx, [edi + 0x1914]
mov eax, dword [ecx + 0x74]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x34], ecx
add ecx, 0x74
add esp, 8
call edx
mov eax, dword [0x5e736c]
mov edx, dword [eax + 0xc]
mov ecx, 0x5e736c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x24], ebp
xor edi, edi
lea ebx, [esp + 0x1c]
mov byte [esp + 0x58], 1
call fcn.004125d0
push eax
lea eax, [esp + 0x24]
push eax
mov ebx, str.datahttproot
mov byte [esp + 0x60], 2
call fcn.0041a8a0
add esp, 8
mov byte [esp + 0x58], 3
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebp - 0x10]
cmp eax, esi
je 0x4b234a
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4b2339
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4b2339
call fcn.00410660
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4b2330
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x24], ebp
jmp 0x4b234a
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x28]
call fcn.00410570
mov ebp, dword [esp + 0x24]
mov byte [esp + 0x58], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b236f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2394
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
lea ebx, [esp + 0x1c]
call fcn.004125d0
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str.datahttproot_files_
mov byte [esp + 0x60], 4
call fcn.0041a8a0
add esp, 8
mov byte [esp + 0x58], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4b23dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4b23f9
mov edx, dword [esp + 0x18]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4b2406
mov eax, dword [esp + 0x18]
push eax
call fcn.0040d4f0
add esp, 4
call fcn.004af4c0
lea ebx, [esp + 0x20]
mov esi, eax
call fcn.0050e510
mov eax, dword [esp + 0x28]
test eax, eax
mov byte [esp + 0x58], 7
je 0x4b2428
add eax, 8
jmp 0x4b242a
xor eax, eax
cmp dword [esp + 0x48], 8
mov ecx, dword [esp + 0x34]
jae 0x4b2439
lea ecx, [esp + 0x34]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
push eax
push ecx
push edi
mov ecx, ebp
call fcn.0053e8c0
mov edx, dword [esi + 0x74]
mov eax, dword [edx + 0x14]
lea ecx, [esi + 0x74]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x58], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b2477
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x58], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b249c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebp, 0xfffffff0
mov byte [esp + 0x58], 0
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4b24be
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00569ed6
add esp, 0x48
ret