joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10094c40
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.10094b80
add esp, 0x18
test eax, eax
je 0x10094c69
inc eax
cmp byte [eax], 0xcc
je 0x10094c63
pop ebp
ret

Function at 0x10096f60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10097110
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1009702d
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010cf60]
jb 0x10096faa
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010cf64]
ja 0x10096faa
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10096f7a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b2a60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10096fd0
jmp 0x1009702d
cmp dword [ebp - 0x14], 0x10000
jne 0x10097013
cmp dword [ebp - 0x18], 0x10000
jb 0x10097013
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10097006
mov eax, dword [ebp - 8]
jmp 0x1009702f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10097028
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10097110
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10096f7a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10097040
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10097140
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10097105
mov edx, dword [ebp - 4]
cmp edx, dword [0x1010cf60]
jb 0x10097085
mov eax, dword [ebp - 4]
cmp eax, dword [0x1010cf64]
ja 0x10097085
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10097055
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100b2a60
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100970ab
jmp 0x10097105
cmp dword [ebp - 0x14], 0x10000
jne 0x100970ee
cmp dword [ebp - 0x18], 0x10000
jb 0x100970ee
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100970e1
mov eax, dword [ebp - 8]
jmp 0x10097107
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10097100
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10097140
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10097055
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1009eecb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x1009eef2
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1009eef5
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.1009eea7
pop esi
leave
ret 8

Function at 0x100a435f
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
push esi
mov esi, dword [ebp + 0xc]
cmp dword [ebp + 0x10], edx
jbe 0x100a4382
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc edx
cmp edx, dword [ebp + 0x10]
jb 0x100a4370
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x100b11e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.100c816a
mov eax, dword [eax + 0x14]
test eax, eax
je 0x100b1223
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
push 2
push ecx
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x100b1223
sub eax, 1
je 0x100b121e
sub eax, 1
je 0x100b121a
xor eax, eax
leave
ret
push 3
jmp 0x100b1225
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x100d0296
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f788c
push 0x100f7884
push str.FlsAlloc
push 0x1e
call fcn.100d00c3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d02ca
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e633c]
call esi
jmp 0x100d02d0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100d0314
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100f789c
push 0x100f7894
push str.FlsGetValue
push 0x20
call fcn.100d00c3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100d034b
push dword [ebp + 8]
mov ecx, esi
call dword [0x100e633c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100d377d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100d381a
push ebx
push esi
call fcn.100d3746
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100d1ead
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d37c7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d3819
push edi
push eax
call fcn.100cea71
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100d37e7
call fcn.100cea37
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100d3818
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100d1ead
add esp, 0x20
test eax, eax
jne 0x100d3806
push edi
call fcn.100cea37
jmp 0x100d380e
push ebx
call fcn.100cea37
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100d381d
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100d382e
pop esi
ret
push ebx
push edi
push esi
call fcn.100d3746
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100cea71
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100d3856
push ebx
push esi
push edi
call fcn.100b2d80
add esp, 0xc
push 0
call fcn.100cea37
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100d3c1a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100d386b
Function at 0x100db9d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100db9fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100db9fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x40287f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40288e
pop dword [ebp - 0x10]
mov eax, 0x40288e
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x417adc50
sub dword [ebp - 0x20], 0xf3289705
mov dword [ebp - 0x1c], 0x65097c38
add dword [ebp - 0x1c], 0xcd29d00d
mov dword [ebp - 0x18], 0x45a6642b
add dword [ebp - 0x18], 0x6a5e003
mov dword [ebp - 0x14], 0xc6d4316
sub dword [ebp - 0x14], 0xc6d4316
lea eax, [ebp - 0x20]
push eax
mov eax, 0xf208acca
sub eax, 0xf1c82c3e
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x9e549e1
sub dword [ebp - 0x20], 0x9572e08b
mov dword [ebp - 0x1c], 0xc64dc01
add dword [ebp - 0x1c], 0x35078574
mov dword [ebp - 0x18], 0x9a51637c
add dword [ebp - 0x18], 0xc91e08f0
mov dword [ebp - 0x14], 0xe11fc3cc
sub dword [ebp - 0x14], 0xe11fc3cc
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0xa169d71b
add eax, 0x5ed6a9b9
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3a5fe
push 0
call eax
mov ecx, 0x571d
mov edx, eax
mov ebx, 0x9513df75
add ebx, 0x6b2d308b
add ebx, dword [ebp - 0x10]
mov esi, 0x58497224
sub esi, 0x9492e0dd
mov dword [ebp - 0xc], 0x63d5f3dd
mov edi, dword [ebx]
sub dword [ebp - 8], esi
add edi, esi
mov dword [edx], edi
xor dword [ebp - 4], edx
add edx, 0x4e9dad77
sub edx, 0x4e9dad73
add ebx, 4
loop 0x4029a5
add eax, 0xa5765add
sub eax, 0xa5750b96
xor ebx, ebx
add ebx, eax
add eax, 0x4b9c41cf
add eax, 0xb463be36
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x402000
Capabilities:
Terminate process

Disassembly:
push 0xfffffff6
call sub.kernel32.dll_GetStdHandle
push eax
pop eax
mov dword [0x43e04c], eax
lea eax, [0x43e054]
push eax
push dword [esp]
call fcn.004097a4
add esp, 4
add esp, 4
lea eax, [0x43e06c]
push eax
push dword [esp]
call fcn.00409ec2
add esp, 4
add esp, 4
push 0xff000000
pop eax
mov dword [0x43e014], eax
push 0xff0000ff
pop eax
mov dword [0x43e018], eax
push 0xff00ff00
pop eax
mov dword [0x43e01c], eax
push 0xff00ffff
pop eax
mov dword [0x43e020], eax
push 0xffff0000
pop eax
mov dword [0x43e024], eax
push 0xffff00ff
pop eax
mov dword [0x43e028], eax
push 0xffffff00
pop eax
mov dword [0x43e02c], eax
push 0xffffffff
pop eax
mov dword [0x43e030], eax
push 0xff808080
pop eax
mov dword [0x43e034], eax
push 1
pop eax
mov dword [0x43e038], eax
push 0x427c6f
push 0x427fe3
push 0xffffffff
push 0xf8
push 0x42a0d0
call fcn.00402455
add esp, 0x10
push eax
call fcn.0041d88d
push eax
lea eax, [esp + 4]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
push eax
call fcn.00402868
pop eax
add esp, 4
pop eax
add esp, 4
lea eax, [0x43e06c]
push eax
call fcn.00409f34
add esp, 4
lea eax, [0x43e054]
push eax
call fcn.004097ba
add esp, 4
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]

Function at 0x402164
Capabilities:
Write file on windows

Disassembly:
enter 4, 1
mov eax, str.print
push dword [0x43e050]
mov eax, 0
cmp dword [esp], eax
mov eax, 0
sete al
add esp, 4
test eax, eax
je 0x402258
enter 0x10, 2
push dword [0x43e048]
mov eax, 0
cmp dword [esp], eax
mov eax, 0
sete al
add esp, 4
test eax, eax
je 0x4021ca
push 0xfffffff5
call sub.kernel32.dll_GetStdHandle
push eax
pop eax
mov dword [0x43e048], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov dword [eax], 0
add esp, 4
mov ecx, dword [ebp - 4]
push dword [ecx + 8]
call fcn.00402cd1
add esp, 4
push eax
mov eax, dword [esp]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00402868
pop eax
mov eax, dword [esp]
push eax
call fcn.00402822
pop eax
pop eax
mov dword [ebp - 0xc], eax
push esp
mov eax, dword [esp]
mov eax, dword [eax]
push eax
call fcn.00402868
pop eax
add esp, 8
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax - 4]
push eax
push dword [ebp - 0xc]
push dword [0x43e048]
call sub.kernel32.dll_WriteFile
lea eax, [ebp - 0xc]
push eax
mov eax, dword [esp]
mov eax, dword [eax]
push eax
call fcn.00402868
pop eax
add esp, 4
leave
jmp 0x402268
push dword [ebp + 8]
mov eax, dword [0x43e050]
call eax
add esp, 4
leave
ret

Function at 0x4099a4
Capabilities:
Allocate or change rwx memory

Disassembly:
enter 4, 1
mov eax, str._JIT_Allocator.ctor
push 0x40
push 0x1000
push 0x10000
push 0
call sub.kernel32.dll_VirtualAlloc
push eax
mov ecx, dword [ebp + 8]
pop eax
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
push dword [ecx]
mov ecx, dword [ebp + 8]
pop eax
mov dword [ecx + 4], eax
mov ecx, dword [ebp + 8]
push dword [ecx]
mov eax, 0x10000
add dword [esp], eax
mov ecx, dword [ebp + 8]
pop eax
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
leave
ret
Function at 0x10002447
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
push ebx
push esi
push edi
call fcn.10005445
push eax
lea eax, [ebp - 0x40c]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x40c]
push 0x100082bc
push eax
call sub.MSVCRT.dll_strcat
call fcn.10005445
push eax
lea eax, [ebp - 0x810]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x810]
push 0x100082ac
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
mov ebx, 0x80000000
push ebx
call fcn.100023f5
add esp, 0x28
lea eax, [ebp - 8]
xor esi, esi
mov edi, 0x100d7304
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push edi
push esi
push 0x100082a0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10002575
push dword [0x100d77ac]
lea eax, [ebp - 0xc14]
push 0x10008294
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xc14]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push eax
push 1
push edi
push dword [ebp - 4]
call esi
test eax, eax
jne 0x1000256c
push eax
lea eax, [ebp - 0x40c]
push eax
push 1
push 0x10008280
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x810]
push 0
push eax
push 1
push 0x10008274
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push 0x20006
push eax
push edi
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10002575
push eax
push 0x100082a0
push 1
push edi
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000257a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
push dword [ebp + 8]
mov edi, 0x80000000
push edi
call fcn.100023f5
pop ecx
lea eax, [ebp - 8]
pop ecx
mov esi, 0x100d7304
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push esi
push 0
push dword [ebp + 8]
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100025cf
push eax
push esi
push 1
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x100025ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
lea eax, [ebp - 0xc]
push esi
push eax
lea eax, [ebp + 8]
push eax
push 0
push 0x20019
mov esi, 0x100d7304
push 0
push esi
push 0
mov dword [ebp - 4], 0x3f
push dword [ebp + 8]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10002669
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10002669
cmp dword [ebp - 8], 1
jne 0x10002669
lea eax, [ebp - 0x4c]
push 0x100082a0
push eax
call sub.MSVCRT.dll_strcmp
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x1000266b
xor eax, eax
pop esi
leave
ret

Function at 0x10002736
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
xor edi, edi
mov esi, 0x10007fb4
and dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
push eax
push 0
push 0x1005
mov dword [ebp - 0x24], edi
push dword [0x100d731c]
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x18], 0xf000
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x1c]
shr eax, 0xd
and eax, 1
inc edi
mov dword [esi], eax
add esi, 0x18
cmp esi, 0x1000826c
jl 0x10002745
pop edi
pop esi
leave
ret

Function at 0x10002b28
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0
push dword [ebp + 8]
push 0x100d6dfc
call fcn.1000596d
add esp, 0xc
call fcn.10005445
mov edi, eax
mov esi, 0x100d7374
cmp byte [edi], 0
je 0x10002b98
cmp dword [ebp + 8], 1
jne 0x10002b60
push 0x100d6df4
jmp 0x10002b65
push 0x100d6dec
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push edi
push esi
call sub.MSVCRT.dll_strcat
push 0x100d6de8
push esi
call sub.MSVCRT.dll_strcat
push 0x100d6dd8
push esi
call sub.MSVCRT.dll_strcat
push 0x100d6dd4
push esi
call sub.MSVCRT.dll_strcat
add esp, 0x20
push 0x3c
lea eax, [ebp - 0x3c]
pop edi
push edi
push 0
push eax
call sub.MSVCRT.dll_memset
and dword [ebp - 0x34], 0
add esp, 0xc
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
push eax
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], 0x100d6dcc
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x2c], 0x100d6dbc
mov dword [ebp - 0x28], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop edi
pop esi
leave
ret
Function at 0x10005445
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor esi, esi
push 0x401
push esi
push 0x100d7960
mov dword [ebp - 8], 1
mov dword [ebp - 0x10], 0x400
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0xc]
mov ebx, 0x100d7304
mov edi, 0x100d7020
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x100d7d90]
or eax, 0x20019
push esi
push eax
push esi
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push edi
push 0x80000002
call esi
xor ecx, ecx
cmp eax, ecx
je 0x100054c9
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x100d7d90]
or eax, 0x20019
push ecx
push eax
push ecx
push ebx
push ecx
push edi
push 0x80000001
call esi
test eax, eax
jne 0x10005505
lea eax, [ebp - 0x10]
mov esi, 0x100d7960
push eax
lea eax, [ebp - 8]
push esi
push eax
push 0
push 0x100d7014
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x100054fc
cmp dword [ebp - 8], 1
je 0x1000550a
and byte [0x100d7960], 0
jmp 0x1000550a
mov esi, 0x100d7960
push esi
call fcn.10005418
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10005537
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 8]
and dword [ebp - 0x34], 0
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
push eax
mov dword [ebp - 0x38], 0x40
mov dword [ebp - 0x30], 0x100d6dcc
mov dword [ebp - 0x20], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
leave
ret

Function at 0x1000557f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
xor esi, esi
call fcn.10005d19
test eax, eax
je 0x1000559f
mov ebx, 0x100
mov esi, 0x200
mov edi, 0x20019
lea eax, [ebp - 4]
or esi, edi
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0
push 0x100d708c
push 0x80000002
call esi
test eax, eax
jne 0x100055ef
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push 0
push eax
push 0
push 0x100d7064
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x10005611
lea eax, [ebp - 4]
or ebx, edi
push eax
push ebx
push 0
push 0x100d7034
push 0x80000000
call esi
test eax, eax
jne 0x10005616
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x10005618
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret