Function at 0x41b140
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5066b0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x543720]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x74], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x60], esi
test esi, esi
je 0x41b542
cmp byte [esi + 0x180d], 0
je 0x41b542
cmp byte [esi + 0x180c], 1
jne 0x41b542
cmp byte [esi + 0x24b5], 0
jne 0x41b542
cmp byte [esi + 0x24b7], 0
je 0x41b1c4
cmp dword [ebx + 0x4d0], 0
jne 0x41b1c4
cmp dword [ebx + 0x254], 0
jne 0x41b542
push 0
push 0
push 0x4d3
push dword [ebx + 0x250]
call dword [sym.imp.USER32.dll_PostMessageW]
mov word [esi + 0x180d], 1
mov dword [esi + 0x247c], 0
mov eax, dword [ebx + 0x12d8]
cmp dword [eax + 0x1d4], 0
jne 0x41b202
mov ecx, dword [esi]
call fcn.00456fc0
lea eax, [esi + 0x804]
push eax
lea ecx, [ebp - 0x44]
call fcn.00401d30
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x5c]
lea eax, [esi + 4]
push eax
call fcn.00401d30
mov byte [ebp - 4], 1
mov eax, 2
mov dword [ebp - 0x6c], 0
xor ecx, ecx
xor ebx, ebx
mov dword [ebp - 0x70], eax
test eax, eax
jle 0x41b432
lea edi, [esi + 0x404]
xor ecx, ecx
lea edx, [esi + 0x1c24]
cmp byte [edi], cl
je 0x41b262
cmp dword [esi + 0x24c8], ecx
je 0x41b267
mov ecx, 1
mov dword [ebp - 0x68], vtable.CCURLWrapper.0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
push 0
cmovae eax, dword [ebp - 0x5c]
push 0
push 0
push 0
push ecx
push 0
push edx
push 0
push edi
lea ecx, [esi + 0x804]
push ecx
push eax
call fcn.0042f800
cmp byte [edi], 0
mov dword [ebp - 0x78], eax
jne 0x41b2a5
xor ecx, ecx
jmp 0x41b2b9
mov ecx, edi
lea edx, [ecx + 1]
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b2b0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x44]
call fcn.0040a330
cmp dword [ebp - 0x78], 0
jne 0x41b37c
mov byte [esi + 0x180e], 1
mov eax, 1
cmp byte [esi + 0x2480], 0
mov dword [ebp - 0x64], eax
je 0x41b423
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
mov byte [ebp - 4], 3
lea edx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x44]
call fcn.004567e0
add esp, 4
lea eax, [esi + 0x2488]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
push eax
push ecx
call fcn.004e26fb
add esp, 8
test eax, eax
je 0x41b3de
mov dword [esi + 0x2484], 0xa
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x41b368
push dword [ebp - 0x2c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jmp 0x41b38e
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov byte [ebp - 4], 1
inc ebx
mov dword [ebp - 0x68], vtable.CCURLWrapper.0
cmp ebx, dword [ebp - 0x70]
jl 0x41b24e
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x6c]
test ecx, ecx
jne 0x41b46c
test eax, eax
jne 0x41b470
lea edx, [esi + 0x25dc]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b3c4
sub ecx, edi
cmp ecx, 3
jbe 0x41b4ea
cmp byte [edx], al
jne 0x41b43a
xor ecx, ecx
jmp 0x41b449
mov eax, 1
mov dword [ebp - 0x64], eax
mov dword [esi + 0x2484], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0x10
jb 0x41b404
push dword [ebp - 0x2c]
call fcn.004e03e4
mov eax, dword [ebp - 0x64]
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x68], vtable.CCURLWrapper.0
jmp 0x41b3a6
mov byte [ebp - 4], al
mov dword [ebp - 0x68], vtable.CCURLWrapper.0
jmp 0x41b3a6
mov eax, dword [ebp - 0x64]
jmp 0x41b3a9
mov ecx, edx
lea edi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b440
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x5c]
call fcn.00402090
mov eax, 1
mov dword [esi + 0x29dc], 1
mov ecx, eax
mov dword [ebp - 0x6c], ecx
jmp 0x41b23b
test eax, eax
je 0x41b4ea
mov edi, dword [ebp - 0x74]
mov ecx, edi
push esi
call fcn.0041b7f0
test eax, eax
je 0x41b4ea
mov byte [esi + 0x180e], 1
mov dword [esi + 0x247c], 1
mov eax, dword [edi + 0x12d8]
cmp dword [eax + 0x1d4], 0
je 0x41b4a6
mov ecx, dword [esi]
call fcn.00456fc0
mov ecx, dword [edi + 0x12d8]
cmp dword [ecx + 0x1e8], 0
je 0x41b4d0
cmp byte [esi + 0x2a10], 0
je 0x41b4d0
lea eax, [ebp - 0x60]
add ecx, 0x1dc
push eax
call fcn.004194a0
mov esi, dword [ebp - 0x60]
cmp byte [esi + 0x24b6], 0
je 0x41b4ea
call fcn.0041f050
lea eax, [esi + 0x140c]
push eax
call fcn.0042b7a0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x48], 0x10
jb 0x41b4ff
push dword [ebp - 0x5c]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x30], 0x10
jb 0x41b529
push dword [ebp - 0x44]
call fcn.004e03e4
add esp, 4
mov dword [ebp - 0x30], 0xf
mov eax, 1
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
jmp 0x41b544
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004e03e9
mov esp, ebp
pop ebp
ret 4