joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100030e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011d1b2
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x101685e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x21c], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x228], 0x104
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push str.______GetRegDataString___IN______
mov dword [ebp - 4], eax
push 0x80000
mov dword [ebp - 0x224], 1
call fcn.10001000
push ebx
push edi
push str.lpszSubKey___s__lpszValueName___s
push 0x40000
call fcn.10001000
mov ecx, dword [ebp - 0x21c]
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100031f4
lea edx, [ebp - 0x228]
push edx
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100031e5
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x100031be
cmp eax, 2
jne 0x100031d2
lea eax, [ebp - 0x218]
push eax
mov eax, esi
call fcn.10003980
mov eax, dword [ebp - 0x220]
push eax
push str.dwType___d
push 0x40000
call fcn.10001000
add esp, 0xc
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10003206
push str.RegOpenKeyEx_failed
push 0x40000
call fcn.10001000
add esp, 8
mov eax, dword [esi]
test eax, eax
jne 0x10003211
mov eax, 0x10148758
push eax
push str.______GetRegDataString___OUT_______return___s
push 0x80000
call fcn.10001000
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100fa3ee
mov esp, ebp
pop ebp
ret
Function at 0x10003e10
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi + 4], 0
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x10003e7f
push str.BrDbgOut.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x10003e7b
push str.DebugOpen
push eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 4]
push str.DebugClose
push eax
call edi
mov ecx, dword [esi + 4]
push str.TraceWrite
push ecx
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 4]
push str.DumpWrite
push edx
mov dword [esi + 0x14], eax
call edi
cmp dword [esi + 0xc], 0
mov dword [esi + 0x18], eax
je 0x10003e7b
cmp dword [esi + 0x10], 0
je 0x10003e7b
cmp dword [esi + 0x14], 0
je 0x10003e7b
test eax, eax
jne 0x10003e7f
xor ebx, ebx
jmp 0x10003e84
mov ebx, 1
cmp dword [esi + 8], 0
jne 0x10003eeb
push str.BrDbgOtW.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 8], eax
test eax, eax
je 0x10003ee7
push str.DebugOpen
push eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 8]
push str.DebugClose
push eax
call edi
mov ecx, dword [esi + 8]
push str.TraceWrite
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [esi + 8]
push str.DumpWrite
push edx
mov dword [esi + 0x24], eax
call edi
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x28], eax
je 0x10003ee7
cmp dword [esi + 0x20], 0
je 0x10003ee7
cmp dword [esi + 0x24], 0
je 0x10003ee7
test eax, eax
jne 0x10003eeb
xor eax, eax
jmp 0x10003ef0
mov eax, 1
test ebx, ebx
je 0x10003ef6
mov eax, ebx
pop edi
pop ebx
ret

Function at 0x100048d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SoftwareBrotherBrUtilities
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], 0x208
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x1000492e
mov edx, dword [ebp + 8]
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
push edx
lea eax, [ebp - 0xc]
push eax
push esi
push str.BrLogAPI
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10004990
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [esi + 4], 0
jne 0x10004a52
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
test eax, eax
je 0x10004a4f
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.OpenA
push eax
call edi
mov ecx, dword [esi + 4]
push str.CloseA
push ecx
mov dword [esi + 8], eax
call edi
mov edx, dword [esi + 4]
push str.TraceWriteA
push edx
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 4]
push str.DumpWriteA
push eax
call edi
mov ecx, dword [esi + 4]
push str.OpenW
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 4]
push str.CloseW
push edx
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 4]
push str.TraceWriteW
push eax
call edi
mov ecx, dword [esi + 4]
push str.DumpWriteW
push ecx
mov dword [esi + 0x20], eax
call edi
cmp dword [esi + 8], 0
mov dword [esi + 0x24], eax
pop edi
je 0x10004a4f
cmp dword [esi + 0xc], 0
je 0x10004a4f
cmp dword [esi + 0x10], 0
je 0x10004a4f
cmp dword [esi + 0x14], 0
je 0x10004a4f
cmp dword [esi + 0x18], 0
je 0x10004a4f
cmp dword [esi + 0x1c], 0
je 0x10004a4f
cmp dword [esi + 0x20], 0
je 0x10004a4f
test eax, eax
jne 0x10004a52
xor eax, eax
ret
mov eax, 1
ret

Function at 0x10004af0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x101685e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 4]
xor eax, eax
test ecx, ecx
je 0x10004bad
cmp dword [ecx + 4], eax
setne al
test eax, eax
jne 0x10004bad
mov ecx, 0x208
lea eax, [ebp - 0x20c]
lea esp, [esp]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10004b30
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.100048d0
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
mov esi, eax
call dword [sym.imp.SHELL32.dll_DoEnvironmentSubstW]
test esi, esi
jne 0x10004b6e
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10004b9e
mov ecx, 0x208
lea eax, [ebp - 0x20c]
lea esp, [esp]
mov byte [eax], 0
inc eax
dec ecx
jne 0x10004b80
push edi
push str.BrLogAPI.dll
mov eax, 0x104
lea edi, [ebp - 0x20c]
call fcn.10003b20
pop edi
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x20c]
call fcn.10004990
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.100fa3ee
mov esp, ebp
pop ebp
ret
Function at 0x1000704a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x101685e8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x1000708f
push 0x1011fec8
push 4
push eax
call fcn.100fa729
push eax
call fcn.10005ad0
add esp, 0x10
jmp 0x100070a5
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10007125
push edi
call fcn.100fcde3
mov edi, dword [eax]
call fcn.100fcde3
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.100fa41b
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.100fcde3
cmp dword [eax], 0
je 0x100070f9
call fcn.100fcde3
push dword [eax]
call fcn.10006fec
pop ecx
jmp 0x10007100
call fcn.100fcde3
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x10007125
cmp dword [ebp - 0x234], esi
jae 0x10007125
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x10007127
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100fa3ee
leave
ret
Function at 0x10007694
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x101685e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.100075fb
pop ecx
cmp eax, esi
je 0x1000777e
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x1000777e
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.100fb220
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x1000777e
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x1000777e
cmp esi, 0x14
jge 0x1000777e
push 0x10
push 0
push edi
call fcn.100fd55b
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1000776d
call fcn.100fcde3
cmp dword [eax], 0x22
je 0x1000776d
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.100fb1f9
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x10007743
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x10169dd8], 0
jne 0x10007809
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x10007832
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.1000704a
pop ecx
pop ecx
test eax, eax
jne 0x10007834
inc edi
cmp edi, esi
jl 0x1000780f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fa3ee
leave
ret 8

Function at 0x10013e5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x10013ea2
call fcn.1000b49e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10013ea2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x10013ebe
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1001395b
mov esi, eax
test edi, edi
je 0x10013ebc
test ebx, ebx
je 0x10013ebc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1001429d
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x10117d6a
call fcn.100fb6f7
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x100142c2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x10014314
call fcn.10009d96
push eax
lea ecx, [ebp - 0x10]
call fcn.10005840
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100fd898
push eax
call fcn.10005ad0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.100057d0
mov eax, esi
call fcn.100fb7cf
ret 8

Function at 0x10014e40
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101685e8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x10014e75
xor eax, eax
jmp 0x10014ec8
lea eax, [ebp - 0x210]
push eax
call fcn.100fb1f9
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x10014ea6
push 0x10120548
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.100fd575
add esp, 0xc
test eax, eax
jne 0x10014e71
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.100fd575
add esp, 0xc
test eax, eax
jne 0x10014e71
lea eax, [ebp - 0x210]
push eax
call fcn.100075fb
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100fa3ee
leave
ret

Function at 0x1001bfc0
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.1001bc64
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1001c00a
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000c88c
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000874c
jmp 0x1001c015
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1001431c
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1001c01b
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.10013f67
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1001c058
call fcn.1001bc64
mov dword [esi + 0xc], 1
jmp 0x1001c05d
call fcn.1001bc64
cmp dword [esi], 0
je 0x1001c0a6
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x1001c07e
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1000c88c
jmp 0x1001c090
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.100061b9
push 0x100
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1000874c
jmp 0x1001c0ca
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1001c0ca
push dword [esi]
push dword [ebp + 8]
call fcn.1001431c
pop esi
pop ebp
ret 0xc

Function at 0x10044934
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.1000b49e
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1004496d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.10044571
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x100449cb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x100449ef
cmp dword [edi + 0x74], 0
jne 0x100449ef
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.1000b49e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.1004498c
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x10047fb9
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100d06c4
call fcn.1000aecf
cmp dword [eax + 0x14], 0
jne 0x10047fd6
mov ecx, esi
pop esi
jmp fcn.10047abe
pop esi
ret

Function at 0x1004b721
Capabilities:
Get common file path
Get file system object information

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.100a926c
call fcn.1000aecf
cmp dword [eax + 0x14], 0
jne 0x1004b73e
mov ecx, esi
pop esi
jmp fcn.1004b0f4
pop esi
ret
Function at 0x1008688d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x100868a7
call fcn.1000b49e
mov esi, dword [eax + 0xc]
push dword [0x1016dbf8]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100868c5
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x100868bd
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x100868f2
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x100868bf
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.100867bb
mov esi, eax
jmp 0x100868e4

Function at 0x100db3db
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x100db3f3
mov edi, dword [esi + 0xc]
jmp 0x100db433
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100db40c
call fcn.10016f68
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x100db421
call fcn.10016f68
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x100db433
call fcn.10016f68
call fcn.1000b49e
cmp dword [eax + 0x3c], 0
je 0x100db448
push edi
mov ecx, ebx
call fcn.100da294
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.100db2f5
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x100db466
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x100db472
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100fa3ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101685e8]
jne 0x100fa3f8
repz ret
jmp fcn.101002d4
Function at 0x1010cf1b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101685e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10103c8e
and dword [ebp - 0x14], 0
cmp dword [0x101701ac], 0
mov dword [ebp - 0x18], eax
jne 0x1010cfce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1010d076
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10147a6c
push ebx
call edi
test eax, eax
je 0x1010d076
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x10147a5c
push ebx
mov dword [0x101701ac], eax
call edi
push eax
call esi
push 0x10147a48
push ebx
mov dword [0x101701b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x101701b4], eax
call edi
push eax
call esi
mov dword [0x101701bc], eax
test eax, eax
je 0x1010cfce
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x101701b8], eax
mov eax, dword [0x101701b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1010d027
cmp dword [0x101701bc], ecx
je 0x1010d027
push eax
call esi
push dword [0x101701bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1010d027
test ebx, ebx
je 0x1010d027
call edi
test eax, eax
je 0x1010d01e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1010d01e
test byte [ebp - 8], 1
jne 0x1010d027
or dword [ebp + 0x10], 0x200000
jmp 0x1010d05a
mov eax, dword [0x101701b0]
cmp eax, dword [ebp - 0x18]
je 0x1010d05a
push eax
call esi
test eax, eax
je 0x1010d05a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1010d05a
mov eax, dword [0x101701b4]
cmp eax, dword [ebp - 0x18]
je 0x1010d05a
push eax
call esi
test eax, eax
je 0x1010d05a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x101701ac]
call esi
test eax, eax
je 0x1010d076
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1010d078
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100fa3ee
leave
ret
Function at 0x4017f0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423d38
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x42c670]
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 eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], ebx
mov dword [ebp - 4], ebx
xor eax, eax
cmp dword [ebp + 0x20], 0x10
mov ecx, 0x2a
lea esi, [ebp - 0x1d0]
lea edi, [ebp - 0x120]
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x98], 0x6a09e667
mov dword [ebp - 0x94], 0xbb67ae85
mov dword [ebp - 0x90], 0x3c6ef372
mov dword [ebp - 0x8c], 0xa54ff53a
mov dword [ebp - 0x88], 0x510e527f
mov dword [ebp - 0x84], 0x9b05688c
mov dword [ebp - 0x80], 0x1f83d9ab
mov dword [ebp - 0x7c], 0x5be0cd19
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
jae 0x4018c1
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x1c]
lea esi, [ebp - 0x120]
call fcn.00401570
lea edi, [ebp - 0x30]
call fcn.00401620
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov byte [ebp - 0x38], 0
xor esi, esi
lea edi, [ebp - 0x78]
jmp 0x4018f0
movzx ecx, byte [ebp + esi - 0x30]
push ecx
push str._02x
push edi
call ebx
inc esi
add esp, 0xc
add edi, 2
cmp esi, 0x20
jb 0x4018f0
mov esi, dword [ebp - 0x124]
lea eax, [ebp - 0x78]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401927
sub eax, edx
push eax
lea edx, [ebp - 0x78]
push edx
mov ecx, esi
call fcn.00401f80
cmp dword [ebp + 0x20], 0x10
jb 0x40194e
mov eax, dword [ebp + 0xc]
push eax
call fcn.0040d6b2
add esp, 4
mov eax, esi
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.0040d6a3
mov esp, ebp
pop ebp
ret