Function at 0x413cc0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x447db0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x458ad0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x458ad0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x3c], vtable.CHttpGet.0
mov dword [0x45cfd8], ebx
mov dword [0x45cfcc], ebx
lea ebp, [ebx + 1]
mov byte [esp + 0x90], 1
call fcn.004258a0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x413d42
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x90], 2
call fcn.004258a0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x413d74
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x90], 3
call fcn.004258a0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x413da6
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x90], 4
call fcn.004258a0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x413dd8
push 0x80004005
call fcn.00401010
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x9c], 5
mov eax, dword [esp + 0xc0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00404f60
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004076b0
lea ecx, [esp + 0xcc]
push ecx
lea edx, [esp + 0xcc]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004168a0
add esp, 0x1c
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 6
call fcn.004080d0
mov byte [esp + 0x90], 5
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 0x413e7a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
push eax
push esi
lea ecx, [esp + 0xc0]
call fcn.00408a70
cmp dword [esi - 4], ebp
jle 0x413ea5
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x20]
call fcn.00405ee0
mov esi, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call fcn.004075b0
add esp, 4
mov byte [esp + 0x90], 7
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00429e0a
add esp, 8
cmp eax, ebx
jl 0x4143a4
cmp eax, dword [esi - 8]
jg 0x4143a4
mov dword [esi - 0xc], eax
mov edi, 0x10
mov byte [eax + esi], bl
cmp dword [esp + 0x80], edi
jb 0x413efc
mov eax, dword [esp + 0x6c]
mov edx, eax
cmp eax, ebx
jne 0x413f00
xor eax, eax
jmp 0x413f0e
lea edx, [esp + 0x6c]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x413f05
sub eax, esi
push eax
push edx
lea ecx, [esp + 0x24]
call fcn.00404e80
mov esi, dword [esp + 0x18]
cmp dword [esi - 4], ebp
jle 0x413f33
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00405ee0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x4c]
push ecx
mov ecx, esi
call fcn.004075b0
add esp, 4
mov byte [esp + 0x90], 8
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00429e0a
add esp, 8
cmp eax, ebx
jl 0x4143a4
cmp eax, dword [esi - 8]
jg 0x4143a4
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
cmp dword [esp + 0x64], edi
jb 0x413f80
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
jne 0x413f84
xor eax, eax
jmp 0x413f99
lea ecx, [esp + 0x50]
mov eax, ecx
lea esi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x413f90
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00404e80
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0xc8]
push edx
push eax
mov eax, dword [esp + 0xc0]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x40], esp
mov esi, esp
push eax
call fcn.00404f60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xa0], 9
mov ebp, dword [esp + 0x2c]
add ebp, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
push ebp
call fcn.00404f60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xa4], 0xa
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x5c], esp
mov esi, esp
push eax
mov dword [esp + 0x40], eax
call fcn.00404f60
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xa8], 0xb
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov dword [esp + 0x5c], esp
mov esi, esp
push eax
mov dword [esp + 0x3c], eax
call fcn.00404f60
add eax, 0x10
mov dword [esi], eax
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x64], esp
push 0xffffffffffffffff
mov byte [esp + 0xc8], 0xc
push ebx
lea edx, [esp + 0xd4]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push edx
mov byte [ecx + 4], bl
call fcn.00403f10
lea eax, [esp + 0x70]
push eax
mov byte [esp + 0xc8], 8
call fcn.004148c0
mov edi, eax
cmp edi, ebx
je 0x414171
cmp dword [esp + 0x64], 0x10
jb 0x414093
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0041e1fe
add esp, 4
cmp dword [esp + 0x80], 0x10
mov esi, 0xf
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x4140bb
mov edx, dword [esp + 0x6c]
push edx
call fcn.0041e1fe
add esp, 4
mov byte [esp + 0x90], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4140f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 3
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414114
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x28]
mov byte [esp + 0x90], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414139
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41415e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x98]
call fcn.004022e0
mov eax, edi
jmp 0x4144e2
mov ecx, dword [esp + 0x14]
cmp dword [ecx], ebx
je 0x4143ae
mov esi, dword [esp + 0xb8]
cmp dword [esi - 4], 1
jle 0x4141a1
mov edx, dword [esi - 0xc]
push edx
lea ecx, [esp + 0xbc]
call fcn.00405ee0
mov esi, dword [esp + 0xb8]
sub esp, 0x1c
mov ecx, esp
mov eax, esi
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
mov dword [esp + 0x4c], esp
mov byte [ecx + 4], bl
lea edi, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4141c0
sub eax, edi
push eax
push esi
call fcn.004051d0
call fcn.004078f0
mov ecx, dword [esp + 0x30]
add esp, 0x1c
cmp eax, dword [ecx]
jb 0x4143ae
xor edi, edi
call fcn.004258a0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x413d38
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x90], 0xd
mov ecx, dword [esp + 0xb8]
push edi
push ecx
lea edx, [esp + 0x1c]
push str._s__d
push edx
call fcn.00408b20
mov esi, dword [esp + 0x24]
add esp, 0x10
cmp dword [esi - 4], 1
jle 0x414248
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00405ee0
mov esi, dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00429e0a
add esp, 8
cmp eax, ebx
jl 0x4143a4
cmp eax, dword [esi - 8]
jg 0x4143a4
mov dword [esi - 0xc], eax
mov byte [eax + esi], bl
lea eax, [esi - 0x10]
mov byte [esp + 0x90], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414297
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc edi
cmp edi, 0x32
jl 0x4141e6
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0xb8]
push esi
push ecx
call fcn.00441120
add esp, 8
cmp dword [esp + 0x64], 0x10
jb 0x4142ca
mov edx, dword [esp + 0x50]
push edx
call fcn.0041e1fe
add esp, 4
cmp dword [esp + 0x80], 0x10
mov edi, 0xf
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x4142f2
mov eax, dword [esp + 0x6c]
push eax
call fcn.0041e1fe
add esp, 4
lea eax, [esi - 0x10]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x90], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414325
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 3
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414347
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x28]
mov byte [esp + 0x90], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41436c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x98]
call fcn.004022e0
xor eax, eax
jmp 0x4144e2
push 0x80070057
call fcn.00401010
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.00429e0a
add esp, 8
cmp eax, ebx
jl 0x4143a4
mov ecx, dword [esp + 0xb8]
cmp eax, dword [ecx - 8]
jg 0x4143a4
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0xb8]
mov byte [eax + ecx], bl
mov edx, dword [esp + 0xb8]
push edx
call esi
mov edi, dword [esp + 0x24]
push edi
call esi
cmp dword [esp + 0x64], 0x10
jb 0x41440a
mov eax, dword [esp + 0x50]
push eax
call fcn.0041e1fe
add esp, 4
cmp dword [esp + 0x80], 0x10
mov esi, 0xf
mov dword [esp + 0x64], esi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
jb 0x414432
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.0041e1fe
add esp, 4
lea eax, [edi - 0x10]
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x90], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414465
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 3
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414487
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x28]
mov byte [esp + 0x90], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x90], 1
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4144d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x98]
call fcn.004022e0
mov eax, 2
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00428e93
add esp, 0x80
ret 0x38