Function at 0x410010
Capabilities:
Check http status code
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xeb4
mov eax, dword [0x430008]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xe6c], 0x10d3d
mov dword [ebp - 0xdc4], 0x72e2
mov dword [ebp - 0xdb8], 0xa83
mov dword [ebp - 0xdbc], 0x122b8
mov dword [ebp - 0xdcc], 0x2de1
push 0
push 0
push 0
push 1
push 0x42d4a4
call dword [0x4330bc]
mov dword [ebp - 0xdc8], eax
cmp dword [ebp - 0xdc8], 0
jne 0x41007e
xor eax, eax
jmp 0x410ce5
push 0
push 0x80000000
push 0
push 0
push 4
push 0x25
push 0x430a70
call fcn.0040d030
add esp, 0xc
push eax
mov eax, dword [ebp - 0xdc8]
push eax
call dword [0x4330c0]
mov dword [ebp - 0xdc0], eax
cmp dword [ebp - 0xdc0], 0
jne 0x4100cb
mov ecx, dword [ebp - 0xdc8]
push ecx
call dword [0x4330cc]
xor eax, eax
jmp 0x410ce5
mov dword [ebp - 0xd54], 0
mov dword [ebp - 0xd58], 4
push 0
lea edx, [ebp - 0xd58]
push edx
lea eax, [ebp - 0xd54]
push eax
push 0x20000013
mov ecx, dword [ebp - 0xdc0]
push ecx
call dword [0x4330c8]
cmp dword [ebp - 0xd54], 0xc8
je 0x41012e
mov edx, dword [ebp - 0xdc0]
push edx
call dword [0x4330cc]
mov eax, dword [ebp - 0xdc8]
push eax
call dword [0x4330cc]
xor eax, eax
jmp 0x410ce5
mov dword [ebp - 0xdb4], 0
mov dword [ebp - 0xd5c], 4
push 0
lea ecx, [ebp - 0xd5c]
push ecx
lea edx, [ebp - 0xdb4]
push edx
push 0x20000005
mov eax, dword [ebp - 0xdc0]
push eax
call dword [0x4330c8]
cmp dword [ebp - 0xdb4], 0
ja 0x41018e
mov ecx, dword [ebp - 0xdc0]
push ecx
call dword [0x4330cc]
mov edx, dword [ebp - 0xdc8]
push edx
call dword [0x4330cc]
xor eax, eax
jmp 0x410ce5
mov dword [ebp - 0xd48], 0
lea eax, [ebp - 0xd48]
push eax
push 1
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0xdc0]
push edx
call dword [0x4330c4]
test eax, eax
je 0x4101c2
cmp dword [ebp - 0xd48], 1
je 0x4101c9
xor eax, eax
jmp 0x410ce5
mov eax, 1
imul ecx, eax, 0
movzx edx, byte [ebp + ecx - 0x120]
mov dword [ebp - 0xdf4], edx
lea eax, [ebp - 0xd48]
push eax
mov ecx, dword [ebp - 0xdf4]
push ecx
lea edx, [ebp - 0x120]
push edx
mov eax, dword [ebp - 0xdc0]
push eax
call dword [0x4330c4]
test eax, eax
je 0x410213
mov ecx, dword [ebp - 0xd48]
cmp ecx, dword [ebp - 0xdf4]
je 0x410234
mov edx, dword [ebp - 0xdc0]
push edx
call dword [0x4330cc]
mov eax, dword [ebp - 0xdc8]
push eax
call dword [0x4330cc]
xor eax, eax
jmp 0x410ce5
lea ecx, [ebp - 0xd48]
push ecx
push 1
lea edx, [ebp - 0xd41]
push edx
mov eax, dword [ebp - 0xdc0]
push eax
call dword [0x4330c4]
test eax, eax
je 0x41025e
cmp dword [ebp - 0xd48], 1
je 0x41027f
mov ecx, dword [ebp - 0xdc0]
push ecx
call dword [0x4330cc]
mov edx, dword [ebp - 0xdc8]
push edx
call dword [0x4330cc]
xor eax, eax
jmp 0x410ce5
mov dword [ebp - 0xe18], 0
movzx eax, byte [ebp - 0xd41]
cmp eax, 0xb
jne 0x4102e4
mov ecx, dword [ebp - 0xdf4]
push ecx
mov edx, dword [ebp - 0xd48]
push edx
lea eax, [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0xdb4]
push ecx
mov edx, dword [ebp - 0xdc0]
push edx
call fcn.0040e7d0
add esp, 0x14
mov eax, dword [ebp - 0xdc0]
push eax
call dword [0x4330cc]
mov ecx, dword [ebp - 0xdc8]
push ecx
call dword [0x4330cc]
mov eax, 1
jmp 0x410ce5
push 7
lea edx, [ebp - 0x20]
push edx
call fcn.0040e150
add esp, 8
lea eax, [ebp - 0x20]
push eax
push 0x104
lea ecx, [ebp - 0x738]
push ecx
call fcn.00419d28
add esp, 0xc
movzx edx, byte [ebp - 0xd41]
push edx
lea eax, [ebp - 0x738]
push eax
call fcn.0040fdd0
add esp, 8
mov dword [ebp - 0xe3c], 0
lea ecx, [ebp - 0x940]
push ecx
push 1
push 0
push 0x1c
mov edx, dword [ebp - 0xe3c]
push edx
call dword [0x4330d8]
xor eax, eax
mov byte [ebp - 0xdcf], al
lea ecx, [ebp - 0xe88]
push ecx
lea ecx, [ebp - 0xdcf]
call fcn.00410d00
mov dword [ebp - 0xdec], eax
mov dword [ebp - 0xde8], 0
jmp 0x410380
mov edx, dword [ebp - 0xde8]
add edx, 1
mov dword [ebp - 0xde8], edx
cmp dword [ebp - 0xde8], 5
jae 0x4103e2
mov eax, dword [ebp - 0xde8]
mov ecx, dword [ebp - 0xdec]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0xe4c], edx
mov eax, dword [ebp - 0xe4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0xdec]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0xdfc], cx
mov ecx, dword [ebp - 0xde8]
mov edx, dword [ebp - 0xdec]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0xe20], eax
mov ecx, dword [ebp - 0xe20]
mov dx, word [ebp - 0xdfc]
mov word [ecx], dx
jmp 0x410371
mov eax, 5
shl eax, 1
mov ecx, dword [ebp - 0xdec]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0xe24], edx
xor eax, eax
mov ecx, dword [ebp - 0xe24]
mov word [ecx], ax
mov edx, dword [ebp - 0xdec]
add edx, 2
mov dword [ebp - 0xe28], edx
lea eax, [ebp - 0x738]
push eax
lea ecx, [ebp - 0x940]
push ecx
mov edx, dword [ebp - 0xe28]
push edx
push 0x104
lea eax, [ebp - 0x328]
push eax
call fcn.004010b0
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp - 0x328]
push ecx
call dword [0x4330f4]
mov dword [ebp - 0xe14], eax
cmp dword [ebp - 0xe14], 0xffffffff
jne 0x41048b
mov edx, dword [ebp - 0xdc0]
push edx
call dword [0x4330cc]
mov eax, dword [ebp - 0xdc8]
push eax
call dword [0x4330cc]
xor eax, eax
jmp 0x410ce5
mov ecx, dword [ebp - 0xdb4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0xdf8], eax
mov dword [ebp - 0xe64], 0
mov edx, dword [ebp - 0xe64]
cmp edx, dword [ebp - 0xdb4]
jae 0x4107d7
mov dword [ebp - 0xd4c], 0
lea eax, [ebp - 0xd4c]
push eax
mov ecx, dword [ebp - 0xdb4]
push ecx
mov edx, dword [ebp - 0xdf8]
push edx
mov eax, dword [ebp - 0xdc0]
push eax
call dword [0x4330c4]
test eax, eax
je 0x4104fc
cmp dword [ebp - 0xd4c], 0
jne 0x410501
jmp 0x4107d7
mov dword [ebp - 0xdf0], 0
jmp 0x41051c
mov ecx, dword [ebp - 0xdf0]
add ecx, 1
mov dword [ebp - 0xdf0], ecx
mov edx, dword [ebp - 0xdf0]
cmp edx, dword [ebp - 0xd4c]
jae 0x410790
mov eax, dword [ebp - 0xe18]
xor edx, edx
div dword [ebp - 0xdf4]
movzx eax, byte [ebp + edx - 0x120]
mov ecx, dword [ebp - 0xdf8]
add ecx, dword [ebp - 0xdf0]
movzx edx, byte [ecx]
xor edx, eax
mov eax, dword [ebp - 0xdf8]
add eax, dword [ebp - 0xdf0]
mov byte [eax], dl
mov ecx, dword [0x4309f8]
mov dword [ebp - 0xe1c], ecx
jmp 0x410580
mov edx, dword [ebp - 0xe1c]
sub edx, 1
mov dword [ebp - 0xe1c], edx
mov eax, dword [ebp - 0xe1c]
cmp eax, dword [ebp - 0xdc4]
jg 0x410762
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp dword [0x430924], eax
jbe 0x4105cf
mov ecx, dword [ebp - 0xdc4]
push ecx
mov edx, dword [ebp - 0xdbc]
push edx
call fcn.004060b0
add esp, 8
cmp dword [0x430a64], eax
ja 0x4105cf
call fcn.00406380
cmp eax, dword [0x430a20]
je 0x410708
mov eax, dword [ebp - 0xdb8]
push eax
mov ecx, dword [ebp - 0xdb8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
mov dword [ebp - 0xdb8], eax
mov edx, dword [ebp - 0xdb8]
mov dword [ebp - 0xdbc], edx
imul ecx, dword [ebp - 0xdbc], 0x3916
mov eax, 0x18185
cdq
idiv dword [ebp - 0xdbc]
sub ecx, edx
sub ecx, dword [ebp - 0xdc4]
mov dword [ebp - 0xdc4], ecx
mov eax, dword [ebp - 0xdc4]
cdq
idiv dword [ebp - 0xdcc]
mov dword [ebp - 0xdcc], edx
mov eax, 0x3d5d
cdq
idiv dword [ebp - 0xdc4]
mov dword [0x430acc], edx
mov ecx, dword [ebp - 0xdb8]
imul ecx, dword [ebp - 0xdc4]
mov eax, dword [ebp - 0xdc4]
cdq
idiv dword [ebp - 0xdc4]
cdq
idiv dword [ebp - 0xdbc]
imul edx, dword [ebp - 0xdb8]
sub ecx, edx
mov dword [ebp - 0xdb8], ecx
mov edx, dword [ebp - 0xdcc]
sub edx, dword [ebp - 0xdcc]
mov dword [ebp - 0xdb8], edx
mov eax, dword [ebp - 0xdc4]
sub eax, dword [ebp - 0xdbc]
mov edx, dword [ebp - 0xdb8]
mov ecx, dword [ebp - 0xdb8]
sar edx, cl
and eax, edx
mov dword [ebp - 0xdb8], eax
mov eax, dword [ebp - 0xdb8]
cmp eax, dword [0x430a60]
ja 0x4105cf
imul ecx, dword [ebp - 0xdb8], 0x17783
add ecx, dword [ebp - 0xdbc]
and ecx, dword [ebp - 0xdcc]
and ecx, dword [ebp - 0xdb8]
or ecx, dword [ebp - 0xdc4]
mov dword [ebp - 0xdbc], ecx
mov eax, dword [ebp - 0xdbc]
imul eax, dword [ebp - 0xdcc]
cdq
mov ecx, 0x104c4
idiv ecx
imul edx, edx, 0x63e9
imul edx, dword [ebp - 0xdcc]
mov dword [ebp - 0xdb8], edx
jmp 0x41075d
mov eax, 0xf441
cdq
idiv dword [ebp - 0xdbc]
add edx, 0x13362
mov dword [ebp - 0xdbc], edx
mov eax, dword [ebp - 0xdbc]
imul eax, dword [ebp - 0xdc4]
imul eax, dword [ebp - 0xdbc]
mov dword [ebp - 0xdc4], eax
imul ecx, dword [ebp - 0xdbc], 0x1829d
mov edx, dword [ebp - 0xdcc]
lea eax, [ecx + edx - 0x171b5]
sub eax, dword [ebp - 0xdb8]
mov dword [ebp - 0xdbc], eax
jmp 0x410571
mov ecx, dword [0x430a34]
cmp ecx, dword [ebp - 0xdb8]
jl 0x410563
mov eax, dword [ebp - 0xe18]
add eax, 1
xor edx, edx
div dword [ebp - 0xdf4]
mov dword [ebp - 0xe18], edx
jmp 0x41050d
mov dword [ebp - 0xd50], 0
push 0
lea edx, [ebp - 0xd50]
push edx
mov eax, dword [ebp - 0xd4c]
push eax
mov ecx, dword [ebp - 0xdf8]
push ecx
mov edx, dword [ebp - 0xe14]
push edx
call dword [0x4330f0]
test eax, eax
je 0x4107d0
mov eax, dword [ebp - 0xd50]
cmp eax, dword [ebp - 0xd4c]
je 0x4107d2
jmp 0x4107d7
jmp 0x4104b1
mov ecx, dword [ebp - 0xdf8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edx, dword [ebp - 0xe14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xdc0]
push eax
call dword [0x4330cc]
mov ecx, dword [ebp - 0xdc8]
push ecx
call dword [0x4330cc]
movzx edx, byte [ebp - 0xd41]
cmp edx, 2
jne 0x410b06
xor eax, eax
mov byte [ebp - 0xdcd], al
lea ecx, [ebp - 0xe98]
push ecx
lea ecx, [ebp - 0xdcd]
call fcn.00410d70
mov dword [ebp - 0xde4], eax
mov dword [ebp - 0xde0], 0
jmp 0x41085f
mov edx, dword [ebp - 0xde0]
add edx, 1
mov dword [ebp - 0xde0], edx
cmp dword [ebp - 0xde0], 6
jae 0x4108c1
mov eax, dword [ebp - 0xde0]
mov ecx, dword [ebp - 0xde4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0xe60], edx
mov eax, dword [ebp - 0xe60]
movzx ecx, word [eax]
mov edx, dword [ebp - 0xde4]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0xdfe], cx
mov ecx, dword [ebp - 0xde0]
mov edx, dword [ebp - 0xde4]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0xe5c], eax
mov ecx, dword [ebp - 0xe5c]
mov dx, word [ebp - 0xdfe]
mov word [ecx], dx
jmp 0x410850
mov eax, 6
shl eax, 1
mov ecx, dword [ebp - 0xde4]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0xe58], edx
xor eax, eax
mov ecx, dword [ebp - 0xe58]
mov word [ecx], ax
mov edx, dword [ebp - 0xde4]
add edx, 2
mov dword [ebp - 0xe54], edx
mov eax, dword [ebp - 0xe54]
push eax
push 0x104
lea ecx, [ebp - 0x328]
push ecx
call fcn.00419d8c
add esp, 0xc
xor edx, edx
mov byte [ebp - 0xdce], dl
xor eax, eax
mov byte [ebp - 0xdf9], al
lea ecx, [ebp - 0xeb4]
push ecx
lea ecx, [ebp - 0xdce]
call fcn.00410df0
mov dword [ebp - 0xdd8], eax
mov dword [ebp - 0xdd4], 0
jmp 0x410950
mov edx, dword [ebp - 0xdd4]
add edx, 1
mov dword [ebp - 0xdd4], edx
cmp dword [ebp - 0xdd4], 0xc
jae 0x4109b2
mov eax, dword [ebp - 0xdd4]
mov ecx, dword [ebp - 0xdd8]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 0xe50], edx
mov eax, dword [ebp - 0xe50]
movzx ecx, word [eax]
mov edx, dword [ebp - 0xdd8]
movsx eax, byte [edx]
xor ecx, eax
mov word [ebp - 0xe02], cx
mov ecx, dword [ebp - 0xdd4]
mov edx, dword [ebp - 0xdd8]
lea eax, [edx + ecx*2 + 2]
mov dword [ebp - 0xe40], eax
mov ecx, dword [ebp - 0xe40]
mov dx, word [ebp - 0xe02]
mov word [ecx], dx
jmp 0x410941
mov eax, 0xc
shl eax, 1
mov ecx, dword [ebp - 0xdd8]
lea edx, [ecx + eax + 2]
mov dword [ebp - 0xe44], edx
xor eax, eax
mov ecx, dword [ebp - 0xe44]
mov word [ecx], ax
mov edx, dword [ebp - 0xdd8]
add edx, 2
mov dword [ebp - 0xe34], edx
mov byte [ebp - 0xe10], 0x3d
xor eax, eax
mov byte [ebp - 0xe0f], al
mov ecx, 0x72
mov word [ebp - 0xe0e], cx
mov edx, 0x6d
mov word [ebp - 0xe0c], dx
mov eax, 0x78
mov word [ebp - 0xe0a], ax
mov ecx, 0x73
mov word [ebp - 0xe08], cx
xor edx, edx
mov word [ebp - 0xe06], dx
mov dword [ebp - 0xddc], 0
jmp 0x410a46
mov eax, dword [ebp - 0xddc]
add eax, 1
mov dword [ebp - 0xddc], eax
cmp dword [ebp - 0xddc], 4
jae 0x410aa0
mov ecx, dword [ebp - 0xddc]
lea edx, [ebp + ecx*2 - 0xe0e]
mov dword [ebp - 0xe48], edx
mov eax, dword [ebp - 0xe48]
movzx ecx, word [eax]
movsx edx, byte [ebp - 0xe10]
xor ecx, edx
mov word [ebp - 0xe00], cx
mov eax, dword [ebp - 0xddc]
lea ecx, [ebp + eax*2 - 0xe0e]
mov dword [ebp - 0xe2c], ecx
mov edx, dword [ebp - 0xe2c]
mov ax, word [ebp - 0xe00]
mov word [edx], ax
jmp 0x410a37
mov ecx, 4
shl ecx, 1
lea edx, [ebp + ecx - 0xe0e]
mov dword [ebp - 0xe30], edx
xor eax, eax
mov ecx, dword [ebp - 0xe30]
mov word [ecx], ax
lea edx, [ebp - 0xe0e]
mov dword [ebp - 0xe38], edx
push 0
push 0
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ebp - 0xe34]
push ecx
mov edx, dword [ebp - 0xe38]
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [0x4330ec]
mov dword [ebp - 0xe70], eax
mov eax, 1
jmp 0x410ce5
movzx eax, byte [ebp - 0xd41]
cmp eax, 0xd
jne 0x410bc4
mov dword [ebp - 0xe74], 0
lea ecx, [ebp - 0x530]
push ecx
push 1
push 0
push 0x1c
push 0
call dword [0x4330d8]
push 0x42d4a8
push 0x104
lea edx, [ebp - 0x530]
push edx
call fcn.00419d8c
add esp, 0xc
push 5
lea eax, [ebp - 0x10]
push eax
call fcn.0040e150
add esp, 8
lea ecx, [ebp - 0x10]
push ecx
push 0x104
lea edx, [ebp - 0x530]
push edx
call fcn.00419d8c
add esp, 0xc
push 0
lea eax, [ebp - 0x530]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea ecx, [ebp - 0x530]
push ecx
lea edx, [ebp - 0x328]
push edx
call fcn.00410f90
add esp, 8
lea eax, [ebp - 0x530]
push eax
call fcn.00411260
add esp, 4
lea ecx, [ebp - 0x328]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
jmp 0x410ce5
movzx edx, byte [ebp - 0xd41]
cmp edx, 8
jne 0x410c97
push 0x44
push 0
lea eax, [ebp - 0xdb0]
push eax
call fcn.00413ca0
add esp, 0xc
mov dword [ebp - 0xdb0], 0x44
xor ecx, ecx
mov dword [ebp - 0xd6c], ecx
mov dword [ebp - 0xd68], ecx
mov dword [ebp - 0xd64], ecx
mov dword [ebp - 0xd60], ecx
push 4
push 0x23
push 0x4309b0
call fcn.0040d030
add esp, 0xc
mov dword [ebp - 0xe68], eax
mov edx, dword [ebp - 0xe68]
push edx
push 0x200
lea eax, [ebp - 0xd40]
push eax
call fcn.00419d8c
add esp, 0xc
lea ecx, [ebp - 0x328]
push ecx
push 0x200
lea edx, [ebp - 0xd40]
push edx
call fcn.00419d8c
add esp, 0xc
lea eax, [ebp - 0xd6c]
push eax
lea ecx, [ebp - 0xdb0]
push ecx
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea edx, [ebp - 0xd40]
push edx
push 0
call dword [0x4330dc]
test eax, eax
jne 0x410c8e
xor eax, eax
jmp 0x410ce5
mov eax, 1
jmp 0x410ce5
push 0
push 0
lea eax, [ebp - 0x328]
push eax
push 4
push 0xd
push 0x430ad0
call fcn.0040d030
add esp, 0xc
push eax
push 4
push 5
push 0x430a14
call fcn.0040d030
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [0x4330ec]
mov dword [ebp - 0xe78], eax
mov eax, 1
jmp 0x410ce5
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004125c1
mov esp, ebp
pop ebp
ret