joyce8/EMBER2024-capa huggingface dataset:
Function at 0x499800
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4db9f8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x499839
inc eax
mov dword [esi + 0x10], eax
jmp 0x49994c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x49984d
mov eax, 0xffffffc7
jmp 0x49994e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x49985e
cmp dword [esi + 8], eax
jne 0x49984d
cmp dword [esi + 8], eax
jne 0x499877
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x499877
mov eax, 0xffffffc7
jmp 0x49994e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x49988b
push eax
mov ecx, ebx
call fcn.00499030
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00465e80
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4998bc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00465ea0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004987a0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4998ef
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e7de0
call fcn.00466080
mov eax, dword [esp + 0x38]
jmp 0x49994e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00499660
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x499933
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00499680
mov esi, eax
test esi, esi
jne 0x499963
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00499660
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x499905
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e7de0
call fcn.00466080
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4e7de0
call fcn.00466080
mov eax, esi
jmp 0x49994e

Function at 0x49ca80
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x49cae0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x49cae0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x49cae0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x49cae0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x49cb20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x4a2c70
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4dc028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004d2722
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004a2610
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004d2650
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004cee3a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004cee3a
push 1
push 0
push 0
mov ecx, esi
call fcn.004cede2
push 1
push 0
push 1
mov ecx, esi
call fcn.004cede2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d2794
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4a2df0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4dc048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004d2722
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004a2610
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004d2650
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x4a2eb4
cmp dword [esp + 0x40], 1
jne 0x4a2eb2
cmp ecx, eax
jge 0x4a2eb4
mov eax, ecx
cmp eax, 0xc8
jge 0x4a2ec0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004a2c70
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004d2794
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4a3640
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4dc0b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004cd257
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004d29ca
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004d3f65
test eax, eax
je 0x4a375c
mov ecx, dword [esp + 0x3c]
call fcn.004d29f7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4a3720
push edi
mov ecx, esi
call fcn.004cffb9
mov ecx, esi
call fcn.004a38c0
cmp dword [esp + 0x38], 1
jne 0x4a3755
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004d0123
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4a6190
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a61c3
push esi
call fcn.004a92a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a61bc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4a6249
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a6232
mov eax, dword [esi + 8]
test eax, eax
je 0x4a61e7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4a622e
cmp eax, 2
je 0x4a6232
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a61da
cmp eax, 3
je 0x4a620d
cmp eax, 1
jne 0x4a61da
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4a61da
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a61da
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a6270
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a6258
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a6270
add esp, 4
pop esi
ret

Function at 0x4ce04d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ce085
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004cc0da
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004cc0b2
jmp 0x4ce091
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4cf742
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4cf784
call fcn.004d546c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4cf784
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4cf77b
xor eax, eax
jmp 0x4cf78c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004cf792
pop edi
pop esi
pop ebx
ret 4

Function at 0x4d599c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4d59ca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4d59e8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004d5902
jmp 0x4d59e8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4d59e8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004d5902
test edi, edi
mov eax, edi
jne 0x4d59d2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001f20
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101372a0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x101a3590]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ebp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov dword [ebp - 0x1c], edi
movzx eax, word [ecx + 0x14]
lea esi, [ecx + 0x18]
add esi, eax
xor ecx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], esi
movzx eax, word [eax + 6]
cmp ecx, eax
jge 0x10002057
push 0
call ebx
push 0
call ebx
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x10001fc8
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x10002048
push 4
push 0x1000
push eax
mov eax, dword [esi + 0xc]
add eax, edi
push eax
call dword [0x101a82f0]
push 0
mov edi, eax
call ebx
push dword [ebp - 0x18]
mov dword [esi + 8], edi
push 0
push edi
call fcn.1011ed60
add esp, 0xc
jmp 0x10002041
push 4
push 0x1000
push eax
mov eax, dword [esi + 0xc]
add eax, edi
push eax
call dword [0x101a82f0]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push 0x1017db1c
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x55
call fcn.1011e2b6
mov eax, dword [ebp - 0x14]
push dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add eax, dword [ebp + 8]
push eax
push dword [ebp - 0x18]
call fcn.1011e710
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0xc
push 0
call esi
push 0
call esi
mov eax, 0x10002027
ret
push 0
call ebx
mov edi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x10]
inc ecx
add esi, 0x28
jmp 0x10001f67
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 0x10002270
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0xed8
push 0x12000
push 0x101900a0
call fcn.10002070
push 0x101900a0
call fcn.10002a50
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x100022c4
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call esi
push 0
call esi
push dword [ebp + 8]
push ebx
call fcn.10002990
add esp, 8
test eax, eax
jne 0x100022c9
push ebx
call fcn.100028d0
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
ret
sub esp, 0x61c
mov ecx, 0x187
mov edi, esp
mov esi, 0x101a20c8
rep movsd dword es:[edi], dword [esi]
call eax
push ebx
call fcn.100028d0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0
call esi
push 0
call esi
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x100024c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
push edi
xor edi, edi
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], ebx
jbe 0x10002560
mov edx, dword [ebp + 8]
inc edi
and edi, 0x800000ff
jns 0x100024f1
dec edi
or edi, 0xffffff00
inc edi
movzx eax, byte [edi + edx]
add ebx, eax
and ebx, 0x800000ff
jns 0x10002507
dec ebx
or ebx, 0xffffff00
inc ebx
push 0
call esi
push 0
call esi
mov edx, dword [ebp + 8]
push 0
movzx eax, byte [ebx + edx]
mov cl, byte [edi + edx]
mov byte [edi + edx], al
mov byte [ebx + edx], cl
call esi
push 0
call esi
mov edx, dword [ebp + 8]
movzx ecx, byte [edi + edx]
movzx eax, byte [ebx + edx]
add ecx, eax
and ecx, 0x800000ff
jns 0x10002544
dec ecx
or ecx, 0xffffff00
inc ecx
movzx eax, byte [ecx + edx]
mov ecx, dword [ebp - 4]
mov esi, dword [ebp + 0xc]
xor byte [ecx + esi], al
inc ecx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], ecx
cmp ecx, dword [ebp + 0x10]
jb 0x100024e0
push 0
call esi
push 0
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10002570
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x101a3590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x400]
push esi
push edi
push 0x3fc
push 0
push eax
mov dword [ebp - 0x40c], ebx
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x404], 0
call fcn.1011ed60
mov esi, dword [ebp + 0x10]
add esp, 0xc
mov edi, dword [ebp + 0xc]
xor ecx, ecx
mov eax, ecx
mov byte [ebx + ecx], cl
xor edx, edx
div esi
movzx eax, byte [edx + edi]
mov dword [ebp + ecx*4 - 0x404], eax
inc ecx
cmp ecx, 0x100
jl 0x100025c1
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
jmp 0x100025f0
mov bl, byte [ebx + edi]
movzx eax, bl
add eax, dword [ebp + edi*4 - 0x404]
add eax, dword [ebp - 0x408]
and eax, 0x800000ff
jns 0x10002611
dec eax
or eax, 0xffffff00
inc eax
push 0
mov dword [ebp - 0x408], eax
call esi
push 0
call esi
mov edx, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x408]
push 0
mov al, byte [edx + ecx]
mov byte [edx + edi], al
mov byte [edx + ecx], bl
call esi
push 0
call esi
mov ebx, dword [ebp - 0x40c]
inc edi
cmp edi, 0x100
jl 0x100025f0
push 0
call esi
push 0
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011e2a7
mov esp, ebp
pop ebp
ret

Function at 0x100026e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x101a3590]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
mov dword [ebp - 0x10], 0x68746f4b
mov dword [ebp - 0xc], 0x36317265
mov word [ebp - 8], 0x38
call esi
push 0
call esi
push 0xa
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.10002570
push 0x61c
lea eax, [ebp - 0x110]
push 0x101a20c8
push eax
call fcn.100024c0
add esp, 0x18
push 0
call esi
push 0
call esi
push str.Shellex
call fcn.10002270
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1011e2a7
mov esp, ebp
pop ebp
ret
Function at 0x10005d41
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101374f5
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.101216e0
mov eax, dword [0x101a3590]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x101c], edx
mov dword [ebp - 0x1028], ebx
cmp dword [ecx + 0x58], ebx
je 0x10005e75
push ebx
push eax
call fcn.10005ec4
mov ebx, eax
test ebx, ebx
jne 0x10005da9
push esi
jmp 0x10005e9d
call fcn.10009afa
push eax
lea ecx, [ebp - 0x1014]
call fcn.100041b4
xor ecx, ecx
lea eax, [ebp - 0x1018]
push eax
push ecx
lea eax, [ebp - 0x1020]
mov dword [ebp - 4], ecx
push eax
push ecx
push dword [ebp - 0x101c]
mov dword [ebp - 0x1020], ecx
push ebx
mov dword [ebp - 0x1018], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x1024], eax
test eax, eax
jne 0x10005e34
push dword [ebp - 0x1018]
lea ecx, [ebp - 0x1014]
call fcn.100031f3
lea ecx, [ebp - 0x1018]
push ecx
push eax
lea eax, [ebp - 0x1020]
push eax
push 0
push dword [ebp - 0x101c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x1014]
mov dword [ebp - 0x1024], eax
call fcn.10005fe8
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1024], 0
jne 0x10005e62
mov esi, dword [ebp - 0x1014]
add esi, 0xfffffff0
push esi
call fcn.10004a63
pop ecx
add eax, 0x10
mov ecx, esi
mov dword [edi], eax
call fcn.10003263
jmp 0x10005ea4
push esi
mov ecx, edi
call fcn.100041dd
mov ecx, dword [ebp - 0x1014]
lea ecx, [ecx - 0x10]
jmp 0x10005e5b
test esi, esi
jne 0x10005e7e
mov esi, 0x10146db0
push dword [ecx + 0x6c]
lea ecx, [ebp - 0x1010]
push 0x1000
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x1010]
push eax
mov ecx, edi
call fcn.100041dd
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011e2a7
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1000be7b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x1000bec0
call fcn.10003044
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x1000bec0
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1000bedc
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.10017fde
mov ebx, eax
test edi, edi
je 0x1000beda
test esi, esi
je 0x1000beda
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10010ace
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x101a3590]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10010b60
test esi, esi
je 0x10010b60
push esi
call fcn.10120ab0
push 0xff
mov ebx, eax
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x103]
push 0
push eax
call fcn.1011ed60
mov eax, 0x100
add esp, 0x10
cmp ebx, eax
ja 0x10010b45
push eax
lea eax, [ebp - 0x104]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
jne 0x10010b45
push esi
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x10010b4d
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011e2a7
mov esp, ebp
pop ebp
ret 8
call fcn.10008dcb
int3

Function at 0x100130fc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x10137d70
call fcn.1011f22e
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x230], ebx
call fcn.10003044
push ebx
mov ecx, dword [eax + 4]
call fcn.10005a89
mov esi, eax
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov eax, dword [edi]
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
call dword [eax + 0x20]
push 0x2001f
lea ecx, [ebp - 0x22c]
push dword [eax]
push esi
call fcn.10012eab
mov ecx, dword [ebp - 0x21c]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ecx - 0x10]
call fcn.10003263
inc bl
je 0x100132aa
xor ebx, ebx
lea eax, [ebp - 0x113]
push 0x103
push ebx
push eax
mov esi, ebx
mov byte [ebp - 0x114], bl
call fcn.1011ed60
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
lea eax, [ebp - 0x21c]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x10013266
push 0x103
lea eax, [ebp - 0x217]
mov dword [ebp - 0x21c], 0x104
push 0
push eax
inc esi
mov byte [ebp - 0x218], 0
call fcn.1011ed60
add esp, 0xc
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x220]
lea ecx, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1001309a
test eax, eax
jne 0x10013251
lea eax, [ebp - 0x114]
push eax
lea ecx, [edi + 4]
call fcn.100121a2
lea ecx, [ebp - 0x218]
push ecx
mov ecx, eax
call fcn.1000563c
mov dword [ebp - 0x230], 1
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 0x22c]
call ebx
test eax, eax
je 0x100131d4
lea ecx, [ebp - 0x22c]
call fcn.10005a6f
mov eax, dword [edi]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, edi
call dword [eax + 0x20]
lea ecx, [ebp - 0x23c]
push dword [eax]
call fcn.1001278c
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.10003263
lea ecx, [ebp - 0x22c]
call fcn.10005a6f
lea ecx, [ebp - 0x23c]
call fcn.10005a6f
mov eax, dword [ebp - 0x230]
call fcn.1011f1dd
ret