joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa37940
Capabilities:
Get graphical window text

Disassembly:
push 0x324
mov eax, 0xafbef7
call fcn.00af8e2b
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x314], eax
mov dword [ebp - 0x32c], esi
test esi, esi
je 0xa3797f
call fcn.00a37989
mov edi, eax
mov dword [ebp - 0x318], edi
test edi, edi
jne 0xb0c008
mov eax, ebx
call fcn.00af8dd5
ret 0xc
cmp dword [edi + 8], ebx
je 0xb0c1fb
push 0x80
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetClassNameW]
dec eax
cmp eax, 0x7f
ja 0xb0c1fb
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00ab4bf6
mov esi, dword [edi + 8]
add esp, 0xc
test esi, esi
je 0xb0c1f5
cmp dword [esi], 0
je 0xb0c1f5
push 1
push 0xffffffffffffffff
push dword [esi + 4]
lea eax, [ebp - 0x210]
push 0xffffffffffffffff
push eax
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
cmp eax, 2
jne 0xb0c1e5
cmp dword [esi + 8], 0
je 0xb0c1e3
cmp word [ebp - 0x110], 0
jne 0xb0c0bb
push 0x80
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x32c]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_GetWindowTextW]
dec eax
cmp eax, 0x7f
ja 0xb0c1f5
cmp word [ebp - 0x110], 0
je 0xb0c1f5
mov edi, dword [ebp - 0x314]
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea ecx, [ebp - 0x31c]
push ecx
push dword [esi + 8]
lea ecx, [edi + 0x5c]
call fcn.00bd0fc3
mov edi, eax
cmp edi, 0x8002802b
jne 0xb0c1b1
push 0
push 0x80
lea eax, [ebp - 0x310]
push eax
push dword [esi + 8]
call dword [sym.imp.api_ms_win_core_string_l2_1_1.dll_SHLoadIndirectString]
mov edi, eax
test edi, edi
js 0xb0c1b1
xor eax, eax
mov dword [ebp - 0x328], eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x328]
push 0xffffffffffffffff
lea eax, [ebp - 0x310]
push eax
call fcn.00a56c40
mov edi, eax
test edi, edi
js 0xb0c1a2
mov eax, dword [ebp - 0x328]
xor ecx, ecx
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x320], ecx
mov dword [ebp - 0x324], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x330], eax
call fcn.00bd1453
sub esp, 0xc
lea ecx, [ebp - 0x330]
push ecx
push eax
push dword [esi + 8]
push ecx
mov ecx, dword [ebp - 0x314]
lea ecx, [ecx + 0x5c]
call fcn.00bd10ab
mov edi, eax
test edi, edi
js 0xb0c1a2
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x31c]
push eax
push dword [esi + 8]
lea ecx, [ecx + 0x5c]
call fcn.00bd0fc3
mov edi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x328]
call fcn.00a4539d
mov eax, dword [ebp - 0x314]
add eax, 0x24
push eax
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test edi, edi
js 0xb0c1e5
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x110]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x31c]
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringOrdinal]
cmp eax, 2
jne 0xb0c1e5
mov ebx, dword [esi]
add esi, 0xc
test ebx, ebx
je 0xb0c047
jmp 0xa3797f
mov edi, dword [ebp - 0x318]
mov ebx, dword [edi + 4]
jmp 0xa3797f
Function at 0xa37c64
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov dword [ebp - 4], ebx
mov ecx, dword [ebx + 0x68]
mov eax, dword [ecx + 0x2c]
and eax, 4
or eax, 0x432
shr eax, 1
push eax
call fcn.00a37ecc
push 0x1c
push 8
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
push eax
call dword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov esi, eax
xor edi, edi
mov dword [ebp - 8], esi
test esi, esi
je 0xa37d1b
mov dword [esi], edi
mov dword [esi + 0x18], edi
test esi, esi
je 0xa37d12
push esi
mov ecx, ebx
call fcn.00a37d1f
mov ecx, dword [ebp - 4]
mov ebx, eax
mov eax, dword [ecx + 0x68]
test byte [eax + 0x2c], 4
jne 0xb0c351
test ebx, ebx
js 0xb0c382
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [0xc9585c]
mov dword [esi + 4], eax
mov eax, dword [0xc95994]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x68]
push edi
push 0x2001
push esi
mov eax, dword [eax + 0x2c]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
push 0xa39600
mov dword [esi + 0x14], eax
call dword [sym.imp.api_ms_win_shcore_thread_l1_1_0.dll_SHCreateThread]
test eax, eax
je 0xb0c382
xor edi, edi
inc edi
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8
mov esi, edi
jmp 0xa37caa
mov ecx, dword [eax + 0xec]
test ecx, ecx
je 0xb0c37a
lea eax, [esi + 0x18]
push eax
push ecx
call fcn.00bc3755
mov ecx, dword [ebp - 4]
test al, al
je 0xa37cc8
mov ebx, 0x80004005
jmp 0xa37cc8
mov ecx, dword [ebp - 4]
jmp 0xa37cc8
cmp dword [esi], 0
je 0xb0c396
push edi
push 0xa3a880
push dword [esi]
call fcn.00a382d4
mov dword [esi], edi
lea ecx, [esi + 0x18]
call fcn.00a397ef
push ecx
mov ecx, esi
call fcn.00a3979a
jmp 0xa37d12

Function at 0xa386cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push 0x36
push 6
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
test eax, eax
je 0xa38742
push eax
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test eax, eax
je 0xa38742
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
test eax, eax
je 0xa3873b
push 9
pop edx
movzx ecx, word [eax]
lea eax, [eax + ecx*2]
add eax, 2
sub edx, 1
jne 0xa38704
mov edi, dword [ebp + 0xc]
test edi, edi
je 0xb0c558
movzx edx, word [eax]
add eax, 2
mov ecx, edx
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [edi], ecx
mov word [eax], dx
pop edi
mov eax, esi
pop esi
pop ebp
ret 0xc
mov esi, 0x80004005
jmp 0xa38733
call fcn.00bb85df
mov esi, eax
jmp 0xa38733
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0xa38733
mov ax, word [eax]
mov word [ecx], ax
jmp 0xa38733
Function at 0xa3e3fb
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov edi, edi
push esi
mov esi, dword [0xc958e8]
test esi, esi
jne 0xa3e454
push edi
push 0x800
push 0
push 0x9f29b8
mov esi, 0x7ffe0030
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0xa3e44d
push ebx
push 0x9f29a4
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0xa3e445
mov ecx, ebx
call dword [0xc99200]
call ebx
mov esi, eax
push edi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
pop ebx
mov dword [0xc958e8], esi
pop edi
mov eax, esi
pop esi
ret
Function at 0xa43164
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
cmp byte [edi + 0x88], bl
jne 0xb19557
push 2
pop eax
push dword [ebp + 0x10]
push esi
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.api_ms_win_core_datetime_l1_1_1.dll_GetTimeFormatEx]
cmp byte [ebp + 0x14], bl
je 0xa43239
push 0x5c
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00ab4bf6
add esp, 0xc
mov byte [ebp - 0x70], bl
lea eax, [ebp - 0x6c]
push eax
push 0xd2
push 1
push 5
push ebx
push dword [edi + 0x1c]
call dword [sym.imp.UxTheme.dll_GetThemeFont]
test eax, eax
js 0xa431ee
push 0x9ee9f0
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
neg eax
sbb al, al
inc al
mov dword [ebp - 0x70], eax
push 6
lea eax, [ebp - 0x10]
push eax
push 0x6c
push ebx
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
test eax, eax
jle 0xa43239
push 0x9ee9e4
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
test eax, eax
jne 0xa43239
cmp byte [ebp - 0x70], bl
je 0xa43239
movzx eax, word [esi]
mov edx, eax
test ax, ax
je 0xa43239
mov ecx, esi
cmp dx, 0x3a
je 0xa4324a
inc ebx
lea ecx, [esi + ebx*2]
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0xa43225
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret 0x10
mov eax, 0x2236
mov word [ecx], ax
jmp 0xa4322b
mov eax, ebx
jmp 0xa43192
Function at 0xa43254
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x88], eax
mov byte [eax], bl
mov esi, ecx
push edi
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
mov dx, word [ebp - 0x1a]
mov di, word [ebp - 0x1c]
cmp byte [esi + 0x1cf], bl
je 0xa4340c
lea ecx, [esi + 0x8e]
mov word [esi + 0x8a], di
mov eax, ebx
mov word [esi + 0x8c], dx
push 2
pop edi
cmp byte [esi + 0x88], bl
jne 0xa432bc
mov eax, edi
push 0x28
push ecx
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
push ebx
call dword [sym.imp.api_ms_win_core_datetime_l1_1_1.dll_GetTimeFormatEx]
lea eax, [esi + 0xde]
cmp byte [esi + 0x88], bl
jne 0xb1955e
push 0x28
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push edi
push ebx
call dword [sym.imp.api_ms_win_core_datetime_l1_1_1.dll_GetTimeFormatEx]
push 0x5c
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.00ab4bf6
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push 0xd2
push 1
push 5
push 0
push dword [esi + 0x1c]
call dword [sym.imp.UxTheme.dll_GetThemeFont]
test eax, eax
js 0xa43336
push 0x9ee9f0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
push 6
lea eax, [ebp - 0x14]
push eax
push 0x6c
push 0
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoEx]
test eax, eax
jle 0xa4338d
push 0x9ee9e4
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.api_ms_win_core_shlwapi_obsolete_l1_1_0.dll_StrCmpICW]
test eax, eax
jne 0xa4338d
test bl, bl
je 0xa4338d
lea edi, [esi + 0xde]
xor edx, edx
movzx eax, word [edi]
mov ebx, eax
test ax, ax
je 0xa4338d
mov ecx, edi
cmp bx, 0x3a
je 0xa433ff
inc edx
lea ecx, [edi + edx*2]
movzx eax, word [ecx]
mov ebx, eax
test ax, ax
jne 0xa43375
xor ebx, ebx
lea eax, [esi + 0x12e]
push ebx
push 0x28
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x40
push ebx
call dword [sym.imp.api_ms_win_core_datetime_l1_1_1.dll_GetDateFormatEx]
push ebx
push 0x28
lea eax, [esi + 0x17e]
push eax
push 0x9ee9d8
lea eax, [ebp - 0x24]
push eax
push 0x40
push ebx
call dword [sym.imp.api_ms_win_core_datetime_l1_1_1.dll_GetDateFormatEx]
mov eax, dword [ebp - 0x88]
mov byte [esi + 0x1cf], bl
mov byte [eax], 1
cmp byte [esi + 0x88], 0
jne 0xb19565
movzx eax, word [ebp - 0x18]
push 0x3c
pop ecx
sub ecx, eax
imul eax, ecx, 0x3e8
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret 4
mov eax, 0x2236
mov word [ecx], ax
jmp 0xa4337f
cmp byte [esi + 0x1ce], bl
je 0xa43299
movsx ecx, word [esi + 0x8a]
movzx eax, di
cmp eax, ecx
jne 0xa43299
movsx ecx, word [esi + 0x8c]
movzx eax, dx
cmp eax, ecx
je 0xa433d2
jmp 0xa43299
mov edi, ebx
jmp 0xa432de
movzx ecx, word [ebp - 0x16]
mov eax, 0x3e8
sub eax, ecx
jmp 0xa433ee
Function at 0xa46eaf
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
mov bl, cl
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemTimeAsFileTime]
lea eax, [ebp - 4]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x14]
mov edi, 0x9eeaa8
push eax
push 0
push 0x20000040
push 0x9eeb4c
push edi
mov esi, reloc.SHCORE.dll_Ordinal_1
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
lea eax, [ebp - 4]
mov dword [ebp - 4], 8
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x20000040
push 0x9eeb10
push edi
push esi
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov eax, dword [ebp - 8]
xor ecx, ecx
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
adc eax, 0
add ecx, 0x80c2c000
adc eax, 0xfffffda4
cmp edx, eax
jb 0xa46f44
mov eax, dword [ebp - 0x14]
ja 0xb1ab23
cmp eax, ecx
ja 0xb1ab23
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
cmp edx, dword [ebp - 0x18]
jb 0xa46f44
ja 0xb1ab37
cmp eax, dword [ebp - 0x1c]
jbe 0xa46f44
push ecx
push 0
mov esi, 0xc97a78
push 1
mov ecx, esi
call fcn.00bf3ea5
push ecx
add bl, 0x64
mov ecx, esi
movzx eax, bl
push eax
push 1
call fcn.00bf3ea5
jmp 0xa46f44

Function at 0xa4a274
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov ecx, edi
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0xa4a295
sub ecx, edx
sar ecx, 1
cmp ecx, 0x27
jbe 0xa4a2b7
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.00ab584f
test eax, eax
jne 0xa4a2d9
push edi
mov edx, 0x104
mov ecx, ebx
call fcn.00a535e0
mov esi, eax
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret 4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push esi
push 0x5000
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
test eax, eax
js 0xa4a2b7
lea eax, [edi + 0x4e]
push eax
push dword [ebp - 0x1c]
push 0x104
push ebx
call fcn.00ab542b
push dword [ebp - 0x1c]
mov esi, eax
call fcn.00ab538c
test esi, esi
jns 0xa4a2c6
jmp 0xa4a2b7
Function at 0xa4a862
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
push edi
mov edi, esi
mov dword [ebp - 8], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [ecx], 0
je 0xa4a8d6
cmp dword [ecx], 1
jne 0xa4a896
cmp dword [ecx + 4], 1
je 0xa4a8de
push 2
pop ebx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
cmp dword [ecx], 2
je 0xb1bd10
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xc
push eax
push esi
xor edi, edi
push edi
push 0x20000008
push dword [ebp + 8]
push edi
push dword [ecx]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ebx, eax
cmp ebx, 0xea
je 0xb1bd1d
test ebx, ebx
je 0xa4a88d
jmp 0xb1bd74
push 0x15
pop ebx
jmp 0xb1bd89
xor ebx, ebx
jmp 0xb1bd89
mov dword [esi], 3
xor ebx, ebx
jmp 0xa4a88d
push dword [ebp - 4]
push edi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalAlloc]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0xb1bd6c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push edi
push 0
push 0x20000008
push dword [ebp + 8]
push 0
push dword [eax]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
mov ebx, eax
test ebx, ebx
jne 0xb1bd60
mov esi, edi
mov edi, dword [ebp + 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc]
push edi
call dword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
jmp 0xa4a8cd
push 0xe
pop ebx
jmp 0xa4a8cd
cmp ebx, 2
je 0xa4a88d
cmp ebx, 0x65e
je 0xa4a88d
mov dword [esi], 2
jmp 0xa4a88d

Function at 0xa4ac3f
Capabilities:
Create thread

Disassembly:
mov edi, edi
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push esi
push 0xa7dd30
push edi
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
test eax, eax
je 0xb1bef2
push eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
pop edi
pop esi
ret
mov dword [esi + 0x1c], edi
mov ecx, esi
pop edi
pop esi
jmp fcn.00a7dd43
Function at 0xa4c83b
Capabilities:
Resume thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x18]
test eax, eax
jne 0xb1f0ee
xor esi, esi
inc esi
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
cmp dword [edi + 0x1c], 0
je 0xa4c850
cmp dword [edi + 0x20], 0
lea ebx, [edi + 0x24]
jne 0xb1f11e
push ebx
push dword [ebp + 8]
call fcn.00b5ca4b
mov esi, eax
test esi, esi
js 0xa4c853
mov eax, dword [edi + 0x18]
mov dword [edi + 0x20], 1
push dword [ebp + 8]
push eax
call dword [sym.imp.api_ms_win_core_job_l2_1_0.dll_AssignProcessToJobObject]
test eax, eax
jne 0xb1f153
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0xb1f143
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0xa4c853
mov esi, 0x80004005
jmp 0xa4c853
push 0
lea eax, [edi + 0x30]
push eax
push dword [ebp + 8]
call fcn.00b5cac2
mov esi, eax
test esi, esi
jns 0xa4c853
push 1
push ebx
push dword [ebp + 8]
call fcn.00b5cac2
jmp 0xa4c853
Function at 0xa4d925
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
xor eax, eax
push ebx
push esi
push edi
push 0xf0000000
push 1
push eax
push eax
lea eax, [ebp - 8]
mov ebx, edx
push eax
mov edi, ecx
call dword [sym.imp.CRYPTSP.dll_CryptAcquireContextW]
mov esi, eax
test esi, esi
je 0xa4d9c5
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push eax
push 0x8003
push dword [ebp - 8]
call dword [sym.imp.CRYPTSP.dll_CryptCreateHash]
mov esi, eax
test esi, esi
je 0xa4d9ba
mov ecx, edi
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0xa4d972
sub ecx, edx
sar ecx, 1
push esi
lea eax, [ecx + ecx]
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.CRYPTSP.dll_CryptHashData]
mov esi, eax
test esi, esi
je 0xa4d9b1
push 0
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x10
push eax
push ebx
push 2
push dword [ebp - 4]
call dword [sym.imp.CRYPTSP.dll_CryptGetHashParam]
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.CRYPTSP.dll_CryptDestroyHash]
push 0
push dword [ebp - 8]
call dword [sym.imp.CRYPTSP.dll_CryptReleaseContext]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0xa54e76
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
push dword [esi + 0xc]
mov dword [esi + 0x34], edi
call dword [sym.imp.api_ms_win_shcore_path_l1_1_0.dll_Ordinal_170]
test eax, eax
jne 0xa54eac
lea eax, [ebp - 4]
push eax
push edi
push dword [esi + 0xc]
push 2
push 0x42
call dword [sym.imp.SHLWAPI.dll_AssocQueryKeyW]
test eax, eax
jns 0xb21164
pop edi
pop esi
leave
ret
push edi
push edi
push edi
push 0xa1ce50
push edi
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
test eax, eax
jne 0xb21181
mov dword [esi + 0x34], 1
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0xa54eac

Function at 0xa56a8c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
push edi
mov eax, esi
mov edi, 0x80004005
shr eax, 4
push 0
inc eax
movzx eax, ax
push eax
push 6
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
test eax, eax
je 0xa56afd
push eax
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test eax, eax
je 0xa56afd
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov ecx, eax
test ecx, ecx
je 0xa56afd
and esi, 0xf
jbe 0xa56ae7
movzx eax, word [ecx]
lea ecx, [ecx + eax*2]
add ecx, 2
sub esi, 1
jne 0xa56ad9
movzx eax, word [ecx]
test ax, ax
je 0xa56b06
add ecx, 2
push eax
push ecx
mov ecx, ebx
call fcn.00a56c40
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
mov ecx, 0x9f0a04
jmp 0xa56af2
Function at 0xa56b0d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0xc940a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0xc9596c]
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x218], eax
xor ecx, ecx
mov edi, 0x80004005
push ecx
push 0x36
push 6
mov esi, ecx
mov dword [ebp - 0x210], ecx
push eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x20c], ecx
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FindResourceExW]
test eax, eax
je 0xa56bae
push eax
push dword [ebp - 0x218]
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test eax, eax
je 0xa56bae
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
test eax, eax
je 0xa56bae
push 8
pop edx
movzx ecx, word [eax]
lea eax, [eax + ecx*2]
lea eax, [eax + 2]
sub edx, 1
jne 0xa56b7c
movzx ecx, word [eax]
lea edx, [eax + 2]
test cx, cx
je 0xb21a4e
push ecx
push edx
lea ecx, [ebp - 0x214]
call fcn.00a56c40
mov esi, dword [ebp - 0x214]
mov edi, eax
test edi, edi
js 0xb21ac5
cmp byte [ebp + 8], 0
jne 0xb21a58
cmp byte [ebp + 0xc], 0
lea ecx, [ebx + 0x8e]
je 0xb21aa5
lea eax, [ebx + 0x12e]
push eax
push ecx
push esi
push 0x9f00bc
lea eax, [ebp - 0x208]
push pe_nt_image_headers32
push eax
call fcn.00a60c0c
add esp, 0x18
mov edi, eax
test edi, edi
js 0xb21ac5
lea eax, [ebp - 0x208]
push eax
push dword [ebx + 4]
call dword [sym.imp.ext_ms_win_rtcore_ntuser_window_ext_l1_1_0.dll_SetWindowTextW]
push 0
push 0xfffffffffffffffc
push dword [ebx + 4]
push 0x800e
call dword [sym.imp.api_ms_win_rtcore_ntuser_winevent_l1_1_0.dll_NotifyWinEvent]
test esi, esi
je 0xa56c29
push esi
call dword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00ab3c50
leave
ret 8
mov edx, 0x9f0a04
jmp 0xa56b99
cmp byte [ebp + 0xc], 0
je 0xb21a92
lea eax, [ebx + 0x12e]
push eax
lea eax, [ebx + 0x17e]
push eax
lea eax, [ebx + 0x8e]
push eax
push esi
push 0xa14dd4
lea eax, [ebp - 0x208]
push pe_nt_image_headers32
push eax
call fcn.00a60c0c
add esp, 0x1c
jmp 0xa56bf2
lea eax, [ebx + 0x17e]
push eax
lea eax, [ebx + 0x8e]
push eax
jmp 0xa56bd8
push ecx
push esi
push 0xa14df4
lea eax, [ebp - 0x208]
push pe_nt_image_headers32
push eax
call fcn.00a60c0c
add esp, 0x14
jmp 0xa56bf2
mov ecx, dword [ebp + 4]
mov edx, 0x31c
push edi
push 0x9f86f4
call fcn.00ab606d
mov esi, dword [ebp - 0x214]
test edi, edi
js 0xa56c1e
jmp 0xa56bfc