joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009aa5
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x1019530], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], 8
mov dword [ebp - 4], 0xffff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push ebx
push 0x1001658
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [0x10596a0], eax
call fcn.01009a29
cmp eax, 2
jne 0x1009b01
call fcn.0100988f
jmp 0x1009c23
push eax
call fcn.010098ab
dec eax
je 0x1009c08
dec eax
je 0x1009c23
mov eax, dword [0x10596a0]
cmp eax, ebx
je 0x1009b6f
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x1009b3c
push 9
push dword [0x10596a0]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1009c23
push dword [0x10596a0]
mov esi, dword [sym.imp.USER32.dll_BringWindowToTop]
call esi
push dword [0x10596a0]
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov edi, eax
cmp edi, dword [0x10596a0]
je 0x1009b63
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x1009c23
push 0x1c
call fcn.01009c30
cmp eax, ebx
pop ecx
mov dword [0x105969c], eax
je 0x1009c23
call fcn.010068d6
test eax, eax
je 0x1009c23
call fcn.01003bff
test eax, eax
je 0x1009c23
push 0x64
push dword [0x1019530]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov edi, eax
cmp edi, ebx
je 0x1009c23
call fcn.01005829
cmp eax, ebx
mov dword [0x10596a0], eax
je 0x1009c23
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1009bf9
cmp dword [0x1019448], ebx
jne 0x1009be5
lea eax, [ebp - 0x24]
push eax
push edi
push dword [0x10596a0]
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1009bf9
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
lea eax, [ebp - 0x24]
push ebx
push eax
call esi
test eax, eax
jne 0x1009bc8
jmp 0x1009c23
mov eax, dword [0x10596a0]
cmp eax, ebx
je 0x1009c23
push ebx
push 0x288
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x1009f08
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 9
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1009f3d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x1009ff8
push esi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x1009f83
cmp eax, 0xea
je 0x1009f83
cmp eax, 0x7a
je 0x1009f83
mov esi, eax
jmp 0x1009f9c
mov eax, dword [ebp - 8]
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
jne 0x1009fa9
push 8
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1009ff7
push edi
xor edi, edi
mov eax, dword [ebp - 8]
inc eax
push eax
push esi
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1009fcd
push esi
push dword [ebp - 4]
call fcn.01009f08
test eax, eax
je 0x1009fce
inc edi
cmp eax, 0x103
je 0x1009fda
cmp edi, dword [ebp - 0x10]
jb 0x1009fac
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
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_RegDeleteKeyW]
pop edi
pop esi
leave
ret 8

Function at 0x100a001
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x14]
push ebx
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp + 0x1c], eax
xor eax, eax
cmp dword [ebp + 0x1c], eax
jne 0x100a078
cmp edi, eax
je 0x100a078
mov edi, dword [edi]
cmp edi, 1
je 0x100a043
cmp edi, 2
je 0x100a043
cmp edi, 7
jne 0x100a078
cmp ebx, eax
je 0x100a078
cmp esi, eax
je 0x100a078
mov edx, dword [ebx]
mov ecx, edx
shr ecx, 1
cmp ecx, eax
jle 0x100a063
lea ecx, [esi + ecx*2]
cmp word [ecx - 2], ax
je 0x100a078
mov word [ecx], ax
jmp 0x100a078
jne 0x100a078
cmp edx, 1
jne 0x100a075
mov byte [esi + 1], al
mov byte [esi + 2], al
mov byte [esi + 3], al
jmp 0x100a078
mov word [esi], ax
mov eax, dword [ebp + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x100a087
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
mov esi, 0x10596c0
push esi
push ebx
push dword [ebp + 8]
mov edi, 0x100
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x100a166
inc dword [ebp - 4]
cmp dword [ebp - 8], 1
je 0x100a0e5
cmp dword [ebp - 8], 2
je 0x100a0e5
cmp dword [ebp - 8], 7
je 0x100a0e5
xor eax, eax
jmp 0x100a0e8
push 2
pop eax
mov ecx, dword [ebp - 0xc]
add eax, ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x100a138
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [ebp + 8]
call fcn.0100a001
test eax, eax
jne 0x100a12a
push dword [ebp - 0xc]
push dword [ebp - 0x18]
push dword [ebp - 8]
push ebx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x100a12d
mov dword [ebp - 0x10], ebx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100a13b
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x100a0cc
cmp dword [ebp - 0x10], ebx
je 0x100a1cc
push edi
mov esi, 0x10598c0
push esi
mov dword [ebp - 4], ebx
push ebx
jmp 0x100a1bf
inc dword [ebp - 4]
lea eax, [ebp - 0x20]
push eax
push 9
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a1ba
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100a1b1
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0100a087
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x100a173
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100aa93
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1059684]
cmp eax, dword [0x105968c]
push esi
push edi
jne 0x100ab61
cmp dword [0x10190e4], 1
lea eax, [ebp - 4]
push 0
push eax
jne 0x100aaee
push 0x10000
push 0x1039680
push dword [0x1059680]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100aae4
mov dword [0x1019678], 0x82
jmp 0x100ab6e
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar eax, 1
jmp 0x100ab1e
mov edi, 0x10000
push edi
mov esi, 0x1019680
push esi
push dword [0x1059680]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100aad5
push edi
push 0x1039680
push dword [ebp - 4]
push esi
push 1
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [0x1059690]
and dword [0x1059684], 0
mov dword [0x105968c], eax
mov eax, dword [ebp - 4]
add dword [0x1059694], eax
test ecx, ecx
je 0x100ab4b
mov eax, dword [0x1059694]
xor edx, edx
div ecx
cmp eax, 0x64
jbe 0x100ab4e
push 0x64
pop eax
cmp dword [0x1059698], eax
je 0x100ab61
push eax
mov dword [0x1059698], eax
call fcn.01006c9b
mov eax, dword [0x1059684]
cmp eax, dword [0x105968c]
jl 0x100ab72
xor eax, eax
jmp 0x100ab89
mov ax, word [eax*2 + 0x1039680]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
inc dword [0x1059684]
xor eax, eax
inc eax
pop edi
pop esi
leave
ret 4

Function at 0x100ac0f
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push ebx
push 9
push 0x110a
push dword [0x1019080]
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebp + 0xc], ebx
mov dword [0x1019678], 0x88
je 0x100ac62
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.01005586
push eax
call fcn.0100a8f2
test eax, eax
je 0x100ac62
mov dword [0x1019678], 0x89
jmp 0x100acc2
push esi
push edi
push 1
mov edi, 0x1001bb4
push edi
call fcn.0100695f
push dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyW]
cmp eax, ebx
je 0x100acb9
cmp eax, 6
je 0x100acaa
xor ecx, ecx
cmp eax, 0x522
sete cl
add ecx, 0x8d
mov dword [0x1019678], ecx
jmp 0x100acb4
mov dword [0x1019678], 0x8f
push dword [ebp + 8]
call esi
push ebx
push edi
call fcn.0100695f
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100accc
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x1059684]
push ebx
push edi
xor edi, edi
cmp eax, edi
je 0x100ad57
cmp dword [0x10190dc], 4
jne 0x100ad24
push esi
push edi
push edi
push 0x20000
mov esi, 0x1019680
push esi
push eax
push 0x1039680
push edi
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
mov ebx, eax
lea eax, [ebp - 4]
push eax
push ebx
push esi
push dword [0x1059680]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
pop esi
je 0x100ad4d
cmp ebx, dword [ebp - 4]
jmp 0x100ad4b
push edi
lea ecx, [ebp - 4]
push ecx
add eax, eax
push eax
push 0x1039680
push dword [0x1059680]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100ad4d
mov eax, dword [0x1059684]
add eax, eax
cmp eax, dword [ebp - 4]
je 0x100ad57
mov dword [0x1019678], 0x8d
mov dword [0x1059684], edi
pop edi
pop ebx
leave
ret
Function at 0x100b12e
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1019214]
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1001b90
push eax
call fcn.0100a7ea
lea ecx, [ebp - 0x210]
push ecx
push 2
xor ebx, ebx
push ebx
push ebx
push eax
mov dword [ebp - 0x210], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x100b17d
mov dword [0x1019678], 0x83
jmp 0x100b36c
lea eax, [ebp - 0x208]
push eax
call fcn.0100aa93
test eax, eax
je 0x100b354
push esi
push edi
dec dword [0x1059684]
push 0x5c
call fcn.0100ab94
test eax, eax
je 0x100b1ab
mov esi, 0x1001a28
jmp 0x100b1b9
cmp word [0x1001b90], bx
mov esi, 0x1001b90
je 0x100b1d3
xor eax, eax
mov ax, word [esi]
push eax
call fcn.0100ab94
inc esi
inc esi
test eax, eax
je 0x100b339
cmp word [esi], bx
jne 0x100b1b9
push 0x5c
call fcn.0100ab94
mov edi, eax
cmp edi, ebx
je 0x100b339
xor esi, esi
jmp 0x100b20f
mov ecx, dword [ebp - 0x208]
cmp cx, 0x20
je 0x100b223
push ecx
call fcn.0100abec
test eax, eax
jne 0x100b223
cmp esi, 0xff
jae 0x100b221
mov word [ebp + esi*2 - 0x204], cx
inc esi
lea eax, [ebp - 0x208]
push eax
call fcn.0100aa93
test eax, eax
jne 0x100b1e8
jmp 0x100b223
xor edi, edi
cmp edi, ebx
je 0x100b339
mov word [ebp + esi*2 - 0x204], bx
call fcn.0100b05f
push 0x3d
call fcn.0100ab94
test eax, eax
je 0x100b24a
push 0x20
call fcn.0100ab94
push 0x100
push 0x40
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
xor eax, eax
cmp esi, ebx
setne al
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x208]
push eax
call fcn.0100aa93
test eax, eax
je 0x100b2e4
mov ebx, 0x200
cmp dword [ebp - 0x20c], 0
je 0x100b31a
push dword [ebp - 0x208]
call fcn.0100abec
test eax, eax
jne 0x100b2e2
lea eax, [ebx - 0x101]
cmp edi, eax
jb 0x100b2c6
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
mov dword [ebp - 0x20c], ecx
je 0x100b31a
mov esi, eax
add ebx, 0x100
mov ax, word [ebp - 0x208]
mov word [esi + edi*2], ax
lea eax, [ebp - 0x208]
push eax
inc edi
call fcn.0100aa93
test eax, eax
jne 0x100b27d
xor ebx, ebx
cmp dword [ebp - 0x20c], ebx
je 0x100b31c
lea eax, [edi + edi]
push eax
push esi
mov word [eax + esi], bx
push 1
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
test eax, eax
je 0x100b326
mov dword [0x1019678], 0x84
jmp 0x100b326
xor ebx, ebx
mov dword [0x1019678], 0x132
cmp esi, ebx
je 0x100b331
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x20c], ebx
jne 0x100b33e
call fcn.0100b08f
lea eax, [ebp - 0x208]
push eax
call fcn.0100aa93
test eax, eax
jne 0x100b193
pop edi
pop esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01016806
leave
ret 4
Function at 0x100b953
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x5b
call fcn.0100b0da
push dword [ebp + 0xc]
call fcn.0100b3fa
push 0x1001bd8
call fcn.0100b3fa
lea eax, [ebp - 0xc]
push eax
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
mov esi, 0x10596c0
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x10], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [ebp - 8], 1
jmp 0x100baa2
cmp dword [ebp - 4], 1
je 0x100b9c0
cmp dword [ebp - 4], 2
je 0x100b9c0
cmp dword [ebp - 4], 7
je 0x100b9c0
xor eax, eax
jmp 0x100b9c3
push 2
pop eax
mov ecx, dword [ebp - 0xc]
add eax, ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
cmp ebx, edi
je 0x100ba63
lea eax, [ebp - 0xc]
push eax
push ebx
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [ebp + 8]
call fcn.0100a001
test eax, eax
je 0x100b9fe
mov dword [0x1019678], 0x8d
jmp 0x100ba5a
cmp dword [ebp - 0x10], edi
je 0x100ba0b
push esi
call fcn.0100b421
jmp 0x100ba12
push 0x40
call fcn.0100b0da
push 0x3d
call fcn.0100b0da
mov eax, dword [ebp - 4]
dec eax
je 0x100ba4d
sub eax, 3
jne 0x100ba3f
cmp dword [ebp - 0xc], 4
jne 0x100ba3f
push 0x1001aac
call fcn.0100b3fa
push 1
push dword [ebx]
call fcn.0100b49c
jmp 0x100ba53
push dword [ebp - 0xc]
push dword [ebp - 4]
push ebx
call fcn.0100b580
jmp 0x100ba53
push ebx
call fcn.0100b421
push 0xa
call fcn.0100b0da
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x100ba6d
mov dword [0x1019678], 0x8d
cmp dword [0x1019678], 0x8d
je 0x100bb75
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp - 0x10], 0x100
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 8]
mov ebx, eax
cmp ebx, edi
je 0x100b9aa
push 0xa
call fcn.0100b0da
cmp ebx, 0x103
je 0x100bac5
mov dword [0x1019678], 0x8c
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + esi + 0x200]
add eax, 3
and eax, 0xfffffffc
call fcn.01016af0
mov ebx, esp
push dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea esi, [ebx + esi*2]
mov word [esi], 0x5c
inc esi
mov ebx, 0xff
inc esi
push ebx
push esi
mov word [esi], di
mov dword [ebp - 8], edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100bb5b
inc dword [ebp - 8]
lea eax, [ebp - 0x14]
push eax
push 9
push 0
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100bb4c
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0100b953
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x1019678], 0x8d
je 0x100bb75
jmp 0x100bb56
mov dword [0x1019678], 0x8b
push ebx
push esi
push dword [ebp - 8]
push dword [ebp + 8]
call edi
test eax, eax
je 0x100bb11
cmp eax, 0x103
je 0x100bb75
mov dword [0x1019678], 0x8c
lea esp, [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100bbd4
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x1019214]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 9
push 0x110a
push dword [0x1019080]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp ebx, esi
mov dword [ebp - 0x258], eax
mov dword [0x1019678], 0x88
je 0x100bc42
push esi
push ebx
lea ecx, [ebp - 0x25c]
push ecx
push eax
call fcn.01005586
push eax
call fcn.0100a8f2
test eax, eax
je 0x100bc42
mov dword [0x1019678], 0x89
jmp 0x100bd63
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [0x1059680], eax
je 0x100bd49
push esi
lea ecx, [ebp - 0x260]
push ecx
push 2
push 0x1001a54
push eax
mov dword [0x1059684], esi
mov dword [0x1059688], esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1001a58
call fcn.0100b3fa
push 0x1001be8
call fcn.0100b3fa
push 0x1001a98
call fcn.0100b3fa
push 0x1001be0
call fcn.0100b3fa
cmp ebx, esi
je 0x100bcd1
push ebx
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x25c]
jmp 0x100bd31
push dword [ebp - 0x258]
call fcn.01005586
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov dword [ebp - 0x258], eax
push 0x1001b44
lea eax, [ebp - 0x254]
push eax
call edi
lea eax, [ebp - 0x254]
push eax
push eax
push dword [ebp - 0x258]
call fcn.0100a7ea
push eax
call fcn.0100b953
push 0x1001b2c
lea eax, [ebp - 0x254]
push eax
call edi
lea eax, [ebp - 0x254]
push eax
push eax
push dword [ebp - 0x258]
call fcn.0100a7ea
push eax
call fcn.0100b953
call fcn.0100accc
push dword [0x1059680]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100bd53
mov dword [0x1019678], 0x8a
cmp ebx, esi
je 0x100bd63
push dword [ebp - 0x25c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01016806
leave
ret 8
Function at 0x100ce87
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1019214]
push ebx
xor ebx, ebx
cmp dword [0x10195e0], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], ebx
je 0x100d005
push esi
mov esi, 0x10596c0
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
lea eax, [ebp - 0x208]
push eax
push ebx
lea eax, [ebp - 0x218]
push eax
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x218], 0x100
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc dword [ebp - 0x20c]
test eax, eax
jne 0x100d003
push 0x1fa8
call fcn.0100c4de
mov eax, dword [ebp - 0x20c]
dec eax
push eax
lea eax, [ebp - 0x204]
push 0x1001da0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x204]
push eax
call fcn.0100c49b
call fcn.0100c4cd
push 0x1fa9
call fcn.0100c4de
cmp dword [ebp - 0x218], ebx
je 0x100cf53
push esi
call fcn.0100c49b
jmp 0x100cf5d
push 0x1fad
call fcn.0100c4de
call fcn.0100c4cd
push dword [ebp - 0x208]
call fcn.0100c50a
cmp dword [ebp - 0x208], 1
je 0x100cf8c
cmp dword [ebp - 0x208], 2
je 0x100cf8c
cmp dword [ebp - 0x208], 7
je 0x100cf8c
xor eax, eax
jmp 0x100cf8f
push 2
pop eax
mov ecx, dword [ebp - 0x210]
add eax, ecx
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebx
je 0x100cff9
lea eax, [ebp - 0x210]
push eax
push edi
lea eax, [ebp - 0x208]
push eax
push ebx
push esi
push dword [ebp - 0x214]
call fcn.0100a001
test eax, eax
jne 0x100cfda
push dword [ebp - 0x208]
push dword [ebp - 0x210]
push edi
call fcn.0100cc74
jmp 0x100cfe4
mov dword [0x10195e4], 0x92
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [0x10195e0], ebx
jne 0x100cebf
jmp 0x100d003
mov dword [0x10195e4], 0x90
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01016806
leave
ret 4

Function at 0x100d04c
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100d017
push dword [ebp + 8]
call fcn.0100ce87
xor ebx, ebx
cmp dword [0x10195e4], ebx
jne 0x100d0ff
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
lea eax, [esi + esi + 0x200]
add eax, 3
and eax, 0xfffffffc
call fcn.01016af0
mov edi, esp
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea esi, [edi + esi*2]
mov word [esi], 0x5c
inc esi
inc esi
mov word [esi], bx
call fcn.0100c4cd
jmp 0x100d0f7
push 0xff
push esi
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
inc dword [ebp - 4]
test eax, eax
jne 0x100d0ff
lea eax, [ebp - 8]
push eax
push 9
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100d0f7
push edi
push dword [ebp - 8]
call fcn.0100d04c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x10195e0], ebx
jne 0x100d0b7
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100d682
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4000
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
xor esi, esi
cmp eax, esi
mov dword [0x101960c], eax
je 0x100d740
mov word [eax], 0xfeff
xor eax, eax
inc eax
push edi
mov dword [0x1019610], 0x2000
mov dword [0x1019614], eax
mov dword [0x10195e0], eax
mov dword [0x10195e4], esi
mov dword [0x1019618], 0x1001de0
call fcn.0100d10e
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100d729
push esi
lea eax, [ebp + 8]
push eax
mov eax, dword [0x1019614]
add eax, eax
push eax
push dword [0x101960c]
mov dword [ebp + 8], esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100d720
mov dword [0x10195e4], 0x8d
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100d733
mov dword [0x10195e4], 0x8a
push dword [0x101960c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
push dword [0x10195e4]
call fcn.0100c3a3
pop esi
pop ebp
ret 8