joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e01edc7
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push esi
lea eax, [esp + 4]
push eax
push 1
push ecx
xor esi, esi
push edx
mov dword [esp + 0x14], esi
call fcn.2e0294cb
test eax, eax
jne 0x2e01ee31
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e01ee31
cmp dword [esp + 0x10], 4
jne 0x2e01ee31
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 8]
mov dword [edx], eax
mov esi, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x2e01ee48
push eax
mov dword [esp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x2e0203a3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x2e0203bb
xor eax, eax
jmp 0x2e0204b1
push esi
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x2e0203cb
cmp dword [0x2e07e3f8], ebx
je 0x2e0203dd
mov dword [ebp - 4], ebx
call fcn.2e01f862
test eax, eax
je 0x2e0203e4
test byte [edi + 0xc], 0x10
jne 0x2e0203e4
xor eax, eax
jmp 0x2e0204b0
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
call fcn.2e01fa9e
movzx eax, word [edi + 0xc]
neg esi
sbb esi, esi
shr eax, 1
and esi, 2
and eax, 0x10
mov dword [ebp - 0xc], esi
or eax, esi
jmp 0x2e020473
mov eax, dword [edi]
cmp eax, ebx
je 0x2e020418
push eax
call fcn.2e02b3e8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
jne 0x2e020424
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x2e020441
push dword [ebp - 4]
call fcn.2e01ec16
push esi
call fcn.2e01f8fb
pop ecx
test eax, eax
je 0x2e020494
push 0x796d7468
push ebx
call fcn.2e01f210
push dword [ebp + 8]
mov ecx, 0x2e07e410
call fcn.2e01fcb3
movzx eax, word [edi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0xc]
mov dword [ebp + 8], ebx
push ebx
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push dword [edi + 8]
call fcn.2e01fd11
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x2e020409
jmp 0x2e0204a1
push dword [ebp + 8]
mov ecx, 0x2e07e410
call fcn.2e01fc03
lea ecx, [ebp - 0x10]
call fcn.2e01fac2
xor eax, eax
cmp esi, ebx
sete al
pop esi
pop edi
pop ebx
leave
ret
Function at 0x2e02087e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x2e020894
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 2
pop ebx
mov esi, eax
cmp dword [ebp - 4], ebx
jae 0x2e0208c6
cmp dword [ebp + 0xc], 1
je 0x2e0208c4
cmp dword [ebp + 0xc], ebx
jne 0x2e0208c6
mov esi, ebx
push esi
call fcn.2e01f8fb
pop ecx
test eax, eax
je 0x2e0208ec
push 0x796d746b
push 0
call fcn.2e01f210
push dword [ebp + 8]
mov ecx, 0x2e07e410
call fcn.2e01fcb3
jmp 0x2e02094c
test esi, esi
jne 0x2e02093f
cmp dword [ebp + 0xc], ebx
je 0x2e0208fb
cmp dword [ebp + 0xc], 1
jne 0x2e020907
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
cmp dword [ebp + 0xc], ebx
je 0x2e020911
cmp byte [ebp + 0x1c], bl
jne 0x2e02092a
mov eax, dword [ebp + 0x18]
shr eax, 1
push eax
push edi
call fcn.2e01f26a
pop ecx
pop ecx
test eax, eax
jne 0x2e02092a
mov esi, 0xea
jmp 0x2e02093f
movzx eax, byte [ebp + 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.2e01f83a
pop ecx
pop ecx
test eax, eax
jne 0x2e02093f
mov esi, ebx
push dword [ebp + 8]
mov ecx, 0x2e07e410
call fcn.2e01fc03
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x2e020953
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
or edi, 0xffffffff
cmp dword [ebp - 4], ebx
jne 0x2e02097d
cmp dword [0x2e07e3f8], ebx
je 0x2e02098c
mov dword [ebp - 0xc], 2
jmp 0x2e020999
cmp dword [ebp - 4], 1
jne 0x2e02098c
call fcn.2e01f862
test eax, eax
je 0x2e020996
test byte [esi + 0xc], 0x10
je 0x2e020a89
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x18]
call fcn.2e01fa9e
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
call fcn.2e01fd11
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x2e020a7f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x2e0209e6
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push edi
call fcn.2e01f8fb
pop ecx
test eax, eax
je 0x2e020a4b
push 0x796d746c
xor edi, edi
push edi
call fcn.2e01f210
push ebx
mov ecx, 0x2e07e410
call fcn.2e01fcb3
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
mov dword [ebp - 8], edi
call fcn.2e01fd11
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2e0209d2
jmp 0x2e020a7f
push ebx
mov ecx, 0x2e07e410
call fcn.2e01fc03
test edi, edi
jne 0x2e020a7f
movzx eax, word [esi + 0xc]
mov ecx, eax
and ecx, 0xf
cmp dword [ebp - 0x14], ecx
je 0x2e020a9d
cmp dword [ebp - 0x14], 3
jne 0x2e020a7c
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 4
jne 0x2e020a7c
and al, 0xf
cmp al, 4
je 0x2e020a9d
push 2
pop edi
lea ecx, [ebp - 0x18]
call fcn.2e01fac2
xor ebx, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x2e020964
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x18]
mov dword [eax], 1
call fcn.2e01fac2
xor eax, eax
jmp 0x2e020a98
Function at 0x2e020cd2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x2e020cea
xor eax, eax
jmp 0x2e020e47
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.2e01f862
mov eax, dword [esi]
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x2e020d07
push eax
call fcn.2e02b3e8
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
push ebx
or ebx, 0xffffffff
cmp dword [ebp - 8], edi
jne 0x2e020d24
cmp dword [0x2e07e3f8], edi
je 0x2e020d33
mov dword [ebp - 0x18], 2
jmp 0x2e020d40
cmp dword [ebp - 8], 1
jne 0x2e020d33
call fcn.2e01f862
test eax, eax
je 0x2e020d3d
test byte [esi + 0xc], 0x10
je 0x2e020df3
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], edi
call fcn.2e01fa9e
jmp 0x2e020daa
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x2e020d59
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp - 0x10]
push ecx
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], 2
mov ebx, eax
jae 0x2e020d84
cmp dword [ebp - 0x10], 1
je 0x2e020d81
cmp dword [ebp - 0x10], 2
jne 0x2e020d84
push 2
pop ebx
push ebx
call fcn.2e01f8fb
pop ecx
test eax, eax
je 0x2e020dda
push 0x796d746f
push edi
call fcn.2e01f210
push dword [ebp + 8]
mov ecx, 0x2e07e410
call fcn.2e01fcb3
mov dword [ebp + 8], edi
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
mov dword [ebp - 0xc], edi
call fcn.2e01fd11
mov ebx, eax
add esp, 0x14
cmp ebx, edi
je 0x2e020d4d
jmp 0x2e020deb
push dword [ebp + 8]
mov ecx, 0x2e07e410
call fcn.2e01fc03
cmp ebx, edi
je 0x2e020e02
lea ecx, [ebp - 0x1c]
call fcn.2e01fac2
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x2e020d0b
jmp 0x2e020e0a
lea ecx, [ebp - 0x1c]
call fcn.2e01fac2
cmp ebx, edi
jne 0x2e020e29
cmp dword [ebp - 0x10], 2
je 0x2e020e1d
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x2e020e29
push dword [ebp - 4]
call fcn.2e01f306
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], edi
je 0x2e020e36
push dword [ebp - 0x14]
call fcn.2e01ec16
cmp ebx, edi
pop ebx
je 0x2e020e44
push esi
call fcn.2e01f6e3
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x2e0210b9
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x2e07ef70], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x2e0210fd
call ebx
test eax, eax
jns 0x2e0210f3
push 0x2e001e64
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x2e001e58
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x2e07ef6c], eax
mov dword [0x2e07ef70], 1
mov eax, dword [0x2e07ef6c]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x2e021119
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x2e021149
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x2e02113f
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x2e021134
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x2e021139
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x2e021148
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x2e021ba0
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e046b28
call fcn.2e035799
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x2e021bde
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x2e021bde
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x2e021bde
mov eax, dword [ecx + 0x50]
jmp 0x2e021bff
mov ecx, 0x4550
cmp dx, cx
jne 0x2e021c0b
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x2e021c0b
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x2e021c0b
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x2e021c0f
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.2e0357de
ret

Function at 0x2e0223b6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x2e0223fc
push edi
push esi
push esi
push 0x80
push 2
push esi
push 1
push 0xc0000000
push dword [ebp + 8]
call fcn.2e029210
mov edi, eax
cmp edi, 0xffffffff
je 0x2e0223fb
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret
Function at 0x2e02356d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0xffffffff
jne 0x2e02357d
xor eax, eax
leave
ret
push esi
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
xor esi, esi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
inc edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call fcn.2e0223ff
add esp, 0x10
test eax, eax
je 0x2e0236ca
cmp dword [ebp - 4], esi
je 0x2e0236ca
push ebx
mov ebx, 0x2e07e3c0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call fcn.2e0244ce
pop ecx
test eax, eax
jne 0x2e0235d8
xor edi, edi
jmp 0x2e0236c2
cmp dword [0x2e07f214], esi
je 0x2e0235eb
push esi
push 0x72766c72
call fcn.2e01f1d1
lea eax, [ebp - 0x14]
push eax
mov dword [0x2e07f214], 1
mov dword [ebp - 0x14], esi
call fcn.2e022322
pop ecx
cmp eax, dword [ebp - 8]
jne 0x2e02360f
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
je 0x2e023648
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.2e02244c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.2e0223ff
add esp, 0x18
test eax, eax
je 0x2e02363b
cmp dword [ebp - 4], esi
jne 0x2e023648
push esi
push 0x72766c73
call fcn.2e01f1d1
xor edi, edi
cmp dword [ebp + 0x14], esi
jne 0x2e02365a
cmp dword [ebp - 8], 0xea60
ja 0x2e0235d1
cmp edi, esi
je 0x2e023674
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.2e023327
add esp, 0x10
mov edi, eax
mov dword [0x2e07f214], esi
push esi
cmp edi, esi
je 0x2e0236b8
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x2e0236a3
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jne 0x2e0236a3
xor edi, edi
inc edi
jmp 0x2e0236a5
xor edi, edi
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 0x10]
call fcn.2e0223b6
add esp, 0xc
jmp 0x2e0236c2
push 0x74697970
call fcn.2e01f1d1
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], esi
je 0x2e0236e5
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.2e02244c
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x2e02399b
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp ebx, edi
jne 0x2e0239bd
push edi
push 0x36717370
call fcn.2e01f1d1
jmp 0x2e023afb
push esi
mov esi, dword [ebp + 0x10]
cmp esi, edi
jne 0x2e0239d0
push edi
push 0x36717371
jmp 0x2e023ad0
cmp dword [ebp + 8], 2
je 0x2e0239ed
cmp dword [ebp + 8], 8
je 0x2e0239ed
cmp dword [ebp + 8], 3
je 0x2e0239ed
push edi
push 0x36717372
jmp 0x2e023ad0
cmp dword [ebx], edi
je 0x2e0239fc
push edi
push 0x36717373
call fcn.2e01f1d1
cmp dword [esi], edi
je 0x2e023a0b
push edi
push 0x37667270
call fcn.2e01f1d1
push esi
push edi
push dword [ebp + 8]
mov dword [esi], edi
call sub.Secur32.dll_GetUserNameExW
movzx edi, al
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x2e023ad7
cmp eax, 0xea
jne 0x2e023ad7
mov eax, dword [esi]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.2e035a5b
pop ecx
mov dword [ebx], eax
test eax, eax
jne 0x2e023a5b
push eax
push 0x36717375
jmp 0x2e023ade
mov ecx, dword [esi]
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
push eax
push edi
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x2e023a7b
push 0
push 0x36717376
jmp 0x2e023ade
mov eax, dword [esi]
dec eax
cmp dword [ebp - 4], eax
je 0x2e023a8f
push 0
push 0x36717377
call fcn.2e01f1d1
cmp edi, 2
jne 0x2e023aab
push dword [esi]
push dword [ebx]
call fcn.2e023928
pop ecx
pop ecx
test eax, eax
jne 0x2e023afa
push eax
push 0x36717378
jmp 0x2e023ade
cmp edi, 8
jne 0x2e023ac4
push dword [ebx]
call fcn.2e022734
pop ecx
test eax, eax
jne 0x2e023afa
push eax
push 0x36717379
jmp 0x2e023ade
cmp edi, 3
je 0x2e023afa
push 0
push 0x3671737a
call fcn.2e01f1d1
jmp 0x2e023afa
push 0
push 0x36717374
call fcn.2e01f1d1
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
je 0x2e023af4
push eax
call fcn.2e035a66
pop ecx
mov dword [ebx], edi
cmp dword [esi], edi
je 0x2e023afa
mov dword [esi], edi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x2e024015
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x240], eax
mov ebx, 0x104
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.2e02326a
pop ecx
pop ecx
test eax, eax
jne 0x2e024052
or eax, 0xffffffff
jmp 0x2e02422d
cmp word [ebp - 0x22c], 0
push esi
lea esi, [ebp - 0x22c]
push edi
mov dword [ebp - 0x238], esi
je 0x2e024078
inc esi
inc esi
cmp word [esi], 0
jne 0x2e02406a
mov dword [ebp - 0x238], esi
xor edi, edi
inc edi
push edi
call fcn.2e021e54
mov dword [esp], 0x2e001b94
call fcn.2e01f773
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x248], eax
cmp eax, 0x64
jbe 0x2e0240a4
mov dword [ebp - 0x230], edi
mov eax, esi
lea ecx, [ebp - 0x22c]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x234], eax
mov esi, 0x80
mov edi, 0xc0000000
push dword [ebp - 0x230]
lea eax, [ebp - 0x24]
push 0x2e0019b8
push 0xffffffffffffffff
push eax
call fcn.2e0226ee
add esp, 0x10
cmp dword [ebp - 0x234], 0
jl 0x2e0241d8
push dword [ebp - 0x234]
lea eax, [ebp - 0x244]
push ebx
push eax
call fcn.2e0250c9
add esp, 0xc
mov ecx, eax
call fcn.2e01ece6
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x24]
push eax
call fcn.2e029e82
xor eax, eax
push eax
push eax
push esi
push 1
push eax
push 1
push edi
lea eax, [ebp - 0x22c]
push eax
call fcn.2e029210
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
jne 0x2e0241dd
cmp dword [ebp - 0x230], 0x64
jb 0x2e024149
and dword [ebp - 0x230], 0
inc dword [ebp - 0x230]
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x248]
jne 0x2e0240c0
push eax
push 0x2e0019b8
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.2e0226ee
add esp, 0x10
cmp dword [ebp - 0x234], 0
jl 0x2e0241d8
push dword [ebp - 0x234]
lea eax, [ebp - 0x244]
push ebx
push eax
call fcn.2e0250c9
add esp, 0xc
mov ecx, eax
call fcn.2e01ece6
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x24]
push eax
call fcn.2e029e82
push esi
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebx, ebx
push ebx
push ebx
push esi
push 2
push ebx
push 1
push edi
lea eax, [ebp - 0x22c]
push eax
call fcn.2e029210
mov dword [ebp - 0x23c], eax
jmp 0x2e0241df
call fcn.2e01e2e4
xor ebx, ebx
cmp dword [ebp - 0x230], 0x64
pop edi
pop esi
jb 0x2e0241f0
mov dword [ebp - 0x230], ebx
mov eax, dword [ebp - 0x230]
inc eax
push eax
push 0x2e001b94
call fcn.2e01f321
call fcn.2e021eac
cmp dword [ebp - 0x240], ebx
je 0x2e024227
push dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
push dword [ebp - 0x240]
push eax
call fcn.2e01fa62
add esp, 0xc
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.2e035180
leave
ret
Function at 0x2e02423a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
xor edi, edi
push eax
inc edi
call fcn.2e02326a
pop ecx
pop ecx
test eax, eax
je 0x2e0242ff
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x2e0019c8
call fcn.2e02b0d3
call fcn.2e02228d
test eax, eax
je 0x2e0242fd
call fcn.2e022198
test eax, eax
jne 0x2e0242fd
call fcn.2e0238af
test eax, eax
jne 0x2e0242b4
call fcn.2e023227
test eax, eax
je 0x2e0242fd
push dword [0x2e07efc8]
call fcn.2e024e7c
pop ecx
test eax, eax
jne 0x2e0242fd
call fcn.2e0231e6
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.2e024015
push 0
lea ecx, [ebp - 0x20c]
push ecx
push edi
push eax
call fcn.2e02356d
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x414]
test edi, edi
jne 0x2e0242ee
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x2e0242fd
push esi
push 0x2e07eff4
push eax
call fcn.2e01fa62
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.2e035180
leave
ret
Function at 0x2e0268bb
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x2e079ee0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov ecx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x414], ecx
test esi, esi
jne 0x2e0268fb
xor eax, eax
jmp 0x2e026a6b
and dword [esi], 0
push ebx
push edi
mov edi, dword [ebp + 0x20]
xor ebx, ebx
inc ebx
push ebx
push edi
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x420], ebx
call fcn.2e028b79
and dword [ebp - 0x410], 0
and dword [ebp - 0x418], 0
shr edi, 0x1a
not edi
mov dword [ebp - 0x408], eax
and edi, ebx
cmp dword [ebp - 0x408], 0
je 0x2e026960
mov eax, dword [ebp + 0x20]
push dword [ebp - 0x408]
shr eax, 0x17
and eax, ebx
push eax
push 0x120001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esi], eax
cmp dword [esi], 0
jne 0x2e0269fc
test edi, edi
je 0x2e0269fc
and dword [ebp - 0x40c], 0
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x20]
call fcn.2e028a3b
test eax, eax
je 0x2e0269e2
mov eax, dword [ebp + 0x20]
push dword [ebp - 0x408]
shr eax, 0x19
and eax, ebx
push eax
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40c], eax
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x20]
call fcn.2e0287c2
cmp dword [ebp - 0x40c], 5
jne 0x2e0269e2
cmp dword [ebp - 0x418], 0
jne 0x2e0269e2
mov dword [ebp - 0x418], ebx
jmp 0x2e02693b
cmp dword [esi], 0
je 0x2e0269fc
xor eax, eax
cmp dword [ebp - 0x40c], 0xb7
setne al
mov dword [ebp - 0x410], eax
mov eax, dword [esi]
xor ecx, ecx
cmp eax, ecx
je 0x2e026a09
cmp eax, 0xffffffff
jne 0x2e026a28
cmp edi, ecx
je 0x2e026a18
push ecx
push 0x787a6c65
call fcn.2e01f1d1
xor ecx, ecx
mov dword [esi], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x420], ecx
pop edi
pop ebx
cmp dword [ebp - 0x41c], ecx
je 0x2e026a53
mov eax, dword [ebp - 0x408]
cmp eax, ecx
jne 0x2e026a41
mov eax, 0x2e001c3c
push dword [ebp + 0x14]
push dword [ebp - 0x41c]
push eax
call fcn.2e01f3c0
add esp, 0xc
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x2e026a65
mov ecx, dword [ebp - 0x410]
mov dword [eax], ecx
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e035180
leave
ret 0x1c