joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e041008
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 0x2e041032
cmp dword [0x2e0b77f0], ebx
je 0x2e041041
mov dword [ebp - 0xc], 2
jmp 0x2e04104e
cmp dword [ebp - 4], 1
jne 0x2e041041
call fcn.2e03ff17
test eax, eax
je 0x2e04104b
test byte [esi + 0xc], 0x10
je 0x2e04113e
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x18]
call fcn.2e040153
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.2e0403c6
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x2e041134
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 0x2e04109b
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.2e03ffb0
pop ecx
test eax, eax
je 0x2e041100
push 0x796d746c
xor edi, edi
push edi
call fcn.2e04641a
push ebx
mov ecx, 0x2e0b7808
call fcn.2e040368
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.2e0403c6
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2e041087
jmp 0x2e041134
push ebx
mov ecx, 0x2e0b7808
call fcn.2e0402b8
test edi, edi
jne 0x2e041134
movzx eax, word [esi + 0xc]
mov ecx, eax
and ecx, 0xf
cmp dword [ebp - 0x14], ecx
je 0x2e041152
cmp dword [ebp - 0x14], 3
jne 0x2e041131
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 4
jne 0x2e041131
and al, 0xf
cmp al, 4
je 0x2e041152
push 2
pop edi
lea ecx, [ebp - 0x18]
call fcn.2e040177
xor ebx, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x2e041019
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.2e040177
xor eax, eax
jmp 0x2e04114d
Function at 0x2e041387
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 0x2e04139f
xor eax, eax
jmp 0x2e0414fc
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.2e03ff17
mov eax, dword [esi]
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x2e0413bc
push eax
call fcn.2e04c244
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
push ebx
or ebx, 0xffffffff
cmp dword [ebp - 8], edi
jne 0x2e0413d9
cmp dword [0x2e0b77f0], edi
je 0x2e0413e8
mov dword [ebp - 0x18], 2
jmp 0x2e0413f5
cmp dword [ebp - 8], 1
jne 0x2e0413e8
call fcn.2e03ff17
test eax, eax
je 0x2e0413f2
test byte [esi + 0xc], 0x10
je 0x2e0414a8
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], edi
call fcn.2e040153
jmp 0x2e04145f
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x2e04140e
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 0x2e041439
cmp dword [ebp - 0x10], 1
je 0x2e041436
cmp dword [ebp - 0x10], 2
jne 0x2e041439
push 2
pop ebx
push ebx
call fcn.2e03ffb0
pop ecx
test eax, eax
je 0x2e04148f
push 0x796d746f
push edi
call fcn.2e04641a
push dword [ebp + 8]
mov ecx, 0x2e0b7808
call fcn.2e040368
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.2e0403c6
mov ebx, eax
add esp, 0x14
cmp ebx, edi
je 0x2e041402
jmp 0x2e0414a0
push dword [ebp + 8]
mov ecx, 0x2e0b7808
call fcn.2e0402b8
cmp ebx, edi
je 0x2e0414b7
lea ecx, [ebp - 0x1c]
call fcn.2e040177
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x2e0413c0
jmp 0x2e0414bf
lea ecx, [ebp - 0x1c]
call fcn.2e040177
cmp ebx, edi
jne 0x2e0414de
cmp dword [ebp - 0x10], 2
je 0x2e0414d2
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x2e0414de
push dword [ebp - 4]
call fcn.2e03f9bb
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], edi
je 0x2e0414eb
push dword [ebp - 0x14]
call fcn.2e0422f4
cmp ebx, edi
pop ebx
je 0x2e0414f9
push esi
call fcn.2e03fd98
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4

Function at 0x2e041d9f
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, edx
jb 0x2e041dc0
mov eax, dword [eax + 8]
cmp ecx, eax
jb 0x2e041dc0
cmp edx, eax
jb 0x2e041dc0
add eax, 0x10000
cmp eax, ecx
jae 0x2e041deb
mov eax, dword [0x2e08135c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0x35636561
call fcn.2e0463db
push 0
push 0
push 1
push 0xe0000001
call dword [sym.imp.KERNEL32.dll_RaiseException]
ret
Function at 0x2e0424a5
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.2e04aa38
test eax, eax
jne 0x2e04250f
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 0x2e04250f
cmp dword [esp + 0x10], 4
jne 0x2e04250f
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 0x2e042526
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 0x2e042bf2
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x2e07ae50
call fcn.2e057572
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx edx, word [eax]
mov ecx, 0x5a4d
cmp dx, cx
jne 0x2e042c30
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov esi, 0xe0
cmp word [ecx + 0x14], si
jne 0x2e042c30
add esi, 0x2b
cmp word [ecx + 0x18], si
jne 0x2e042c30
mov eax, dword [ecx + 0x50]
jmp 0x2e042c51
mov ecx, 0x4550
cmp dx, cx
jne 0x2e042c5d
mov ecx, 0xe0
cmp word [eax + 0x14], cx
jne 0x2e042c5d
add ecx, 0x2b
cmp word [eax + 0x18], cx
jne 0x2e042c5d
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x1c], eax
jmp 0x2e042c61
and dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.2e0575b7
ret

Function at 0x2e043408
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x2e04344e
push edi
push esi
push esi
push 0x80
push 2
push esi
push 1
push 0xc0000000
push dword [ebp + 8]
call fcn.2e04a79d
mov edi, eax
cmp edi, 0xffffffff
je 0x2e04344d
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 0x2e0445bf
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0xffffffff
jne 0x2e0445cf
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.2e043451
add esp, 0x10
test eax, eax
je 0x2e04471c
cmp dword [ebp - 4], esi
je 0x2e04471c
push ebx
mov ebx, 0x2e0b77d0
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
call fcn.2e04553d
pop ecx
test eax, eax
jne 0x2e04462a
xor edi, edi
jmp 0x2e044714
cmp dword [0x2e0b8604], esi
je 0x2e04463d
push esi
push 0x72766c72
call fcn.2e0463db
lea eax, [ebp - 0x14]
push eax
mov dword [0x2e0b8604], 1
mov dword [ebp - 0x14], esi
call fcn.2e043374
pop ecx
cmp eax, dword [ebp - 8]
jne 0x2e044661
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0xc]
je 0x2e04469a
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.2e04349e
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.2e043451
add esp, 0x18
test eax, eax
je 0x2e04468d
cmp dword [ebp - 4], esi
jne 0x2e04469a
push esi
push 0x72766c73
call fcn.2e0463db
xor edi, edi
cmp dword [ebp + 0x14], esi
jne 0x2e0446ac
cmp dword [ebp - 8], 0xea60
ja 0x2e044623
cmp edi, esi
je 0x2e0446c6
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.2e044379
add esp, 0x10
mov edi, eax
mov dword [0x2e0b8604], esi
push esi
cmp edi, esi
je 0x2e04470a
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 0x2e0446f5
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jne 0x2e0446f5
xor edi, edi
inc edi
jmp 0x2e0446f7
xor edi, edi
push dword [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 0x10]
call fcn.2e043408
add esp, 0xc
jmp 0x2e044714
push 0x74697970
call fcn.2e0463db
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 0x2e044737
push dword [ebp - 0x10]
push dword [ebp - 4]
call fcn.2e04349e
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x2e0449ed
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 0x2e044a0f
push edi
push 0x36717370
call fcn.2e0463db
jmp 0x2e044b4d
push esi
mov esi, dword [ebp + 0x10]
cmp esi, edi
jne 0x2e044a22
push edi
push 0x36717371
jmp 0x2e044b22
cmp dword [ebp + 8], 2
je 0x2e044a3f
cmp dword [ebp + 8], 8
je 0x2e044a3f
cmp dword [ebp + 8], 3
je 0x2e044a3f
push edi
push 0x36717372
jmp 0x2e044b22
cmp dword [ebx], edi
je 0x2e044a4e
push edi
push 0x36717373
call fcn.2e0463db
cmp dword [esi], edi
je 0x2e044a5d
push edi
push 0x37667270
call fcn.2e0463db
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 0x2e044b29
cmp eax, 0xea
jne 0x2e044b29
mov eax, dword [esi]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.2e05776b
pop ecx
mov dword [ebx], eax
test eax, eax
jne 0x2e044aad
push eax
push 0x36717375
jmp 0x2e044b30
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 0x2e044acd
push 0
push 0x36717376
jmp 0x2e044b30
mov eax, dword [esi]
dec eax
cmp dword [ebp - 4], eax
je 0x2e044ae1
push 0
push 0x36717377
call fcn.2e0463db
cmp edi, 2
jne 0x2e044afd
push dword [esi]
push dword [ebx]
call fcn.2e04497a
pop ecx
pop ecx
test eax, eax
jne 0x2e044b4c
push eax
push 0x36717378
jmp 0x2e044b30
cmp edi, 8
jne 0x2e044b16
push dword [ebx]
call fcn.2e043786
pop ecx
test eax, eax
jne 0x2e044b4c
push eax
push 0x36717379
jmp 0x2e044b30
cmp edi, 3
je 0x2e044b4c
push 0
push 0x3671737a
call fcn.2e0463db
jmp 0x2e044b4c
push 0
push 0x36717374
call fcn.2e0463db
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
je 0x2e044b46
push eax
call fcn.2e057776
pop ecx
mov dword [ebx], edi
cmp dword [esi], edi
je 0x2e044b4c
mov dword [esi], edi
pop esi
pop edi
pop ebx
leave
ret
Function at 0x2e045084
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x2e0b1da0]
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.2e0442bc
pop ecx
pop ecx
test eax, eax
jne 0x2e0450c1
or eax, 0xffffffff
jmp 0x2e04529c
cmp word [ebp - 0x22c], 0
push esi
lea esi, [ebp - 0x22c]
push edi
mov dword [ebp - 0x238], esi
je 0x2e0450e7
inc esi
inc esi
cmp word [esi], 0
jne 0x2e0450d9
mov dword [ebp - 0x238], esi
xor edi, edi
inc edi
push edi
call fcn.2e042ea6
mov dword [esp], 0x2e0096f8
call fcn.2e03fe28
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x248], eax
cmp eax, 0x64
jbe 0x2e045113
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 0x2e009e04
push 0xffffffffffffffff
push eax
call fcn.2e043740
add esp, 0x10
cmp dword [ebp - 0x234], 0
jl 0x2e045247
push dword [ebp - 0x234]
lea eax, [ebp - 0x244]
push ebx
push eax
call fcn.2e044c36
add esp, 0xc
mov ecx, eax
call fcn.2e0423c4
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x24]
push eax
call fcn.2e04acdd
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.2e04a79d
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
jne 0x2e04524c
cmp dword [ebp - 0x230], 0x64
jb 0x2e0451b8
and dword [ebp - 0x230], 0
inc dword [ebp - 0x230]
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x248]
jne 0x2e04512f
push eax
push 0x2e009e04
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.2e043740
add esp, 0x10
cmp dword [ebp - 0x234], 0
jl 0x2e045247
push dword [ebp - 0x234]
lea eax, [ebp - 0x244]
push ebx
push eax
call fcn.2e044c36
add esp, 0xc
mov ecx, eax
call fcn.2e0423c4
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x24]
push eax
call fcn.2e04acdd
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.2e04a79d
mov dword [ebp - 0x23c], eax
jmp 0x2e04524e
call fcn.2e033794
xor ebx, ebx
cmp dword [ebp - 0x230], 0x64
pop edi
pop esi
jb 0x2e04525f
mov dword [ebp - 0x230], ebx
mov eax, dword [ebp - 0x230]
inc eax
push eax
push 0x2e0096f8
call fcn.2e03f9d6
call fcn.2e042efe
cmp dword [ebp - 0x240], ebx
je 0x2e045296
push dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
push dword [ebp - 0x240]
push eax
call fcn.2e040117
add esp, 0xc
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.2e056514
leave
ret
Function at 0x2e0452a9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x2e0b1da0]
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.2e0442bc
pop ecx
pop ecx
test eax, eax
je 0x2e04536e
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x2e009e14
call fcn.2e04bf2f
call fcn.2e0432df
test eax, eax
je 0x2e04536c
call fcn.2e0431ea
test eax, eax
jne 0x2e04536c
call fcn.2e044901
test eax, eax
jne 0x2e045323
call fcn.2e044279
test eax, eax
je 0x2e04536c
push dword [0x2e0b83b8]
call fcn.2e045eeb
pop ecx
test eax, eax
jne 0x2e04536c
call fcn.2e044238
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.2e045084
push 0
lea ecx, [ebp - 0x20c]
push ecx
push edi
push eax
call fcn.2e0445bf
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x414]
test edi, edi
jne 0x2e04535d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x2e04536c
push esi
push 0x2e0b83e4
push eax
call fcn.2e040117
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.2e056514
leave
ret
Function at 0x2e0477fd
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x2e0b1da0]
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 0x2e04783d
xor eax, eax
jmp 0x2e0479ad
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.2e049ad0
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 0x2e0478a2
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 0x2e04793e
test edi, edi
je 0x2e04793e
and dword [ebp - 0x40c], 0
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x20]
call fcn.2e049992
test eax, eax
je 0x2e047924
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.2e049719
cmp dword [ebp - 0x40c], 5
jne 0x2e047924
cmp dword [ebp - 0x418], 0
jne 0x2e047924
mov dword [ebp - 0x418], ebx
jmp 0x2e04787d
cmp dword [esi], 0
je 0x2e04793e
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 0x2e04794b
cmp eax, 0xffffffff
jne 0x2e04796a
cmp edi, ecx
je 0x2e04795a
push ecx
push 0x787a6c65
call fcn.2e0463db
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 0x2e047995
mov eax, dword [ebp - 0x408]
cmp eax, ecx
jne 0x2e047983
mov eax, 0x2e0097ac
push dword [ebp + 0x14]
push dword [ebp - 0x41c]
push eax
call fcn.2e03fa75
add esp, 0xc
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x2e0479a7
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.2e056514
leave
ret 0x1c
Function at 0x2e047fab
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp edi, ebx
jne 0x2e047fcd
xor esi, esi
jmp 0x2e048053
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x2e047fc6
push esi
call fcn.2e05776b
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x2e047ff5
push ebx
push 0x33753468
jmp 0x2e04803e
push eax
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x2e04800c
push ebx
push 0x33753469
jmp 0x2e04803e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x2e00407c
push dword [ebp + 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x2e048038
cmp dword [ebp - 4], 0x34
jne 0x2e048038
mov esi, dword [ebp - 8]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
jmp 0x2e048045
push ebx
push 0x3375346a
call fcn.2e0463db
xor esi, esi
cmp dword [ebp + 0xc], ebx
je 0x2e048053
push dword [ebp + 0xc]
call fcn.2e057776
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x2e0486d7
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x30]
push eax
call fcn.2e04776e
test eax, eax
jne 0x2e0486f4
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x30]
push edi
push eax
push 0x11
call fcn.2e045ecb
push dword [ebp - 0x1c]
push 0x12
call fcn.2e045ecb
push 0x2e003fc8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
cmp eax, edi
je 0x2e0487f5
push esi
push 0x2e0140b8
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x2e0487f4
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x2e0487f4
push dword [ebp - 4]
call fcn.2e042088
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x2e0487ec
lea ecx, [ebp - 4]
push ecx
push eax
call esi
test eax, eax
je 0x2e0487ec
mov eax, dword [ebp - 4]
push 0x18
xor edx, edx
pop ecx
div ecx
xor esi, esi
mov dword [ebp - 8], edi
cmp eax, edi
jbe 0x2e0487ec
mov edx, dword [ebp - 0xc]
push ebx
mov ebx, eax
mov eax, dword [edx + 4]
sub eax, 0
je 0x2e0487a3
dec eax
dec eax
jne 0x2e0487b4
push dword [edx]
call fcn.2e047c24
pop ecx
cmp edi, eax
ja 0x2e0487b4
mov edi, eax
jmp 0x2e0487b4
push dword [edx]
inc dword [ebp - 8]
call fcn.2e047c24
pop ecx
cmp esi, eax
ja 0x2e0487b4
mov esi, eax
add edx, 0x18
dec ebx
jne 0x2e048787
pop ebx
test esi, esi
je 0x2e0487ca
push esi
push 0x19e1
call fcn.2e045ecb
test edi, edi
je 0x2e0487d9
push edi
push 0x19e2
call fcn.2e045ecb
cmp dword [ebp - 8], 0
je 0x2e0487ec
push dword [ebp - 8]
push 0x19e0
call fcn.2e045ecb
push dword [ebp - 0xc]
call fcn.2e0420bc
pop esi
call fcn.2e041720
pop edi
test eax, eax
jne 0x2e048808
push dword [ebp - 0x1c]
call fcn.2e0485c4
pop ecx
leave
ret
Function at 0x2e04880a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x2e0b1da0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x2e014124
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x118
lea eax, [ebp - 0x138]
push ebx
push eax
mov dword [ebp - 0x140], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x13c], ebx
call fcn.2e056626
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 1
push ebx
push 0x2e0140f8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x2e0488c3
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
push eax
push ebx
push 0x2e0140e8
push dword [ebp - 0x144]
mov dword [ebp - 0x14c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e0488b5
push dword [ebp - 0x148]
push 0x22df
call fcn.2e045ecb
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x2e0488ce
push ebx
push 0x66397234
call fcn.2e0463db
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x13c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2e048958
push dword [ebp - 0x130]
push 0x1a
call fcn.2e045ecb
movzx eax, word [ebp - 0x28]
movzx ecx, word [ebp - 0x26]
shl eax, 0x10
or eax, ecx
push eax
push 0x43
call fcn.2e045ecb
movzx eax, word [ebp - 0x24]
push eax
push 0x3a5
call fcn.2e045ecb
push dword [ebp - 0x138]
push 0x22e1
call fcn.2e045ecb
push dword [ebp - 0x134]
push 0x22e2
call fcn.2e045ecb
movzx eax, word [ebp - 0x28]
push eax
push 0x22e4
call fcn.2e045ecb
movzx eax, word [ebp - 0x26]
push eax
push 0x22e5
call fcn.2e045ecb
call fcn.2e04a54b
test eax, eax
je 0x2e0489eb
lea eax, [ebp - 0x20]
push eax
call fcn.2e04853c
mov esi, eax
cmp esi, ebx
jne 0x2e04897c
push ebx
push 0x38317137
jmp 0x2e0489c9
push 0x2e0140d8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x2e048994
push ebx
push 0x38317138
jmp 0x2e0489c9
lea ecx, [ebp - 0x140]
push ecx
movzx ecx, word [ebp - 0x26]
push ecx
movzx ecx, word [ebp - 0x28]
push ecx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
call eax
test eax, eax
jne 0x2e0489d0
push 0xffffffffffffffff
push 0x1af7
call fcn.2e045ecb
push ebx
push 0x38317139
call fcn.2e0463db
jmp 0x2e0489e0
push dword [ebp - 0x140]
push 0x1af7
call fcn.2e045ecb
cmp esi, ebx
je 0x2e0489eb
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e056514
leave
ret