Function at 0x37be6c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x37be74
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x37c116
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.0037c124
mov edx, esi
mov eax, dword [0x3ddbd0]
call fcn.0037a604
test al, al
je 0x37beb4
lea eax, [ebx + 8]
mov edx, esi
call fcn.00354b60
jmp 0x37bec9
lea edx, [ebp - 8]
mov eax, esi
call fcn.0035a074
mov edx, dword [ebp - 8]
lea eax, [ebx + 8]
call fcn.00354b60
lea eax, [ebx + 0x7c]
xor ecx, ecx
mov edx, 0xc
call fcn.0035353c
lea eax, [ebx + 0x88]
xor ecx, ecx
mov edx, 0x324
call fcn.0035353c
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x37befd
mov dword [ebx + 0x88], 0x7fffffff
jmp 0x37bf03
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x37bf16
mov dword [ebx + 0x8c], 0x7fffffff
jmp 0x37bf1c
mov dword [ebx + 0x8c], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x90], eax
mov eax, dword [ebx + 0x20]
mov dword [ebx + 0x94], eax
mov eax, dword [ebx + 0x24]
mov dword [ebx + 0x98], eax
mov dword [ebx + 0xa0], 1
movzx eax, word [ebx + 0x28]
mov word [ebx + 0xa8], ax
lea ecx, [ebp - 0xc]
mov edx, dword [ebx + 0xa0]
mov eax, ebx
call fcn.0037babc
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xaa]
call fcn.0035a2a8
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 8]
call fcn.00359ff4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x1aa]
call fcn.0035a2a8
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 8]
call fcn.00359eb4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x2aa]
call fcn.0035a2a8
mov byte [ebp - 1], 0
cmp word [ebx + 0x4a], 0
je 0x37bfc5
push 0
lea eax, [ebp - 1]
push eax
lea ecx, [ebx + 0x88]
mov edx, ebx
mov eax, dword [ebx + 0x4c]
call dword [ebx + 0x48]
cmp byte [ebp - 1], 0
jne 0x37c0ee
lea eax, [ebp - 0x18]
lea edx, [ebx + 0x2aa]
mov ecx, pe_nt_image_headers32
call fcn.00354d7c
cmp dword [ebp - 0x18], 0
je 0x37c025
lea eax, [ebp - 0x20]
lea edx, [ebx + 0x2aa]
mov ecx, pe_nt_image_headers32
call fcn.00354d7c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0035e600
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x2aa]
call fcn.0035a2a8
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x2aa]
mov ecx, pe_nt_image_headers32
call fcn.00354d7c
mov eax, dword [ebp - 0x24]
call fcn.00359b50
lea eax, [ebp - 0x34]
lea edx, [ebx + 0x2aa]
mov ecx, pe_nt_image_headers32
call fcn.00354d7c
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
lea edx, [ebx + 0x1aa]
mov ecx, pe_nt_image_headers32
call fcn.00354d7c
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x28]
mov edx, 1
call fcn.0037ab58
mov eax, dword [ebp - 0x28]
call fcn.00354f94
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
mov dword [ebx + 0x3ac], eax
xor eax, eax
mov dword [ebx + 0x3b0], eax
xor eax, eax
mov dword [ebx + 0x3b4], eax
push ebx
lea eax, [ebx + 0x88]
push eax
mov eax, 0x37b370
push eax
mov eax, 0x37b344
push eax
mov eax, 0x37b32c
push eax
mov eax, 0x37b31c
push eax
mov eax, 0x37b304
push eax
mov eax, 0x37b2ec
push eax
mov eax, 0x37b2d4
push eax
mov eax, 0x37b2c4
push eax
mov eax, 0x37b2b4
push eax
mov eax, 0x37b380
push eax
lea eax, [ebx + 0x7c]
push eax
call fcn.00371b3c
add esp, 0x34
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
setne dl
mov eax, ebx
call fcn.0037b908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x37c11d
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00354b30
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.00354b30
ret