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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2fc
push ebx
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00441a32
test al, al
setne al
cmp al, bl
pop ecx
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
jne 0x44cae9
xor eax, eax
jmp 0x44cce1
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
push dword [ebp + 8]
mov word [ebp - 0x2fc], bx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
call fcn.0040e9a0
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x44ccd6
lea ecx, [ebp - 0x14]
call fcn.0043dc57
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x2c], esi
call fcn.00441a93
add esp, 0xc
cmp dword [ebp - 0x10], ebx
jle 0x44ccc6
push 0x4c1724
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
call fcn.0043cde7
lea ecx, [ebp - 8]
call fcn.0040e158
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0043ce6f
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x44cb88
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push esi
call dword [eax + 0xc]
cmp dword [ebp - 4], ebx
jne 0x44cb8d
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [ebp - 4], ebx
je 0x44cba7
mov eax, dword [fcn.004c1350]
cmp eax, ebx
mov esi, dword [ebp - 4]
je 0x44cba0
cmp dword [ebp - 8], ebx
jne 0x44cba0
call eax
mov ebx, esi
jmp 0x44ccbb
mov esi, dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x2fc]
push eax
push 0x4a6cc4
call esi
cmp eax, ebx
jg 0x44cbf6
push edi
lea eax, [ebp - 0x2fc]
push eax
push 0x4a6cb8
call esi
cmp eax, ebx
jg 0x44cbf6
mov eax, dword [fcn.004c1350]
cmp eax, ebx
je 0x44ccba
cmp dword [ebp - 8], ebx
jne 0x44ccba
call eax
jmp 0x44ccba
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x18], 0x63
lea esi, [ebp + eax*2 - 0x2fc]
call fcn.0043a2d5
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
add edi, eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
push 0x4ae6b4
push esi
call dword [sym.imp.USER32.DLL_wsprintfW]
add esp, 0x10
push ebx
push 0x80
push 1
push ebx
push 5
push 0x40000000
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp + 0xc]
call fcn.004051d2
cmp dword [ebp + 0xc], ebx
jne 0x44cc63
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
dec dword [ebp - 0x18]
jns 0x44cc07
jmp 0x44cbd9
push ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x14]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
lea ecx, [ebp + 0xc]
call fcn.00402b5a
push 0x10
push ebx
push ebx
push ebx
lea eax, [ebp - 0x2fc]
push eax
push ebx
call dword [sym.imp.USER32.DLL_LoadImageW]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2fc]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
mov eax, dword [fcn.004c1350]
cmp eax, ebx
mov esi, dword [ebp - 4]
je 0x44ccb8
cmp dword [ebp - 8], ebx
jne 0x44ccb8
call eax
mov ebx, esi
pop edi
push 0x4c1724
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
lea ecx, [ebp - 0x14]
call fcn.00437e1a
lea ecx, [ebp - 0x2c]
call fcn.00437e1a
lea ecx, [ebp + 0xc]
call fcn.00402b5a
mov eax, ebx
pop esi
pop ebx
leave
ret