Function at 0x410b7f
Capabilities:
Create directory
Delete file
Get file size

Disassembly:
mov eax, 0x55e785
call fcn.0053c1d0
sub esp, 0x2c0
cmp dword [ecx + 0x38], 0xffffffff
push ebx
push esi
push edi
mov dword [ebp - 0x14], ecx
je 0x410ba3
xor eax, eax
inc eax
jmp 0x4114bd
cmp dword [ecx + 0x88], 0x10
jb 0x410bb1
mov ecx, dword [ecx + 0x74]
jmp 0x410bb4
add ecx, 0x74
push ecx
lea ecx, [ebp - 0x114]
call fcn.00405500
and dword [ebp - 4], 0
mov esi, 0x572ea0
push esi
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0050ba10
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 2
call fcn.00402c50
lea ecx, [ebp - 0x40]
call fcn.0040ab5c
cmp eax, 0x40
jb 0x410c04
xor esi, esi
jmp 0x4114b3
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
add eax, 0xffffffe4
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040c229
push 1
push 2
lea ecx, [ebp - 0x24c]
call fcn.00404a20
push esi
lea eax, [ebp - 0x24c]
push edi
push eax
mov byte [ebp - 4], 3
call fcn.0040b751
pop ecx
pop ecx
push eax
call fcn.00403980
add edi, 0x1c
pop ecx
mov dword [ebp - 0x10], edi
pop ecx
mov esi, 0x572a3c
mov ebx, 0x572a38
mov edi, 0x572a34
jmp 0x410f47
push 0x572ea0
push dword [ebp - 0x10]
lea eax, [ebp - 0x24c]
push eax
call fcn.0040b751
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x24c]
call fcn.00407320
cmp dword [eax + 0x18], 0x10
jb 0x410c9a
mov eax, dword [eax + 4]
jmp 0x410c9d
add eax, 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
neg eax
sbb al, al
push 0
inc al
push 1
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 0x15], al
call fcn.00402c50
cmp byte [ebp - 0x15], 0
je 0x410f43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x410f43
push 1
push 2
lea ecx, [ebp - 0xf8]
call fcn.00404a20
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 4
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 5
jb 0x410d0d
mov eax, dword [eax + 4]
jmp 0x410d10
add eax, 4
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x88], 0x10
jb 0x410d21
mov ecx, dword [ecx + 0x74]
jmp 0x410d24
add ecx, 0x74
push eax
push str._CreateDirectory:
push ecx
lea eax, [ebp - 0xf8]
push str.LocalFileName:
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x1b0]
mov byte [ebp - 4], 4
call fcn.00402c50
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0x194]
call fcn.00404a20
push 0x572a6c
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 6
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 7
jb 0x410da9
mov eax, dword [eax + 4]
jmp 0x410dac
add eax, 4
push eax
push 0x572a4c
push 0x572a6c
push 0x572a48
push 0x10000000
push 0x572a40
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x1e]
push esi
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x22]
push edi
push dword [ebp - 0x26]
push edi
push dword [ebp - 0x28]
push ebx
push 0x31d
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str..DownLoadFile.cpp
call fcn.00405500
lea eax, [ebp - 0x78]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 8
jb 0x410e13
mov eax, dword [eax + 4]
jmp 0x410e16
add eax, 4
push eax
lea eax, [ebp - 0x194]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x78]
call fcn.00402c50
push 0
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00402c50
lea eax, [ebp - 0x194]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 4
call fcn.004028d0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], 0x572840
call fcn.0054dfcb
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.004028d0
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], 0x572840
call fcn.0054dfcb
add dword [ebp - 0x10], 0x1c
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x38]
jne 0x410c5f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 0x10
jb 0x410f64
mov eax, dword [eax + 0x74]
jmp 0x410f67
add eax, 0x74
push 0
push 0x80
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x38], eax
jne 0x4111ce
push 1
push 2
lea ecx, [ebp - 0x194]
call fcn.00404a20
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 0x10
mov byte [ebp - 4], 9
jb 0x410fb3
mov eax, dword [eax + 0x74]
jmp 0x410fb6
add eax, 0x74
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._ErrorCode
push dword [ebp - 0x10]
lea eax, [ebp - 0x194]
push 0x572e4c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.0040bbec
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0xf8]
call fcn.00404a20
push 0x572a6c
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 0xa
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xb
jb 0x411032
mov eax, dword [eax + 4]
jmp 0x411035
add eax, 4
push eax
push 0x572a4c
push 0x572a6c
push 0x572a48
push 0x10000000
push 0x572a40
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x1e]
push esi
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x22]
push edi
push dword [ebp - 0x26]
push edi
push dword [ebp - 0x28]
push ebx
push 0x330
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str..DownLoadFile.cpp
call fcn.00405500
lea eax, [ebp - 0x5c]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xc
jb 0x41109c
mov eax, dword [eax + 4]
jmp 0x41109f
add eax, 4
push eax
lea eax, [ebp - 0xf8]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x5c]
call fcn.00402c50
push esi
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xa
call fcn.00402c50
lea eax, [ebp - 0xf8]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 9
call fcn.004028d0
mov edi, 0x572840
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], edi
call fcn.0054dfcb
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 3
call fcn.004028d0
lea ecx, [ebp - 0x148]
mov dword [ebp - 0x148], edi
call fcn.0054dfcb
jmp 0x41148f
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x4111ea
cmp dword [ebp - 0x30], 0
jne 0x4111ea
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x48]
mov ecx, dword [ecx + 0x4c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx + 0x18], 0x10
mov dword [ebp - 0x20], edx
jb 0x411207
mov ecx, dword [ecx + 4]
jmp 0x41120a
add ecx, 4
mov dword [ebp - 0x10], ecx
xor ecx, ecx
xor edx, edx
or ecx, eax
mov eax, edx
mov edx, dword [ebp - 0x30]
or edx, eax
mov eax, dword [ebp - 0x20]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
push ecx
push eax
push dword [ebp - 0x10]
call fcn.0040d50f
add esp, 0xc
test eax, eax
jne 0x411479
push 1
push 2
lea ecx, [ebp - 0x2cc]
call fcn.00404a20
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x88], 0x10
mov byte [ebp - 4], 0xd
jb 0x41125d
mov eax, dword [eax + 0x74]
jmp 0x411260
add eax, 0x74
push eax
lea eax, [ebp - 0x2cc]
push 0x572e34
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 1
push 2
lea ecx, [ebp - 0xf8]
call fcn.00404a20
push 0x572a6c
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x2cc]
mov byte [ebp - 4], 0xe
call fcn.00407320
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0xf
jb 0x4112bc
mov eax, dword [eax + 4]
jmp 0x4112bf
add eax, 4
push eax
push 0x572a4c
push 0x572a6c
push 0x572a48
push 0x10000000
push 0x572a40
push dword [ebp - 0x1c]
push esi
push dword [ebp - 0x1e]
push esi
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x22]
push edi
push dword [ebp - 0x26]
push edi
push dword [ebp - 0x28]
push ebx
push 0x344
push esi
push 0x5c
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str..DownLoadFile.cpp
call fcn.00405500
lea eax, [ebp - 0x5c]
push eax
call fcn.00407150
add esp, 0x24
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], 0x10
jb 0x411326
mov eax, dword [eax + 4]
jmp 0x411329
add eax, 4
push eax
lea eax, [ebp - 0xf8]
push 0x572a0c
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.00403f50
push eax
call fcn.00403980
pop ecx
pop ecx
mov ecx, eax
call fcn.004040c0
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push eax
call fcn.00403980
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x5c]
call fcn.00402c50
push 0
push 1
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 0xe
call fcn.00402c50
lea eax, [ebp - 0xf8]
push eax
call fcn.00407930
pop ecx
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xd
call fcn.004028d0
mov esi, 0x572840
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], esi
call fcn.0054dfcb
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.0040b8e1
cmp dword [edi + 0x88], 0x10
jb 0x41144b
mov edi, dword [edi + 0x74]
jmp 0x41144e
add edi, 0x74
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.004028d0
lea ecx, [ebp - 0x280]
mov dword [ebp - 0x280], esi
call fcn.0054dfcb
xor esi, esi
jmp 0x41148f
mov eax, dword [ebp - 0x14]
add eax, 0x40
push eax
call fcn.0040f0de
mov ecx, eax
call fcn.0040e638
xor esi, esi
inc esi
lea ecx, [ebp - 0x200]
mov byte [ebp - 4], 2
call fcn.004028d0
lea ecx, [ebp - 0x200]
mov dword [ebp - 0x200], 0x572840
call fcn.0054dfcb
lea ecx, [ebp - 0x40]
call fcn.0040ada8
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret