Function at 0x453e30
Capabilities:
Delete file
Query environment variable
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e5e61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2ec
push esi
mov esi, dword [esp + 0x300]
mov eax, dword [esi + 4]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 8], edi
jle 0x453f80
push 0x5194ec
mov dword [esp + 0x24], 0x5194ec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x2fc], edi
call fcn.00443b90
mov eax, dword [0x519450]
cmp eax, edi
mov dword [esp + 0xc], 0xfffffffd
je 0x453eab
push edi
call eax
cmp eax, edi
mov dword [esp + 0xc], eax
je 0x453eab
cmp eax, 1
jne 0x453eab
call dword [0x519454]
mov eax, dword [esi]
push eax
mov eax, dword [esi + 4]
mov byte [esp + 0x300], 1
call fcn.00443c70
mov esi, eax
add esp, 4
cmp esi, edi
je 0x453ee0
mov ecx, dword [esi]
lea edx, [esp + 8]
push edx
push esi
call dword [ecx + 0xc]
mov eax, dword [esp + 8]
cmp eax, edi
jne 0x453ee8
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [esp + 8]
cmp eax, edi
je 0x453f27
mov esi, eax
mov eax, dword [0x519454]
cmp eax, edi
mov byte [esp + 0x2fc], 0
je 0x453f03
cmp dword [esp + 0xc], edi
jne 0x453f03
call eax
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x2ec]
mov dword fs:[0], ecx
add esp, 0x2f8
ret
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0x104
lea ecx, [esp + 0x28]
push ecx
push 0x4ef5e0
mov word [esp + 0x30], di
call esi
cmp eax, edi
jg 0x453f99
push 0x104
lea edx, [esp + 0x28]
push edx
push 0x4ef5d4
call esi
cmp eax, edi
jg 0x453f99
mov eax, dword [0x519454]
cmp eax, edi
mov byte [esp + 0x2fc], 0
je 0x453f75
cmp dword [esp + 0xc], edi
jne 0x453f75
call eax
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2ec]
mov dword fs:[0], ecx
add esp, 0x2f8
ret
push ebx
push ebp
mov dword [esp + 0x18], edi
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea eax, [esp + eax*2 + 0x2c]
mov byte [esp + 0x304], 2
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x24], eax
lea esp, [esp]
call fcn.00441790
mov esi, eax
call ebp
add esi, eax
push esi
call ebx
mov ecx, dword [esp + 0x28]
push eax
push str.pecmd_bmp._lu._lu.tmp
push ecx
call edi
add esp, 0x10
push 0
push 0x80
push 1
push 0
push 5
push 0x40000000
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x34]
call fcn.004167bc
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x454051
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
dec dword [esp + 0x1c]
jns 0x453fd0
mov eax, dword [0x519454]
test eax, eax
mov byte [esp + 0x304], 0
je 0x45403f
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x45403f
call eax
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x454109
push 0
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x314]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
push esi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, 0xffffffff
je 0x454081
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
push 0
mov dword [esp + 0x30], 0
call dword [sym.imp.USER32.dll_LoadImageW]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4540d2
lea ecx, [esp + 0x2c]
push ecx
call fcn.00453800
mov esi, eax
add esp, 4
test esi, esi
je 0x4540d2
mov edx, dword [esi]
lea eax, [esp + 0x10]
push eax
push esi
call dword [edx + 0xc]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4540d2
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x519454]
test eax, eax
mov esi, dword [esp + 0x10]
mov byte [esp + 0x304], 0
je 0x4540fc
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4540fc
call eax
push 0x5194ec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x2fc]
pop ebp
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2f8
ret