Function at 0x401e6f
Capabilities:
Create directory
Delete directory
Download url
Receive data

Disassembly:
mov eax, 0x40fa08
call fcn.0040a1b0
push ecx
mov eax, 0x6a4c
call fcn.0040a750
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 0x4f
pop ecx
xor eax, eax
lea edi, [ebp - 0x1a0]
mov dword [ebp - 0x1a4], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x414078]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x54], eax
mov al, byte [ebp - 0x25]
push ebx
push ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
mov byte [ebp - 0x48], al
call fcn.004029b2
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], ebx
mov eax, dword [0x414078]
mov dword [ebp - 0x2c], eax
mov esi, 0x4182f4
mov byte [ebp - 4], 2
mov eax, esi
test eax, eax
je 0x401ee1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.004049ef
lea ecx, [ebp - 0x3600]
mov byte [ebp - 4], 3
call fcn.00405046
push ecx
lea ecx, [ebp - 0x3600]
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 4
call fcn.0040245e
lea ecx, [ebp - 0x3600]
call fcn.00405484
cmp eax, 0x3ea
jne 0x401f33
lea eax, [ebp - 0x21ac]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00404a20
jmp 0x401f4f
mov esi, str.badfile
mov eax, esi
test eax, eax
je 0x401f45
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.004049ef
lea ecx, [ebp - 0x3600]
mov byte [ebp - 4], 3
call fcn.0040510b
jmp 0x401f84
push str.DUDU_UUID
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 2
call fcn.0040128b
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
push eax
call dword [sym.imp.RPCRT4.dll_UuidCreate]
xor ecx, ecx
xor eax, eax
movzx edx, byte [ebp + eax - 0x64]
add ecx, edx
inc eax
cmp eax, 0x10
jl 0x401faa
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0040157e
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call fcn.00404a20
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0040125f
lea eax, [ebp - 0x50]
push eax
call fcn.00401608
pop ecx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00404a8d
push 0x414074
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 9
push eax
call fcn.00404b32
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.0040125f
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0xb
call fcn.0040125f
push ebx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [0x414078]
mov dword [ebp - 0x24], eax
push 0x18
mov byte [ebp - 4], 0xd
call fcn.00409d20
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
mov byte [ebp - 4], 0xe
je 0x40207e
mov edi, str.1.txt
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404b32
push 1
pop ecx
mov dword [ebp - 0x20], ecx
push ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xf
call fcn.00402499
mov esi, eax
jmp 0x402085
xor esi, esi
mov edi, str.1.txt
test byte [ebp - 0x20], 1
mov dword [ebp - 4], 0xd
je 0x40209e
and dword [ebp - 0x20], 0xfffffffe
lea ecx, [ebp - 0x18]
call fcn.0040125f
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push str.http:__dddvc.dudu.com___ddd_oembtrun.html_oemid_sstart_extract1
push eax
call fcn.00404c83
add esp, 0xc
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404b32
mov eax, dword [eax]
push esi
push ebx
push eax
push dword [ebp - 0x24]
push ebx
call sub.urlmon.dll_URLDownloadToFileA
mov ebx, eax
lea ecx, [ebp - 0x14]
neg ebx
sbb bl, bl
inc bl
call fcn.0040125f
test bl, bl
je 0x402180
push 0x2710
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404b32
mov eax, dword [eax]
lea ecx, [ebp - 0x1a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea ecx, [ebp - 0x18]
cmp esi, 0xffffffff
sete bl
call fcn.0040125f
test bl, bl
je 0x40214d
push 0x4141e0
lea ecx, [ebp - 0x14]
call fcn.0040128b
lea eax, [ebp - 0x14]
push 1
push eax
mov byte [ebp - 4], 0x11
call fcn.00401654
pop ecx
mov byte [ebp - 4], 0xd
pop ecx
lea ecx, [ebp - 0x14]
jmp 0x4021a5
push 0x4141dc
lea ecx, [ebp - 0x14]
call fcn.0040128b
lea eax, [ebp - 0x14]
push 1
push eax
mov byte [ebp - 4], 0x12
call fcn.00401654
pop ecx
mov byte [ebp - 4], 0xd
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0040125f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4021aa
push 0x4141e0
lea ecx, [ebp - 0x14]
call fcn.0040128b
lea eax, [ebp - 0x14]
push 1
push eax
mov byte [ebp - 4], 0x13
call fcn.00401654
pop ecx
mov byte [ebp - 4], 0xd
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0040125f
lea ecx, [ebp - 0x6a5c]
call fcn.00405046
push ecx
lea ecx, [ebp - 0x6a5c]
mov eax, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 0x14
call fcn.0040245e
lea ecx, [ebp - 0x6a5c]
call fcn.00405484
cmp eax, 0x3ea
je 0x4021e4
mov eax, 0xbadc0de0
jmp 0x402221
lea eax, [ebp - 0x48]
push eax
push 0x4016e7
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004049bc
lea ecx, [ebp - 0x6a5c]
call fcn.00405172
cmp eax, 0x3ee
jne 0x402215
mov eax, 0xbadc0de1
jmp 0x402221
cmp eax, 0x3ed
jne 0x402228
mov eax, 0xbadc0de2
mov dword [ebp - 0x38], eax
mov ebx, eax
jmp 0x402247
lea eax, [ebp - 0x48]
push eax
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.004049bc
call fcn.00401c9d
pop ecx
mov ebx, eax
pop ecx
mov dword [ebp - 0x38], edx
push 0x18
call fcn.00409d20
pop ecx
mov dword [ebp - 0x18], eax
xor esi, esi
mov byte [ebp - 4], 0x15
cmp eax, esi
mov edi, str.2.txt
je 0x402287
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00404b32
or dword [ebp - 0x20], 2
mov ecx, dword [ebp - 0x18]
push esi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0x16
call fcn.00402499
mov esi, eax
test byte [ebp - 0x20], 2
mov dword [ebp - 4], 0x14
je 0x40229c
lea ecx, [ebp - 0x14]
call fcn.0040125f
push dword [ebp - 0x38]
lea eax, [ebp - 0x24]
push ebx
push dword [ebp - 0x2c]
push str.http:__dddvc.dudu.com_ddd_oembtrun.html_vendor_sddd_ret_code_ubt_ret_code_uend_extract1
push eax
call fcn.00404c83
add esp, 0x14
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404b32
mov eax, dword [eax]
push esi
push 0
push eax
push dword [ebp - 0x24]
push 0
call sub.urlmon.dll_URLDownloadToFileA
mov ebx, eax
lea ecx, [ebp - 0x18]
neg ebx
sbb bl, bl
inc bl
call fcn.0040125f
test bl, bl
je 0x40237f
push 0x2710
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00404b32
mov eax, dword [eax]
lea ecx, [ebp - 0x1a4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea ecx, [ebp - 0x18]
cmp esi, 0xffffffff
sete bl
call fcn.0040125f
test bl, bl
je 0x402351
push 0x4141e0
lea ecx, [ebp - 0x14]
call fcn.0040128b
lea eax, [ebp - 0x14]
push 0
push eax
mov byte [ebp - 4], 0x18
call fcn.00401654
pop ecx
mov byte [ebp - 4], 0x14
pop ecx
lea ecx, [ebp - 0x14]
jmp 0x4023a4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x4141dc
lea ecx, [ebp - 0x14]
call fcn.0040128b
lea eax, [ebp - 0x14]
push 0
push eax
mov byte [ebp - 4], 0x19
call fcn.00401654
pop ecx
mov byte [ebp - 4], 0x14
pop ecx
lea ecx, [ebp - 0x14]
jmp 0x4023a4
push 0x4141e0
lea ecx, [ebp - 0x14]
call fcn.0040128b
lea eax, [ebp - 0x14]
push 0
push eax
mov byte [ebp - 4], 0x1a
call fcn.00401654
pop ecx
mov byte [ebp - 4], 0x14
pop ecx
lea ecx, [ebp - 0x14]
call fcn.0040125f
push 0
lea eax, [ebp - 0x25]
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push 0x4182f4
call fcn.0040275e
sub esp, 0x10
lea eax, [ebp - 0x31]
mov esi, esp
mov dword [ebp - 0x14], esp
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1b
call fcn.004049b9
push eax
mov ecx, esi
call fcn.0040275e
mov byte [ebp - 4], 0x14
call fcn.004017e5
add esp, 0x24
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x6a5c]
mov byte [ebp - 4], 0xd
call fcn.0040510b
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.0040125f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0040125f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0040125f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040125f
and byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.00402794
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0040125f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret