joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1012caba
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x10198f44
push 0x10198f3c
push str.FlsSetValue
push 3
call fcn.1012c98c
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x1012caee
mov ecx, esi
call fcn.10110915
call esi
jmp 0x1012caf4
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x1014cdf7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1014caba

Function at 0x1014ce02
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1014cc3b

Function at 0x1014f122
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1014ea90

Function at 0x1014f12d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1014eccb

Function at 0x10157c90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x10002550
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0xc]
push edi
movups xmmword [esi], xmm0
movq qword [esi + 0x10], xmm0
mov dword [esi + 0x18], 0
test ecx, ecx
je 0x100025a2
lea edx, [ebp - 0x104]
sub edx, ecx
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10002590
jmp 0x10002688
push ebx
push 0x100
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.102a1020
movq xmm0, qword [str.View16.dll]
add esp, 8
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
movq qword [eax + 1], xmm0
mov cx, word [0x1031b1f4]
mov word [eax + 9], cx
mov cl, byte [0x1031b1f6]
mov byte [eax + 0xb], cl
lea eax, [ebp - 0x104]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10002687
lea eax, [ebp - 0x104]
push 0x5c
push eax
call fcn.102a1020
mov edi, eax
add esp, 8
test edi, edi
je 0x10002651
lea eax, [ebp - 0x104]
mov byte [edi], 0
push 0x5c
push eax
call fcn.102a1020
mov edx, eax
add esp, 8
test edx, edx
je 0x10002651
lea ecx, [edi + 1]
sub edx, ecx
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx], al
test al, al
jne 0x10002637
lea eax, [ebp - 0x104]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10002687
lea eax, [ebp - 0x104]
push eax
call ebx
cmp eax, 0xffffffff
jne 0x10002687
mov ax, word [0x1031b1f4]
movq xmm0, qword [str.View16.dll]
mov word [ebp - 0xfc], ax
mov al, byte [0x1031b1f6]
movq qword [ebp - 0x104], xmm0
mov byte [ebp - 0xfa], al
pop ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
jne 0x100026c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.10002800
add esp, 8
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret
lea eax, [esi + 4]
xor edi, edi
push eax
push str.V16_PreTranslateMessage
push ecx
call fcn.100028e0
add esp, 0xc
test eax, eax
je 0x1000276b
lea eax, [esi + 8]
push eax
push str.V16_CreateView
push dword [esi]
call fcn.100028e0
add esp, 0xc
test eax, eax
je 0x1000276b
lea eax, [esi + 0xc]
push eax
push str.V16_DestroyView
push dword [esi]
call fcn.100028e0
add esp, 0xc
test eax, eax
je 0x1000276b
lea eax, [esi + 0x10]
push eax
push str.V16_SetBPM
push dword [esi]
call fcn.100028e0
add esp, 0xc
test eax, eax
je 0x1000276b
lea eax, [esi + 0x14]
push eax
push str.V16_ChangeBPMFrame
push dword [esi]
call fcn.100028e0
add esp, 0xc
test eax, eax
je 0x1000276b
lea eax, [esi + 0x18]
push eax
push str.V16_ChangeBPMCut
push dword [esi]
call fcn.100028e0
add esp, 0xc
test eax, eax
je 0x1000276b
mov edi, 1
mov eax, edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret
push esi
call fcn.100027c0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, edi
xor ecx, ebp
pop edi
pop esi
call fcn.10291e04
mov esp, ebp
pop ebp
ret
Function at 0x10002cd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.100cdfc8

Function at 0x10003220
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call ebx
mov esi, eax
mov dword [ebp - 4], esi
call ebx
sub eax, esi
cmp eax, dword [ebp + 8]
jae 0x100032ab
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x10003294
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10003276
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jb 0x10003264
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10003e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
xor dl, dl
mov dword [ebp - 4], ecx
test eax, eax
je 0x10003f4f
test eax, 0xffff0000
jne 0x10003f4f
push ebx
push edi
movzx edi, ax
push edi
call fcn.100cec1f
mov ebx, eax
test ebx, ebx
je 0x10003f4b
mov eax, edi
shr eax, 4
push 6
inc eax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x10003f4b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10003f4b
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10003f4a
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x10003ed9
cmp esi, ecx
jae 0x10003f4a
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x10003ec3
cmp esi, ecx
jae 0x10003f4a
movzx eax, word [esi]
test ax, ax
je 0x10003f4a
push 0
push 0
push 0
push 0
push eax
lea ecx, [esi + 2]
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x10003f57
mov ebx, dword [ebp - 4]
mov ecx, 1
mov edx, dword [ebx]
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x10003f22
push edi
mov ecx, ebx
call fcn.10003170
mov edx, dword [ebx]
movzx eax, word [esi]
push 0
push 0
push edi
push edx
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x10003f57
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
mov byte [edi + eax], 0
pop esi
pop edi
mov dl, 1
pop ebx
mov al, dl
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10002bc0
int3
Function at 0x10004040
Capabilities:
Terminate process
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call sym.VADAV.dll_VD_GetImageCancel
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 4]
push eax
push dword [0x103c9a7c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x1000407e
push 0
push dword [0x103c9a7c]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0x240], 1
cmp dword [0x103ca044], 1
jne 0x10004099
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x180]
mov ecx, esi
call fcn.10004420
mov dword [0x103ca048], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10004950
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call ebx
mov esi, eax
mov dword [ebp - 4], esi
call ebx
sub eax, esi
cmp eax, dword [ebp + 8]
jae 0x100049db
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x100049c4
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x100049a6
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jb 0x10004994
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10005a50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102f2541
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [case.0x100be6e1.80]
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 esi, ecx
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x210]
xor bl, bl
push eax
call fcn.1004ca90
lea edx, [ebp - 0x210]
add esp, 4
dec edx
nop
mov al, byte [edx + 1]
lea edx, [edx + 1]
test al, al
jne 0x10005aa0
mov eax, dword [str.dark.raw]
mov dword [edx], eax
mov eax, dword [0x1031bd14]
mov dword [edx + 4], eax
mov al, byte [0x1031bd18]
mov byte [edx + 8], al
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10005ae8
push 1
push 0x1196
mov ecx, esi
call fcn.100ccf47
mov ecx, eax
call fcn.100ccd96
lea ecx, [ebp - 0x238]
call fcn.100cedce
mov dword [ebp - 4], 0
lea eax, [ebp - 0x110]
push 0
push eax
lea ecx, [ebp - 0x238]
call fcn.100cf0b3
lea eax, [ebp - 0x110]
push eax
call fcn.1004ca90
lea ecx, [ebp - 0x110]
add esp, 4
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x10005b24
mov eax, dword [str.A________.raw]
mov dword [ecx], eax
mov eax, dword [0x1031bd58]
mov dword [ecx + 4], eax
mov eax, dword [0x1031bd5c]
mov dword [ecx + 8], eax
mov ax, word [0x1031bd60]
mov word [ecx + 0xc], ax
lea eax, [ebp - 0x110]
push 0
push eax
lea ecx, [ebp - 0x238]
call fcn.100cf0b3
test eax, eax
je 0x10005c4e
nop dword [eax + eax]
lea ecx, [ebp - 0x238]
call fcn.100cf26c
mov ebx, eax
lea ecx, [ebp - 0x238]
lea eax, [ebp - 0x218]
push eax
call fcn.100cf31b
mov byte [ebp - 4], 1
lea eax, [ebp - 0x110]
push eax
call fcn.1004ca90
mov eax, dword [ebp - 0x218]
add esp, 4
mov esi, dword [eax - 0xc]
test esi, esi
js 0x10005c7e
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or ecx, edx
jge 0x10005bd6
push esi
lea ecx, [ebp - 0x218]
call fcn.10003170
mov eax, dword [ebp - 0x218]
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005bd8
lea edi, [ebp - 0x110]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x10005be8
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x21c]
push 1
push 0x1197
call fcn.100ccf47
mov ecx, eax
call fcn.100ccd96
mov byte [ebp - 0x211], 1
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x218]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10005c40
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
jne 0x10005b70
mov bl, byte [ebp - 0x211]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x238]
call fcn.100cef95
mov al, bl
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.10291e04
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.10002bc0
int3
Function at 0x10007d10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 8], 0
movq qword [ebp - 0x10], xmm0
call ebx
mov esi, eax
mov dword [ebp - 4], esi
call ebx
sub eax, esi
cmp eax, dword [ebp + 8]
jae 0x10007d9b
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
je 0x10007d84
lea eax, [ebp - 0x20]
push eax
call edi
lea eax, [ebp - 0x20]
push eax
call ebx
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x10007d66
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
jb 0x10007d54
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10010140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x11c], 3
push eax
mov dword [ebp - 0x118], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100101b1
cmp dword [ebp - 0x108], 1
jne 0x1001018a
cmp dword [ebp - 0x110], 0
je 0x100101b1
push 0
lea eax, [ebp - 0x11c]
push eax
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x120]
push eax
push 1
push 0
push str.Control_PanelDesktop
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1001022a
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0x80
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x128]
push eax
push 0
push str.WheelScrollLines
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001021e
push 0xa
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.102badcd
add esp, 0xc
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x120]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x11c]
xor ecx, ebp
call fcn.10291e04
mov esp, ebp
pop ebp
ret
Function at 0x10011e60
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
call fcn.100cec1f
mov ebx, eax
test ebx, ebx
jne 0x10011e80
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x10011f67
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10011f67
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10011f67
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x10011ee8
cmp esi, ecx
jae 0x10011f67
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x10011ed2
cmp esi, ecx
jae 0x10011f67
movzx eax, word [esi]
test ax, ax
je 0x10011f67
push 0
push 0
push 0
push 0
push eax
lea ecx, [esi + 2]
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
js 0x10011f72
mov ebx, dword [ebp - 4]
mov edx, 1
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
sub edx, dword [eax - 4]
sub ecx, edi
or edx, ecx
jge 0x10011f31
push edi
mov ecx, ebx
call fcn.10003170
mov eax, dword [ebx]
push 0
push 0
push edi
push eax
movzx eax, word [esi]
push eax
lea eax, [esi + 2]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x10011f72
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
pop esi
mov byte [edi + eax], 0
mov eax, 1
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.10002bc0
int3
Function at 0x1001efd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102f4998
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x103c8d18], 0
jne 0x1001f14c
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x1001f163
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x1001f04a
push 0x104
lea ecx, [ebp - 0x10]
call fcn.10003170
mov esi, dword [ebp - 0x10]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push dword [esi - 8]
push esi
call fcn.102bc0b8
add esp, 8
test eax, eax
js 0x1001f16d
cmp eax, dword [esi - 8]
jg 0x1001f16d
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
mov eax, str.winhlp32.exe
mov ebx, dword [esi - 0xc]
sub eax, esi
push 0xd
push str.winhlp32.exe
mov dword [ebp - 0x18], eax
call fcn.102bc0b8
mov edx, eax
mov ecx, Ordinal_2
sub ecx, edx
mov dword [ebp - 0x14], edx
add esp, 8
cmp ecx, ebx
jl 0x1001f16d
lea edi, [ebx + edx]
test edi, edi
js 0x1001f177
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1001f0d5
push edi
lea ecx, [ebp - 0x10]
call fcn.10003170
mov esi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
ja 0x1001f0e0
add eax, esi
jmp 0x1001f0e5
mov eax, str.winhlp32.exe
push edx
push eax
push edx
lea eax, [ebx + esi]
push eax
call fcn.10002c50
add esp, 0x10
cmp edi, dword [esi - 8]
jg 0x1001f16d
mov dword [esi - 0xc], edi
push esi
mov byte [edi + esi], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001f126
push 0x6a
push edi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x1001f126
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [0x103c8d18], eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f14c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x103c8d18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10002bc0
push 0x80070057
call fcn.10002bc0
push 0x80070057
call fcn.10002bc0
int3
Function at 0x1001f250
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102f4a08
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [case.0x100be6e1.80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.100c32b9
mov ecx, eax
test ecx, ecx
je 0x1001f2f6
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
cmp dword [edi + 0x38], 0
je 0x1001f2c4
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
lea eax, [ebp + 8]
push eax
call fcn.1001f400
mov esi, dword [ebp - 0x10]
test eax, eax
je 0x1001f2c4
push 5
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001f2e3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10002bc0
int3