Function at 0x402870
Capabilities:
Access peb ldr_data
Delete file
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x432690
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x441618]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
push 0x4388d4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0
call fcn.00403ad0
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 1
call fcn.00405c18
push str..
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 2
call fcn.004037b0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x24]
mov bl, 3
push edx
mov byte [esp + 0x60], bl
call fcn.00402f80
add esp, 0xc
mov byte [esp + 0x54], 4
mov eax, dword [eax]
push 0
push eax
lea ecx, [esp + 0x38]
call fcn.00405cd5
mov esi, eax
mov byte [esp + 0x54], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402924
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x54], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.00404229
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402963
push 0x80004005
call fcn.00404110
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x54], 5
test esi, esi
je 0x402be4
lea ecx, [esp + 0x30]
call fcn.004058fa
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], eax
call fcn.00405bd9
test eax, eax
jne 0x402bd9
mov edx, dword [esp + 0x30]
mov eax, dword [edx + 0x38]
push 0x10
lea ecx, [esp + 0x34]
call eax
test eax, eax
je 0x402b22
cmp dword [edi - 0xc], 0
mov esi, dword [edi - 0x10]
lea eax, [edi - 0x10]
je 0x402a08
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x4029e2
cmp dword [edi - 8], 0
jl 0x402c7d
xor ecx, ecx
mov dword [edi - 0xc], 0
mov word [edi], cx
jmp 0x402a08
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4029f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, esi
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x34]
call fcn.00405f47
mov byte [esp + 0x54], 6
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x402a72
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x402a60
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402a60
push eax
call fcn.00403e10
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x402a57
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebp + 0x10]
mov dword [esp + 0x18], edi
jmp 0x402a72
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403d60
mov edi, dword [esp + 0x18]
mov byte [esp + 0x54], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402a97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, dword [edi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea esi, [edi - 0x10]
mov dword [esp + 0x30], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x402ad5
cmp eax, dword [esi]
jne 0x402ad5
mov ebp, esi
mov edx, 1
lock xadd dword [ecx], edx
add ebp, 0x10
mov dword [ebx], ebp
call fcn.004017a0
add esp, 4
jmp 0x402bd9
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x402c87
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.0041e768
add ebp, 0x10
add esp, 0x10
mov dword [ebx], ebp
call fcn.004017a0
add esp, 4
jmp 0x402bd9
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x34]
call fcn.00405f47
mov byte [esp + 0x54], 7
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x402b8c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x402b7a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x402b7a
push eax
call fcn.00403e10
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x402b71
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
lea edi, [ebp + 0x10]
mov dword [esp + 0x18], edi
jmp 0x402b8c
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403d60
mov edi, dword [esp + 0x18]
mov byte [esp + 0x54], 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 0x402bb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [edi - 0xc], 0
jl 0x402bd2
push str.Unist.xml
push edi
call fcn.0041ef0b
add esp, 8
test eax, eax
je 0x402bd2
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
jne 0x402bd9
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x24], 0
jne 0x402980
lea ecx, [esp + 0x30]
call fcn.00405814
lea eax, [edi - 0x10]
mov byte [esp + 0x54], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 1
call fcn.00405c41
mov byte [esp + 0x54], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c41
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x54], 0xffffffff
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402c69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
push 0x80070057
call fcn.00404110
call fcn.00404040
int3