Function at 0x425660
Capabilities:
Delete file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x394
xor eax, eax
push ebx
mov byte [esp + 0x290], al
mov byte [esp + 0x10], al
push esi
push edi
mov ecx, 0x41
lea edi, [esp + 0xf9]
mov byte [esp + 0xf8], 0
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x299]
rep stosd dword es:[edi], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
mov dword [esp + 0x29], eax
mov dword [esp + 0x2d], eax
mov dword [esp + 0x31], eax
mov word [esp + 0x35], ax
mov byte [esp + 0x38], al
mov byte [esp + 0x37], al
mov ecx, 0x2e
lea edi, [esp + 0x39]
mov dword [esp + 0x200], 0
mov ebx, 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov ecx, 0x24
lea edi, [esp + 0x204]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
test edi, edi
mov dword [esp + 0xc], ebx
je 0x425a6b
mov ecx, dword [ebp + 0x10]
cmp ecx, ebx
jl 0x425a6b
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push 0x104
lea eax, [esp + 0xfc]
push eax
push str.TEMP
call esi
test eax, eax
jle 0x425784
cmp eax, 0x104
jae 0x425784
lea eax, [esp + 0xf8]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425750
sub eax, edx
cmp byte [esp + eax + 0xf7], 0x5c
je 0x4257eb
lea edi, [esp + 0xf8]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x425770
mov cx, word [0x469b10]
mov word [edi], cx
jmp 0x4257eb
push 0x104
lea edx, [esp + 0xfc]
push edx
push 0x4757f8
call esi
test eax, eax
jle 0x4257e3
cmp eax, 0x104
jae 0x4257e3
lea eax, [esp + 0xf8]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4257b0
sub eax, edx
cmp byte [esp + eax + 0xf7], 0x5c
je 0x4257eb
lea edi, [esp + 0xf8]
dec edi
jmp 0x4257d0
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4257d0
mov ax, word [0x469b10]
mov word [edi], ax
jmp 0x4257eb
mov byte [esp + 0xf8], 0
mov ecx, dword [str.ipXXXXXX]
mov edx, dword [0x4757f0]
mov al, byte [0x4757f4]
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov byte [esp + 0x24], al
call fcn.00467d9e
lea edi, [esp + 0x1c]
add esp, 4
dec edi
lea ebx, [ebx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x425820
mov edx, dword [str..txt]
mov al, byte [0x4757e8]
mov dword [edi], edx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xfc]
push edx
mov byte [edi + 4], al
lea eax, [esp + 0x2a0]
push 0x4697b0
push eax
call fcn.00458ee7
add esp, 0x10
lea ecx, [esp + 0x200]
push ecx
mov dword [esp + 0x204], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4258aa
cmp dword [esp + 0x210], ebx
jne 0x4258aa
push 0
lea edx, [esp + 0x29c]
push edx
push str._batch
push str._all
push str.winipcfg
push str.winipcfg
push 0
call fcn.00467d88
add esp, 0x1c
jmp 0x4258c8
push 0
push 0
lea eax, [esp + 0x2a0]
push eax
push 0x2710
push str.ipconfig__all
call fcn.00446f70
add esp, 0x14
lea ecx, [esp + 0x298]
push 0x473eec
push ecx
call fcn.00459902
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4259d1
test byte [ebx + 0xc], 0x10
jne 0x425941
lea ecx, [ecx]
lea edx, [esp + 0x38]
push ebx
push edx
call fcn.00423ed0
mov eax, dword [esp + 0xa4]
add esp, 8
test eax, eax
je 0x42593b
mov esi, dword [ebp + 8]
mov al, byte [esi]
cmp al, byte [esp + 0xa0]
jne 0x42593b
mov cl, byte [esi + 1]
cmp cl, byte [esp + 0xa1]
jne 0x42593b
mov dl, byte [esi + 2]
cmp dl, byte [esp + 0xa2]
jne 0x42593b
mov al, byte [esi + 3]
cmp al, byte [esp + 0xa3]
je 0x425952
test byte [ebx + 0xc], 0x10
je 0x4258f0
mov esi, dword [ebp + 8]
push ebx
call fcn.00459521
add esp, 4
jmp 0x4259dc
lea eax, [esp + 0xcc]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425960
sub eax, edx
test eax, eax
jle 0x4259be
mov ecx, dword [ebp + 0x10]
dec ecx
cmp eax, ecx
jle 0x425977
mov eax, ecx
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, ecx
shr ecx, 2
mov edi, eax
lea esi, [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
push eax
push 0x473934
mov ecx, edx
and ecx, 3
push 0x4757b4
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0044dcb0
mov eax, dword [ebp + 0xc]
push eax
push 0x473934
push 0x469b8c
push eax
call fcn.0044dcb0
mov esi, dword [ebp + 8]
add esp, 0x20
push ebx
mov dword [esp + 0x10], 0
call fcn.00459521
add esp, 4
jmp 0x4259dc
mov esi, dword [ebp + 8]
mov dword [esp + 0xc], 0xfffffffe
lea eax, [esp + 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x425a60
lea ecx, [esp + 0x10]
push ecx
push esi
call fcn.004255c0
add esp, 8
test eax, eax
jne 0x425a60
movzx edx, byte [esp + 0x15]
movzx eax, byte [esp + 0x14]
movzx ecx, byte [esp + 0x13]
push edx
movzx edx, byte [esp + 0x16]
push eax
movzx eax, byte [esp + 0x19]
push ecx
movzx ecx, byte [esp + 0x1c]
push edx
push eax
push ecx
lea edx, [esp + 0x30]
push str._02X__02X__02X__02X__02X__02X
push edx
call fcn.00458ee7
mov ecx, dword [ebp + 0x10]
add esp, 0x20
cmp eax, ecx
jg 0x425a43
mov ecx, eax
mov edi, dword [ebp + 0xc]
mov eax, ecx
shr ecx, 2
lea esi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret