joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100db122
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x100ff2d4]
add ecx, 0x4b29
mov dword [0x100ff2d4], ecx
mov dword [ebp - 0x10], eax
call fcn.100dbd0f
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x100ff2d8], 0x47e5
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x100ff2d4], 0x660
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x100db1bc
jmp 0x100db1ec
mov al, byte [ebp - 0x25]
test al, 1
jne 0x100db1c7
jmp 0x100db192
xor eax, eax
mov ecx, dword [ebp - 0x2c]
add ecx, 2
mov edx, dword [ebp - 0x30]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x40], edx
jb 0x100db206
mov eax, dword [ebp - 0x24]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x100ff2d4], 0xc39
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
jmp 0x100db1bc
mov eax, 0x660
xor ecx, ecx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
xor esi, esi
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + eax*4]
add edx, 0x24f8
mov dword [0x100ff2d4], edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x48], esi
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x25], cl
je 0x100db189
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x25]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x100db232
jmp 0x100db189
Function at 0x100db28c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x100ff2e0], 0
mov byte [0x100ff2e4], 0
mov dword [0x100ff2d4], 0x2002
mov dword [0x100ff2d8], 0xf6c
mov dword [0x100ff2dc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100db3b8
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x100ff2e8], 0
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x100ff2e0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x100ff2e8], esi
mov dword [0x100ff2d8], 0x232c
mov eax, esi
cdq
idiv ecx
mov dword [0x100ff2e0], edx
mov dword [0x100ff2d4], 0x347
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x100ff2e4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x100ff2e4]
mov esi, dword [0x100ff2e0]
mov byte [ebx + esi], cl
mov esi, dword [0x100ff2dc]
add esi, 1
mov dword [0x100ff2dc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x100db2e0
jmp 0x100db3a1
xor eax, eax
mov dword [0x100ff2d8], 0x1a2c
mov dword [0x100ff2dc], 0
mov dword [ebp - 0x20], eax
jmp 0x100db2e0
mov eax, dword [0x100ff2d8]
add eax, 0xffffeb75
mov dword [0x100ff2d8], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x100ff2d4], 0x142c
mov eax, dword [0x100ff2dc]
add eax, 1
mov dword [0x100ff2dc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100db3b8
jmp 0x100db383
Function at 0x100db3ea
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x38
mov dword [ebp - 0xc], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
mov ecx, dword [0x100ff2d8]
mov edx, dword [ebp - 0x14]
mov esi, dword [edx + 0x3c]
mov edi, ecx
add edi, 0xffffde83
mov dword [0x100ff2d4], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
jmp 0x100db530
mov eax, dword [ebp - 0x1c]
add eax, 0xffffdce0
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [0x100ff2d4], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x2c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x30], eax
je 0x100db497
mov eax, dword [ebp - 0x30]
xor ecx, ecx
add eax, 0xfffff184
mov dword [0x100ff2d8], eax
mov dword [ebp - 0x34], ecx
jmp 0x100db58f
mov eax, dword [ebp - 0x38]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x3c], eax
jl 0x100db530
jmp 0x100db54a
mov eax, 1
mov ecx, 0xadf
mov dword [0x100ff2d4], 0xadf
mov edx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x100db58f
jmp 0x100db460
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x14], 0x64
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
je 0x100db571
jmp 0x100db460
mov dword [0x100ff2d8], 0x1815
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x16], 0x61
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
je 0x100db4c6
jmp 0x100db460
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff4
shl eax, 1
mov ecx, dword [ebp - 0x20]
add ecx, eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
cmp word [eax], 0x6f
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x30], ecx
je 0x100db4e4
jmp 0x100db460
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edx
jne 0x100db477
mov eax, dword [ebp - 0x3c]
mov dword [0x100ff2d8], 0x9f
mov ecx, dword [ebp - 0x20]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
je 0x100db508
jmp 0x100db460
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
cmp word [eax + ecx*2 - 0x12], 0x64
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
je 0x100db43b
jmp 0x100db460
mov eax, dword [ebp - 0x34]
add esp, 0x38
pop esi
pop edi
pop ebp
ret
Function at 0x100db96c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x100ff2dc], 0
mov dword [0x100ff2e0], 0
mov dword [0x100ff2ec], 0
mov dword [0x100ff2d8], 0x14e0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x100db9dd
mov dword [0x100ff2d8], 0xe7d
add esp, 0x34
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, ecx
add edi, 1
mov dword [0x100ff2d4], 0xb69
add eax, 1
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x100ff2dc], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x2c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x100ff2e0], edx
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
mov cl, byte [ecx + esi]
mov byte [0x100ff2e4], cl
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x100ff2d4], 0x226c
mov cl, byte [0x100ff2e4]
mov edx, dword [0x100ff2e0]
mov byte [ebx + edx], cl
mov edx, dword [0x100ff2dc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x100ff2e0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x100ff2ec], ecx
mov dword [0x100ff2d4], 0x11c5
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov dl, byte [edx + esi]
xor dl, byte [ebx + ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + esi], dl
mov ecx, dword [ebp - 0x10]
cmp edi, ecx
mov dword [ebp - 0x38], edi
je 0x100db9cb
mov eax, dword [0x100ff2dc]
mov ecx, dword [0x100ff2e0]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], edx
jmp 0x100db9dd
Function at 0x100dbbf2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x100dd5dd]
mov esi, 0xe
lea edi, [ebp - 0x28]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
call fcn.100db74f
mov eax, dword [0x100ff2d4]
add eax, 0xffffe70f
mov dword [0x100ff2d4], eax
call fcn.100db599
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100dbf0c
cmp eax, 0
mov dword [ebp - 0x3c], eax
je 0x100dbd06
mov eax, dword [ebp - 0x3c]
mov ecx, dword [0x100ff2d4]
add ecx, 0x1acf
mov dword [0x100ff2d4], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x2c]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.100dbad0
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xc0
mov dword [ecx + 0xc0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x30]
mov dword [edx + 0x4c], ecx
mov dword [0x100ff2d4], 0x112
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x3c], ecx
add ecx, 0x194a
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x100dbcfc
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x50
pop esi
pop edi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop edi
pop ebp
ret
Function at 0x407d00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
and eax, 0
push eax
push eax
push eax
push eax
push eax
push eax
and ecx, 0
cld
call 0x407d71
add eax, 0xfffffffd
clc
imul ax, dx
mov edx, 6
movzx eax, al
cmp ax, 0x7c
cld
bnd je 0x407d96
push esp
push 2
call dword [sym.imp.ole32.dll_CoGetMalloc]
mov ecx, ebp
cmp al, 0x57
jne 0x407dd5
mov eax, 0x407d91
add eax, edx
push ecx
sub esp, 4
mov dword [esp], eax
push 0xf
push 0
call fcn.00407dcb
test eax, eax
jne 0x407da9
jmp 0x407dd5
mov eax, 0
leave
push ecx
call ebx
test dword [0x7ffe0004], 0xffffffff
je 0x407d96
mov eax, dword [ebp + 4]
imul eax, dword [eax + 0x14e3f]
test eax, 0x7fffffff
je 0x407d96
bnd jmp dword [sym.imp.KERNEL32.dll_GetCalendarInfoA]
jmp 0x864c226
test al, 0x96
ja 0x407dad
lea eax, [eax - 0x773648]
sub edx, 0x1b8
add eax, dword [edx]
mov dword [edx], eax
mov ecx, dword es:[esp]
sub esp, 0xffffffec
sub eax, eax
push cs
je 0x407d68
ret
add byte [eax], al
add byte [eax], al
mov eax, dword [0xb12e9707]
sal dword [edx + 0x68], cl
xchg ecx, eax
inc eax
push 0xfcf868f2
add ch, byte [eax - 0x50]
push 0x5ef47b7c
cmp al, 0xa2
push 0xa26ac765
push 0x68502416
mov ch, 0x74
jne 0x407e6a
xor byte [eax - 0xd], ch
inc byte [esi]
hlt
add eax, 0x209f1973
push 0x40f76b9
jbe 0x407e3d
add al, 0xc8
inc esi
jns 0x407e3d
enter 0x7946, 0xa
add byte [eax + 0x3c], ch
xlatb
dec ecx
jle 0x407e25
fcmove st(0), st(5)
mov ecx, 0xa40968f2
jmp 0xa0f93985
push 0x3fe9a409
mov ebx, 0x68a0b8
push 0x2568a07d
insb byte es:[edi], dx
sub dword [ebp - 0x3627b5cd], eax
insb byte es:[edi], dx
ja 0x407e2f
fisubr dword [edi + 0x54]
test dword [edx + 0x53e49c89], ebp
aam 0xa
and edx, ebx
sti
xor byte [eax - 0x4a], ch
inc esi
movsb byte es:[edi], byte [esi]
stosd dword es:[edi], eax
mov esi, 0xd468b0e5
cli
dec ecx
inc ebx
loope 0x407e2c
adc al, 0xd5
xchg esp, eax
inc edx
push 0xdeaf5d1
dec eax
xchg ebp, eax
fdivrp st(2)
push 0x732dc5ce
mov dl, 0x68
jb 0x407ef4
adc edi, dword [eax + 0x54853db5]
inc ebx
pop esp
fisttp word [esi]
pop es
sub dword [0x39b262f], ebx
push esp
in eax, dx
add byte [eax - 0x28], ch
pop ds
aas
sbb al, 0x81
sub ebx, ebx
clc
adc ch, byte [eax - 0x54]
lcall 0x9c78, 0x4eb37fde
xchg byte [ebx - 0x1e], bl
push 0xa1f64c41
aam 0x3c
lds esp, [eax + 0x68]
fld xword [edi]
pushfd
test dword [edi], eax
ja 0x407f27
and ecx, esi
invalid
mov bh, 0xcd
scasb al, byte es:[edi]
cmc
sahf
fild qword [eax]
iretd
paddb mm1, qword [esi + 0x38]
dec ebp
add dword [ecx], esp
cmpsd dword [esi], dword es:[edi]
cmp dword [ecx], 0xf2f768d0
push 0xcf68700b
xor ecx, dword [edx - 0x5e]
push 0x10779da3
ja 0x407f39
push 0x46b36810
mov al, 0x68
pop eax
pushfd
sub eax, 0x1a73b528
shr edi, 1
out dx, eax
imul ebp, dword [ebx - 0x39a4669b], 0x1c
pop ds
mov edx, dword [0xbe687278]
scasb al, byte es:[edi]
jnp 0x407f0e
retf
Function at 0x40788b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417400]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00406579
and dword [ebp - 0x14], 0
cmp dword [0x43a538], 0
mov dword [ebp - 0x18], eax
jne 0x40793e
push 0x401e7c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4079e6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x401e70
push ebx
call edi
test eax, eax
je 0x4079e6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x401e60
push ebx
mov dword [0x43a538], eax
call edi
push eax
call esi
push 0x401e4c
push ebx
mov dword [0x43a53c], eax
call edi
push eax
call esi
push 0x401e30
push ebx
mov dword [0x43a540], eax
call edi
push eax
call esi
mov dword [0x43a548], eax
test eax, eax
je 0x40793e
push 0x401e18
push ebx
call edi
push eax
call esi
mov dword [0x43a544], eax
mov eax, dword [0x43a544]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407997
cmp dword [0x43a548], ecx
je 0x407997
push eax
call esi
push dword [0x43a548]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407997
test ebx, ebx
je 0x407997
call edi
test eax, eax
je 0x40798e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40798e
test byte [ebp - 8], 1
jne 0x407997
or dword [ebp + 0x10], 0x200000
jmp 0x4079ca
mov eax, dword [0x43a53c]
cmp eax, dword [ebp - 0x18]
je 0x4079ca
push eax
call esi
test eax, eax
je 0x4079ca
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4079ca
mov eax, dword [0x43a540]
cmp eax, dword [ebp - 0x18]
je 0x4079ca
push eax
call esi
test eax, eax
je 0x4079ca
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43a538]
call esi
test eax, eax
je 0x4079e6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4079e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407c05
leave
ret

Function at 0x407c05
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417400]
jne 0x407c0f
repz ret
jmp fcn.0040bc4c
Function at 0x414a00
Capabilities:
Access the windows event log
Connect pipe
Delete directory
Delete file
Get common file path
Get uefi variable
Read pipe
Write pipe

Disassembly:
mov eax, 0x1004
call fcn.0040eef0
cmp dword [0x2b640bc], 0x37
jne 0x414acc
push 0x4035a8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
push 0
lea eax, [esp + 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CallNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x40356c
push 0x403594
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push 0x403628
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0
lea eax, [esp + 0x408]
push eax
push 0x403644
push 0x403670
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDevicePowerState]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push 0
lea ecx, [esp + 0xc08]
push ecx
push 0x4036bc
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
mov edx, dword [0x2b644d0]
mov ecx, dword [0x2b63ba0]
mov al, byte [edx + esi + 0x38d6]
mov byte [ecx + esi], al
add esp, 0x1004
ret
Function at 0x415150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x2b640bc]
sub esp, 0x884
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_BuildCommDCBAndTimeoutsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetDateFormatW]
mov ebp, 0x2443831
cmp eax, 0x47
jne 0x4151d6
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x78]
push ecx
push 0x403978
mov dword [esp + 0x6c], 0
call esi
xor eax, eax
push eax
mov dword [esp + 0x56], eax
mov dword [esp + 0x5a], eax
mov dword [esp + 0x5e], eax
mov word [esp + 0x62], ax
lea eax, [esp + 0x94]
push eax
push 0x4039b8
xor edx, edx
lea ecx, [esp + 0x5c]
push ecx
push edx
push edx
mov word [esp + 0x68], dx
call edi
dec ebp
mov eax, dword [0x439c08]
mov dword [0x2b640bc], eax
jne 0x415175
mov dword [esp + 0x20], 0x764d11c7
mov dword [esp + 0x4c], 0x26b44f20
mov dword [esp + 0x24], 0x1f33c7de
mov dword [esp + 0x10], 0x2e56cff9
mov dword [esp + 0x28], 0x6cde8df8
mov dword [esp + 0x14], 0x796abd53
mov dword [esp + 0x34], 0x3ce56ad4
mov dword [esp + 0x1c], 0x581868fc
mov dword [esp + 0x18], 0xc596c70
mov dword [esp + 0x3c], 0x6d5e9115
mov dword [esp + 0x30], 0x22f372d9
mov dword [esp + 0x40], 0x2ad541d0
mov dword [esp + 0x38], 0x7a5f7c43
mov dword [esp + 0x2c], 0x28d520e
mov dword [esp + 0x48], 0x73f3bc07
mov dword [esp + 0x44], 0x51f578e1
add dword [esp + 0x4c], 0x73e38130
mov eax, 0x3a9c3a87
mul dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add dword [esp + 0x24], 0x6b053f58
add dword [esp + 0x20], 0x2818faf9
add dword [esp + 0x4c], 0x3ab2fc3
sub dword [esp + 0x20], 0x30ad2d47
sub dword [esp + 0x20], 0x4442fc9b
sub dword [esp + 0x28], 0x2285667
add dword [esp + 0x4c], 0x262c99c6
sub dword [esp + 0x14], 0x4dc74448
mov eax, 0x53cf4e1b
mul dword [esp + 0x24]
mov eax, dword [esp + 0x24]
add dword [esp + 0x24], 0x1b067f32
mov eax, 0x67698c83
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
sub dword [esp + 0x28], 0x7674af1e
mov eax, 0x173863dd
mul dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, 0x3d786fdd
mul dword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov eax, 0x38471b91
mul dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov eax, 0x45f07edf
mul dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x18], 0x6fea1ecd
sub dword [esp + 0x34], 0x32f1f16e
add dword [esp + 0x34], 0x6e380599
sub dword [esp + 0x18], 0x3ca08c1e
add dword [esp + 0x30], 0x154e8e1
add dword [esp + 0x14], 0x53bb032d
sub dword [esp + 0x14], 0x11166d6c
sub dword [esp + 0x18], 0x2a6a1594
add dword [esp + 0x14], 0x4fb1fe05
mov eax, 0x4b3ce8e6
mul dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x3c], 0x1bc84bb6
sub dword [esp + 0x30], 0x687c0c2b
add dword [esp + 0x48], 0x36e578c2
sub dword [esp + 0x10], 0x7b5e58ec
mov eax, 0x38d0a1fb
mul dword [esp + 0x48]
mov eax, dword [esp + 0x48]
sub dword [esp + 0x40], 0x15793cf4
mov edx, dword [0x439bfc]
mov dword [0x2b644d0], edx
call fcn.00414d60
pop edi
xor eax, eax
pop esi
pop ebp
mov esp, ebp
pop ebp
ret 0x10
Function at 0x404689
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov dword [ebp - 0x98], 3
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4046cd
cmp dword [ebp - 0x84], 1
jne 0x40474c
cmp dword [ebp - 0x8c], 0
jne 0x40474c
lea ecx, [ebp - 0x9c]
push ecx
push 1
push 0
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40474a
mov dword [ebp - 0x124], 0x80
lea edx, [ebp - 0x124]
push edx
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
push ecx
push 0
push str.WheelScrollLines
mov edx, dword [ebp - 0x9c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40473d
push 0xa
push 0
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.MSVCRT.dll_strtoul]
add esp, 0xc
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x9c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40475f
push 0
lea edx, [ebp - 0x98]
push edx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x98]
mov esp, ebp
pop ebp
ret
Function at 0x41d746
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f950
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0x48], 0
jne 0x41d891
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
call fcn.0041d9a0
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov byte [ebp - 0xf], cl
push 0xa
lea edx, [ebp - 0x18]
push edx
push 0xc
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00404380
test eax, eax
jne 0x41d7d3
push 0x3b
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::TrimRight
push 0x20
lea ecx, [ebp - 0x20]
call fcn.0042e97e
mov dword [ebp - 0x24], 0
jmp 0x41d7f7
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x28]
jge 0x41d85d
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0041d9d0
test eax, eax
je 0x41d85b
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x30]
call sub.MFC42.DLL_CComboBox::GetLBText
lea ecx, [ebp - 0x1c]
call fcn.00401c50
test eax, eax
jne 0x41d843
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0042e978
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.0042e978
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call sub.MFC42.DLL_CString::CString
jmp 0x41d7ee
lea edx, [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x30]
add ecx, 0x44
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [ebp - 0x30]
mov dword [eax + 0x48], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret