Function at 0x100a8c40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010694b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x10141fc4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x220], esi
cmp eax, dword [esi + 0x64]
jne 0x100a8e8f
push 0xa2c
call fcn.100a6b20
mov edi, eax
add esp, 4
test edi, edi
je 0x100a8cea
mov ecx, dword [ebx + 8]
mov dword [edi], ecx
mov ecx, dword [ebx + 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [ebx + 0x28]
mov dword [edi + 8], ecx
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x7c]
mov dword [edi + 0x10], eax
mov eax, dword [ebx + 0x80]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0x18]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x78]
push 0xa08
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x20]
push 0
push eax
call fcn.100caf90
add esp, 0xc
mov dword [edi + 0xa28], 0xffffffff
jmp 0x100a8cec
xor edi, edi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x100a8d05
push eax
lea eax, [edi + 0x20]
push 0x104
push eax
call fcn.100d50bd
add esp, 0xc
mov eax, dword [ebx + 4]
sub eax, 1
je 0x100a8ead
sub eax, 1
je 0x100a8d59
sub eax, 1
jne 0x100a8e7a
push str.download_error
lea eax, [edi + 0x228]
push 0x400
push eax
call fcn.100d50bd
lea eax, [esi + 0x34]
mov dword [edi + 0xa28], 0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x100a8d4d
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100a8e7a
mov dword [edi + 0xa28], 1
cmp dword [esi + 0x5c], 0
je 0x100a8e7a
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
call fcn.10032e70
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.100caf90
lea ebx, [esi + 0x34]
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100a8dac
mov eax, dword [ebx]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.10080ca0
add esp, 0xc
test eax, eax
je 0x100a8e4f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a8dd2
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000a120
add esi, 0x4c
cmp dword [esi + 0x14], 8
jb 0x100a8dff
mov esi, dword [esi]
test esi, esi
je 0x100a8eb9
push esi
mov esi, dword [ebp - 0x21c]
push esi
call fcn.100d46a7
add esp, 8
test eax, eax
je 0x100a8e55
push str.md5_check_failed
lea eax, [edi + 0x228]
push 0x400
push eax
call fcn.100d50bd
add esp, 0xc
mov dword [edi + 0xa28], 3
cmp dword [ebx + 0x14], 8
jb 0x100a8e46
mov ebx, dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x100a8e55
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x100a8e74
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x100a8e8f
push edi
push esi
push 0x800
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100afcfe
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi + 0xa28], 2
jmp 0x100a8e7a
push 0x80004005
call fcn.10009640
int3