Function at 0x40a9f0
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c6db
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x461fec]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c4], ecx
push 2
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x150]
push ecx
call fcn.0041d980
add esp, 8
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax + 0x150]
push ecx
call fcn.0041db30
add esp, 8
push eax
lea ecx, [ebp - 0x168]
call fcn.0040c0e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.00401880
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00401880
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.00401880
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
call fcn.00401880
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
call fcn.00401880
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.00401880
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x150]
call fcn.00401880
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
call fcn.00401880
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.00401880
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x144]
call fcn.00403150
lea ecx, [ebp - 0x184]
call fcn.00430949
mov byte [ebp - 4], 0xa
xor edx, edx
mov word [ebp - 0x16c], dx
lea eax, [ebp - 0x18c]
push eax
mov ecx, dword [ebp - 0x1c4]
mov ecx, dword [ecx + 0x4c8]
call fcn.0040cc40
mov dword [ebp - 0x1c8], eax
mov edx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], edx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1cc]
push eax
lea ecx, [ebp - 0x154]
call fcn.00403530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x18c]
call fcn.004018a0
push 0
mov ecx, dword [ebp - 0x1c4]
mov ecx, dword [ecx + 0x4c8]
call fcn.0040ccc0
test eax, eax
je 0x40ad01
lea ecx, [ebp - 0x158]
call fcn.00401dd0
push 0x19
lea edx, [ebp - 0x158]
push edx
call fcn.0040d6c0
add esp, 8
test eax, eax
jne 0x40abbc
push 0x10
lea eax, [ebp - 0x158]
push eax
call fcn.0040d6c0
add esp, 8
test eax, eax
jne 0x40abbc
mov ecx, 0x3c
mov word [ebp - 0x16c], cx
lea ecx, [ebp - 0x158]
call fcn.004032b0
movzx edx, al
test edx, edx
jne 0x40ad01
push 0x120
lea ecx, [ebp - 0x150]
call fcn.004018e0
movzx eax, byte [0x45445d]
push eax
push 1
lea ecx, [ebp - 0x150]
call fcn.00401920
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.0042d681
lea ecx, [ebp - 0x188]
call fcn.00401920
push eax
lea ecx, [ebp - 0x154]
call fcn.00401920
push eax
lea edx, [ebp - 0x190]
push edx
call fcn.00421c90
add esp, 0xc
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1d4]
push ecx
lea ecx, [ebp - 0x15c]
call fcn.00403530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x190]
call fcn.004018a0
push 0x454478
lea ecx, [ebp - 0x168]
call fcn.00401920
push eax
lea ecx, [ebp - 0x158]
call fcn.00401920
push eax
lea edx, [ebp - 0x194]
push edx
call fcn.004220c0
add esp, 0x10
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1dc]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x194]
call fcn.004018a0
lea ecx, [ebp - 0x168]
call fcn.00401920
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401920
push eax
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
call fcn.0040d720
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push 2
mov ecx, dword [ebp - 0x1c4]
call fcn.00409160
push 1
mov edx, dword [ebp - 0x1c4]
mov ecx, dword [edx + 0x4c8]
call fcn.0040ccc0
test eax, eax
je 0x40b2ac
lea ecx, [ebp - 0x158]
call fcn.00401dd0
push 0x17
lea eax, [ebp - 0x158]
push eax
call fcn.0040d6c0
add esp, 8
test eax, eax
jne 0x40ad5d
push 2
lea ecx, [ebp - 0x158]
push ecx
call fcn.0040d6c0
add esp, 8
test eax, eax
jne 0x40ad5d
mov edx, 0x3d
mov word [ebp - 0x16c], dx
lea ecx, [ebp - 0x158]
call fcn.004032b0
movzx eax, al
test eax, eax
je 0x40ae2f
mov cx, word [ebp - 0x16c]
mov word [ebp - 0x196], cx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x184]
call fcn.0043096f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
call fcn.004018a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x150]
call fcn.004018a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.004018a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
call fcn.004018a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
call fcn.004018a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.004018a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.004018a0
mov ax, word [ebp - 0x196]
jmp 0x40b363
lea ecx, [ebp - 0x168]
call fcn.00401920
push eax
lea ecx, [ebp - 0x158]
call fcn.00401920
push eax
lea edx, [ebp - 0x19c]
push edx
call fcn.00421c90
add esp, 0xc
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1e4]
push ecx
lea ecx, [ebp - 0x158]
call fcn.00403530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x19c]
call fcn.004018a0
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x158]
call fcn.00401920
push eax
call fcn.0042dc24
test eax, eax
jne 0x40afa3
push 0
lea ecx, [ebp - 0x158]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x40af85
mov eax, 0x3e
mov word [ebp - 0x19e], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x184]
call fcn.0043096f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
call fcn.004018a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x150]
call fcn.004018a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.004018a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
call fcn.004018a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
call fcn.004018a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.004018a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.004018a0
mov ax, word [ebp - 0x19e]
jmp 0x40b363
lea ecx, [ebp - 0x158]
call fcn.00401920
push eax
push 1
mov ecx, dword [ebp - 0x1c4]
call fcn.00409160
jmp 0x40b088
push 0x454470
lea ecx, [ebp - 0x158]
call fcn.00401920
push eax
lea ecx, [ebp - 0x1a4]
push ecx
call fcn.00421c90
add esp, 0xc
mov dword [ebp - 0x1e8], eax
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x160]
call fcn.00403530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1a4]
call fcn.004018a0
push 0
lea ecx, [ebp - 0x160]
call fcn.00401920
push eax
lea ecx, [ebp - 0x184]
call fcn.004309de
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0
je 0x40b088
lea ecx, [ebp - 0x184]
call fcn.004307d0
mov dword [ebp - 0x164], eax
lea ecx, [ebp - 0x184]
call fcn.0040c0c0
test eax, eax
jne 0x40b086
lea ecx, [ebp - 0x184]
call fcn.0040c0a0
test eax, eax
jne 0x40b086
lea ecx, [ebp - 0x1a8]
push ecx
lea ecx, [ebp - 0x184]
call fcn.00430b8c
mov dword [ebp - 0x1f0], eax
mov ecx, dword [ebp - 0x1f0]
call fcn.00401920
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x1a8]
call fcn.004018a0
jmp 0x40b019
mov dword [ebp - 0x18], 0
jmp 0x40b09a
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 3
jge 0x40b2ac
mov eax, dword [ebp - 0x18]
add eax, 0x120
push eax
lea ecx, [ebp - 0x150]
call fcn.004018e0
movzx ecx, byte [0x45445d]
push ecx
push 0
lea ecx, [ebp - 0x150]
call fcn.00401920
push eax
lea edx, [ebp - 0x14]
push edx
call fcn.0042d681
lea ecx, [ebp - 0x14]
call fcn.00401920
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.00408510
mov ecx, eax
call fcn.00408a00
mov dword [ebp - 0x1f4], eax
mov ecx, dword [ebp - 0x1f4]
mov dword [ebp - 0x1f8], ecx
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x1f8]
push edx
lea ecx, [ebp - 0x148]
call fcn.00403530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1ac]
call fcn.004018a0
movzx eax, byte [0x45445d]
push eax
push 1
lea ecx, [ebp - 0x150]
call fcn.00401920
push eax
lea ecx, [ebp - 0x188]
push ecx
call fcn.0042d681
push str.http
push 4
lea edx, [ebp - 0x1b4]
push edx
lea ecx, [ebp - 0x188]
call fcn.004031d0
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1fc]
push eax
call fcn.00407080
add esp, 8
mov byte [ebp - 0x1ad], al
lea ecx, [ebp - 0x1b4]
call fcn.004018a0
movzx ecx, byte [ebp - 0x1ad]
test ecx, ecx
je 0x40b1aa
lea edx, [ebp - 0x188]
push edx
lea ecx, [ebp - 0x15c]
call fcn.00403530
jmp 0x40b208
lea ecx, [ebp - 0x188]
call fcn.00401920
push eax
lea ecx, [ebp - 0x154]
call fcn.00401920
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.00421c90
add esp, 0xc
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x204]
push edx
lea ecx, [ebp - 0x15c]
call fcn.00403530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1b8]
call fcn.004018a0
push 0x454478
lea ecx, [ebp - 0x148]
call fcn.00401920
push eax
lea ecx, [ebp - 0x158]
call fcn.00401920
push eax
lea eax, [ebp - 0x1bc]
push eax
call fcn.004220c0
add esp, 0x10
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x20c], ecx
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x20c]
push edx
lea ecx, [ebp - 0x10]
call fcn.00403530
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x1bc]
call fcn.004018a0
lea ecx, [ebp - 0x148]
call fcn.00401920
push eax
lea ecx, [ebp - 0x15c]
call fcn.00401920
push eax
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
call fcn.0040d720
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00401920
push eax
push 2
mov ecx, dword [ebp - 0x1c4]
call fcn.00409160
jmp 0x40b091
mov ax, word [ebp - 0x16c]
mov word [ebp - 0x1be], ax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x184]
call fcn.0043096f
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
call fcn.004018a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x188]
call fcn.004018a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x150]
call fcn.004018a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x158]
call fcn.004018a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x154]
call fcn.004018a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x148]
call fcn.004018a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x15c]
call fcn.004018a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.004018a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x160]
call fcn.004018a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x168]
call fcn.004018a0
mov ax, word [ebp - 0x1be]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00435c3d
mov esp, ebp
pop ebp
ret