Function at 0x43f7e0
Capabilities:
Delete file

Disassembly:
sub esp, 0x48
mov eax, dword [0x4ba850]
xor eax, esp
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x4c]
push ebx
xor ebx, ebx
push esi
mov esi, dword [esp + 0x5c]
push edi
mov edi, dword [esp + 0x5c]
cmp edi, 0x400
mov ecx, 0x36
mov al, 0x24
mov dword [esp + 0xc], edx
mov byte [esp + 0x18], 0x42
mov byte [esp + 0x19], 0x4d
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], bl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], bl
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], bl
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], bl
mov byte [esp + 0x26], 0x28
mov byte [esp + 0x27], bl
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x2b], 4
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], 3
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x32], 1
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 0x18
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], al
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], bl
mov byte [esp + 0x3f], bl
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], bl
mov byte [esp + 0x43], bl
mov byte [esp + 0x44], bl
mov byte [esp + 0x45], bl
mov byte [esp + 0x46], bl
mov byte [esp + 0x47], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], bl
mov byte [esp + 0x4a], bl
mov byte [esp + 0x4b], bl
mov byte [esp + 0x4c], bl
mov byte [esp + 0x4d], bl
jne 0x43f8f9
cmp esi, 0x300
je 0x43f911
mov eax, edi
imul eax, esi
mov dword [esp + 0x3a], eax
add eax, 0x36
mov dword [esp + 0x2a], edi
mov dword [esp + 0x2e], esi
mov dword [esp + 0x1a], eax
push ecx
lea eax, [esp + 0x1c]
push eax
push edx
call fcn.00430bd0
add esp, 0xc
test eax, eax
jne 0x43f936
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0048164f
add esp, 0x48
ret
lea eax, [edi + edi*2]
imul eax, esi
push ebp
add eax, 4
push eax
push pe_nt_image_headers32
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x18], ebp
je 0x43fa0f
add esi, 0xffffffff
lea eax, [edi*4]
imul esi, eax
add esi, dword [esp + 0x68]
cmp dword [esp + 0x64], ebx
mov dword [esp + 0x14], ebx
jle 0x43f9de
cmp edi, ebx
mov eax, ebp
jle 0x43f9ab
mov ebp, edi
lea ebx, [ebx]
movzx ecx, byte [esi]
mov byte [eax], cl
mov dl, byte [esi + 1]
add esi, 1
add eax, 1
mov byte [eax], dl
movzx ecx, byte [esi + 1]
add esi, 1
add eax, 1
mov byte [eax], cl
add eax, 1
add esi, 2
sub ebp, 1
jne 0x43f980
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
lea eax, [edi + edi*2]
push eax
push ebp
push edx
call fcn.00430c60
add esp, 0xc
test eax, eax
je 0x43fa04
lea eax, [edi*4]
neg eax
lea esi, [esi + eax*2]
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, dword [esp + 0x64]
mov dword [esp + 0x14], eax
jl 0x43f972
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.0048164f
add esp, 0x48
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0x54]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0048164f
add esp, 0x48
ret