Function at 0x7ef7a706
Capabilities:
Delete file
Get common file path
Move file
Parse pe header
Write file on windows

Disassembly:
mov eax, 0x7ef94974
call fcn.7ef890d8
sub esp, 0x488
push esi
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [ebp + 8]
call fcn.7ef6299c
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0xffffffff
jne 0x7ef7a747
xor eax, eax
jmp 0x7ef7b091
push 0
lea eax, [ebp - 0x10]
push eax
push 0x40
lea eax, [ebp - 0x150]
push eax
push dword [ebp - 0x110]
call fcn.7ef632cc
test eax, eax
je 0x7ef7b084
cmp dword [ebp - 0x10], 0x40
jne 0x7ef7b084
movzx eax, word [ebp - 0x150]
cmp eax, 0x5a4d
jne 0x7ef7b084
push 0
push 0
push dword [ebp - 0x114]
push dword [ebp - 0x110]
call fcn.7ef63f1f
cmp eax, dword [ebp - 0x114]
jne 0x7ef7b084
push 0
lea eax, [ebp - 0x10c]
push eax
push 0xf8
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x110]
call fcn.7ef632cc
test eax, eax
je 0x7ef7b084
cmp dword [ebp - 0x10c], 0xf8
jne 0x7ef7b084
cmp dword [ebp - 0x108], 0x4550
jne 0x7ef7b084
push dword [ebp - 0x110]
call fcn.7ef64324
movzx eax, word [ebp - 0xf2]
and eax, 0x2000
test eax, eax
je 0x7ef7a810
xor eax, eax
jmp 0x7ef7b091
lea eax, [ebp - 0x3a0]
push eax
push 0x104
call dword [0x7ef960dc]
and dword [ebp - 0x154], 0
and dword [ebp - 4], 0
and dword [ebp - 0x3b0], 0
mov byte [ebp - 4], 1
and dword [ebp - 0x3a4], 0
mov byte [ebp - 4], 2
push dword [ebp + 8]
call fcn.7ef865bd
pop ecx
mov dword [ebp - 0x3f8], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x3b0]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x3f8]
push eax
call fcn.7ef885db
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x3f8]
call fcn.7ef86114
movzx eax, word [ebp - 0xac]
push eax
push dword [0x7efa5b40]
push dword [ebp - 0xb8]
push dword [ebp - 0xd4]
lea eax, [ebp - 0x3a0]
push eax
push str._s_x_x_x_d2
lea eax, [ebp - 0x29c]
push eax
call fcn.7ef85dd0
add esp, 0x1c
mov byte [ebp - 4], 4
push 1
push dword [ebp - 0x29c]
call fcn.7ef7cfdc
pop ecx
pop ecx
push dword [ebp - 0x3a4]
push dword [ebp - 0x3b0]
push dword [ebp - 0x29c]
push str._s_s._s
push dword [ebp + 0xc]
call fcn.7ef863ab
add esp, 0x14
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x418], eax
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x418]
call dword [0x7ef9607c]
mov dword [ebp - 0x3ac], eax
cmp dword [ebp - 0x3ac], 0xffffffff
je 0x7ef7a97d
push dword [ebp - 0x3ac]
call dword [0x7ef96078]
mov dword [ebp - 0x3fc], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call fcn.7ef86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3a4]
call fcn.7ef86114
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.7ef86114
mov eax, dword [ebp - 0x3fc]
jmp 0x7ef7b091
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x41c], eax
push dword [ebp - 0x41c]
push str._s.tmp
lea eax, [ebp - 0x3b4]
push eax
call fcn.7ef85dd0
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [0x7efa58f8], 0
je 0x7ef7a9d3
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push str.c:_tmpmini_stub_exe_for_dllo.exe
call fcn.7ef6299c
mov dword [ebp - 0x3a8], eax
jmp 0x7ef7a9f7
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push dword [0x7efa5e10]
call dword [0x7ef960a8]
mov dword [ebp - 0x3a8], eax
cmp dword [ebp - 0x3a8], 0xffffffff
jne 0x7ef7aa5d
and dword [ebp - 0x400], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b4]
call fcn.7ef86114
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call fcn.7ef86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3a4]
call fcn.7ef86114
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.7ef86114
mov eax, dword [ebp - 0x400]
jmp 0x7ef7b091
mov eax, dword [0x7efa59a4]
and eax, 4
neg eax
sbb eax, eax
and al, 0x82
add eax, 0x80
mov dword [ebp - 0x298], eax
push 0
push dword [ebp - 0x298]
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x3b4]
call dword [0x7ef960a8]
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0xffffffff
je 0x7ef7b037
push 3
push dword [ebp - 0x3b4]
call fcn.7ef7cad2
pop ecx
pop ecx
push 2
push 0
push 0
push dword [ebp - 0x3a8]
call fcn.7ef63f1f
mov dword [ebp - 0x3c0], eax
cmp dword [ebp - 0x3c0], 0x8000
jle 0x7ef7aae4
mov dword [ebp - 0x3c0], 0x8000
push 0
push 0
push 0
push dword [ebp - 0x3a8]
call fcn.7ef63f1f
and byte [ebp - 0x408], 0
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x408]
push eax
push dword [ebp - 0x3c0]
lea ecx, [ebp - 0x3d4]
call fcn.7ef5d607
mov byte [ebp - 4], 6
cmp dword [ebp - 0x3d0], 0
jne 0x7ef7ab31
and dword [ebp - 0x494], 0
jmp 0x7ef7ab43
mov eax, dword [ebp - 0x3cc]
sub eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x430], eax
push 0
lea eax, [ebp - 0x3bc]
push eax
push dword [ebp - 0x494]
push dword [ebp - 0x430]
push dword [ebp - 0x3a8]
call fcn.7ef632cc
test eax, eax
je 0x7ef7b009
cmp dword [ebp - 0x3bc], 0x200
jb 0x7ef7b009
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x3ec]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x3ec]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3e8]
add eax, 0x14
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
add eax, 0xe0
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0xd4]
sub ecx, dword [eax + 0x1c]
push ecx
lea eax, [ebp - 0x3ec]
push eax
call fcn.7ef79da2
pop ecx
pop ecx
mov eax, dword [ebp - 0x3e4]
mov eax, dword [eax + 0x70]
mov dword [ebp - 0x3f4], eax
mov eax, dword [ebp - 0x3e4]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x3dc], eax
mov eax, dword [ebp - 0x3e8]
movzx eax, word [eax + 2]
dec eax
mov dword [ebp - 0x3f0], eax
mov eax, dword [ebp - 0x3f0]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x3f0]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x3e0]
mov eax, dword [edx + eax + 0x14]
mov edx, dword [ebp - 0x3e0]
add eax, dword [edx + ecx + 0x10]
mov dword [ebp - 0x3d8], eax
cmp dword [ebp - 0x3f4], 0
je 0x7ef7acce
mov eax, dword [ebp - 0x3f4]
add eax, dword [ebp - 0x3dc]
mov ecx, dword [ebp - 0x3f0]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x3f0]
imul edx, edx, 0x28
mov esi, dword [ebp - 0x3e0]
mov ecx, dword [esi + ecx + 0xc]
mov esi, dword [ebp - 0x3e0]
add ecx, dword [esi + edx + 0x10]
cmp eax, ecx
jb 0x7ef7acce
mov eax, dword [ebp - 0x3f0]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x3e0]
mov eax, dword [ecx + eax + 0x10]
sub eax, dword [ebp - 0x3dc]
mov ecx, dword [ebp - 0x3f0]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x3e0]
mov dword [edx + ecx + 0x10], eax
mov eax, dword [ebp - 0x3d8]
sub eax, dword [ebp - 0x3dc]
mov dword [ebp - 0x3d8], eax
mov eax, dword [ebp - 0x3d8]
cmp eax, dword [ebp - 0x3c0]
jbe 0x7ef7ad9f
and byte [ebp - 0x40c], 0
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x3d8]
lea ecx, [ebp - 0x3d4]
call fcn.7ef85327
push 0
push 0
push dword [ebp - 0x3c0]
push dword [ebp - 0x3a8]
call fcn.7ef63f1f
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x458], eax
push 0
lea eax, [ebp - 0x3bc]
push eax
mov eax, dword [ebp - 0x3d8]
sub eax, dword [ebp - 0x3c0]
push eax
mov eax, dword [ebp - 0x458]
add eax, dword [ebp - 0x3c0]
push eax
push dword [ebp - 0x3a8]
call fcn.7ef632cc
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x3ec], eax
mov eax, dword [ebp - 0x3ec]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0x3ec]
lea eax, [ecx + eax + 4]
mov dword [ebp - 0x3e8], eax
mov eax, dword [ebp - 0x3e8]
add eax, 0x14
mov dword [ebp - 0x3e4], eax
mov eax, dword [ebp - 0x3e4]
add eax, 0xe0
mov dword [ebp - 0x3e0], eax
mov eax, dword [ebp - 0x3e4]
mov cx, word [ebp - 0xac]
mov word [eax + 0x44], cx
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0xa8]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 0x4c], ecx
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0xa0]
mov dword [eax + 0x50], ecx
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 0x54], ecx
mov eax, dword [ebp - 0x3e4]
and dword [eax + 0x70], 0
mov eax, dword [ebp - 0x3e4]
and dword [eax + 0x74], 0
mov eax, dword [ebp - 0x3e4]
and dword [eax + 0x88], 0
mov eax, dword [ebp - 0x3e4]
and dword [eax + 0x8c], 0
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax + 0x38]
jbe 0x7ef7ae71
mov eax, dword [ebp - 0x3f0]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x3e4]
mov edx, dword [ebp - 0xb8]
sub edx, dword [ecx + 0x38]
mov ecx, dword [ebp - 0x3e0]
mov eax, dword [ecx + eax + 8]
add eax, edx
mov ecx, dword [ebp - 0x3f0]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x3e0]
mov dword [edx + ecx + 8], eax
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [ebp - 0xb8]
mov dword [eax + 0x38], ecx
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x460], eax
push 0
lea eax, [ebp - 0x3c4]
push eax
push dword [ebp - 0x3d8]
push dword [ebp - 0x460]
push dword [ebp - 0x3b8]
call dword [0x7ef962cc]
test eax, eax
je 0x7ef7aff7
mov eax, dword [ebp - 0x3c4]
cmp eax, dword [ebp - 0x3d8]
jne 0x7ef7aff7
push dword [ebp - 0x3b8]
call fcn.7ef64324
or dword [ebp - 0x3b8], 0xffffffff
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x464], eax
push dword [ebp - 0x464]
call dword [0x7ef961ac]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x468], eax
push dword [ebp - 0x468]
push dword [ebp - 0x3b4]
call dword [0x7ef961b8]
test eax, eax
jne 0x7ef7af6e
and dword [ebp - 0x410], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3d4]
call fcn.7ef54455
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b4]
call fcn.7ef86114
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call fcn.7ef86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3a4]
call fcn.7ef86114
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.7ef86114
mov eax, dword [ebp - 0x410]
jmp 0x7ef7b091
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x478], eax
push 0
push dword [ebp - 0x478]
call fcn.7ef7cad2
pop ecx
pop ecx
mov dword [ebp - 0x414], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3d4]
call fcn.7ef54455
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b4]
call fcn.7ef86114
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call fcn.7ef86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3a4]
call fcn.7ef86114
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.7ef86114
mov eax, dword [ebp - 0x414]
jmp 0x7ef7b091
push dword [ebp - 0x3b8]
call fcn.7ef64324
or dword [ebp - 0x3b8], 0xffffffff
push dword [ebp - 0x3a8]
call fcn.7ef64324
cmp dword [ebp - 0x3b8], 0xffffffff
je 0x7ef7b028
push dword [ebp - 0x3b8]
call fcn.7ef64324
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3d4]
call fcn.7ef54455
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3b4]
call fcn.7ef86114
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x29c]
call fcn.7ef86114
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3a4]
call fcn.7ef86114
and byte [ebp - 4], 0
lea ecx, [ebp - 0x3b0]
call fcn.7ef86114
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.7ef86114
jmp 0x7ef7b08f
push dword [ebp - 0x110]
call fcn.7ef64324
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret