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

Disassembly:
test byte [ebp - 0x40], 1
jne 0x101e0c4
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call fcn.010015ed
mov dword [0x105b0dc], eax
cmp dword [0x105b0d0], ebx
jne 0x101e10d
push eax
call dword [sym.imp.msvcrt.dll_exit]
nop
nop
nop
nop
nop
call fcn.010155cc
push 0x5c
push 0x1015df8
call fcn.01003b0f
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x105b554
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
jne 0x101e076
xor esi, esi
inc esi
mov eax, dword [0x105b0e8]
cmp eax, esi
je 0x101e095
mov eax, dword [0x105b0e8]
test eax, eax
jne 0x1015e2f
mov dword [0x105b0e8], esi
push 0x1015df4
push 0x1015de8
call fcn.01015c70
pop ecx
pop ecx
test eax, eax
jne 0x101e130
mov eax, dword [0x105b0e8]
cmp eax, esi
jne 0x1015d4c
push 0x1015de4
push 0x1015d94
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x105b0e8], 2
cmp dword [ebp - 0x20], ebx
jne 0x1015d59
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x105d5e8], ebx
jne 0x101e0a2
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x101e130
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
jbe 0x1015e20
cmp cx, 0x22
je 0x101e0cd
inc eax
inc eax
jmp 0x1015d74
cmp cx, bx
je 0x1015e3a
cmp dword [ebp - 0x1c], ebx
je 0x1015e3a
jmp 0x1015d84
mov dword [0x105dedc], esi
jmp 0x1015d28
movzx ecx, word [eax]
cmp cx, bx
je 0x1005dfe
cmp cx, 0x20
ja 0x1005dfe
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x1015e3a
cmp eax, esi
jne 0x101e085
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1015cef
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1015cdb
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1015d28
push 0x105d5e8
call fcn.0103ae2a
pop ecx
test eax, eax
je 0x1015d65
push ebx
push 2
push ebx
call dword [0x105d5e8]
jmp 0x1015d65
movzx ecx, word [ebp - 0x3c]
jmp 0x1005e0b
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x1015d8e
cmp dword [0x105dedc], ebx
jne 0x101e11b
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x105b0dc]
jmp 0x101e13c
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01003b54
ret
Function at 0x101710a
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x105b088]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.010171dd
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x10171ac
cmp dword [ebp - 0x94], 5
jb 0x101717f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x10171c8
call fcn.01013d6b
test eax, eax
jl 0x101df2d
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01001945
leave
ret
cmp dword [ebp - 0x88], 1
je 0x101df15
jmp 0x101717f
cmp dword [ebp - 0x90], 0
jbe 0x101717f
jmp 0x101717b
cmp dword [ebp - 0x94], 4
ja 0x101717b
je 0x10171bb
jmp 0x101717f
mov byte [0x105de7d], 1
jmp 0x101719d

Function at 0x1017ac1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xfbc
mov eax, 0x10526d7
call fcn.01001957
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0xfc0]
push eax
mov byte [ebp - 0xfb1], 0
call fcn.01017bad
and dword [ebp - 4], 0
push edi
push eax
lea eax, [ebp - 0xfbc]
push eax
call fcn.010062d3
lea ecx, [ebp - 0xfc0]
mov byte [ebp - 4], 2
call fcn.01001f30
lea eax, [ebp - 0xfb8]
push eax
push dword [ebp - 0xfbc]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1017b8b
mov esi, dword [esi]
lea eax, [ebp - 0xfc8]
push eax
lea eax, [ebp - 0xfb0]
push eax
lea eax, [ebp - 0xfc4]
push eax
push 0
push esi
push dword [ebp - 0xfb8]
mov dword [ebp - 0xfc8], 0xfa0
call dword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0x1017b7f
cmp dword [ebp - 0xfc4], 1
jne 0x1017b7f
mov word [ebp - 0x12], ax
lea eax, [ebp - 0xfb0]
push eax
mov ecx, ebx
call fcn.0100623f
mov byte [ebp - 0xfb1], 1
push dword [ebp - 0xfb8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xfbc]
call fcn.01001f30
mov al, byte [ebp - 0xfb1]
call fcn.01001994
ret 0xc
Function at 0x1017e70
Capabilities:
Identify system language via api

Disassembly:
push 0xc0
mov eax, 0x105575e
call fcn.01001957
mov ebx, dword [ebp + 8]
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc4], esi
push 0xa6
mov word [ebp - 0xb8], ax
lea eax, [ebp - 0xb6]
push esi
push eax
mov edi, ecx
mov dword [ebp - 0xcc], ebx
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, ebx
call fcn.01003cb0
mov dword [ebp - 4], esi
inc esi
mov ecx, edi
mov dword [ebp - 0xc4], esi
call fcn.01017f75
test eax, eax
je 0x1017f47
push 0x1017f54
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1017f47
lea ecx, [ebp - 0xc0]
push ecx
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0xbc]
push ecx
push 8
mov dword [ebp - 0xc0], 0x54
call eax
cmp eax, esi
jne 0x1017f47
mov edx, dword [ebp - 0xc0]
xor ecx, ecx
add edx, 0xfffffffe
je 0x1017f2f
cmp dword [ebp - 0xbc], 0
jbe 0x1017f2f
lea eax, [ebp + ecx*2 - 0xb8]
cmp word [eax], 0
je 0x101f9d4
inc ecx
cmp ecx, edx
jb 0x1017f10
lea eax, [ebp - 0xb8]
push eax
mov ecx, ebx
call fcn.010132b3
mov eax, ebx
call fcn.01001994
ret 4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
jmp 0x101f9e5
dec dword [ebp - 0xbc]
push 0x5f
pop esi
mov word [eax], si
jmp 0x1017f2a
movzx eax, ax
push eax
lea eax, [ebp - 0xc8]
push eax
mov ecx, edi
call fcn.0104ca0b
push eax
mov ecx, ebx
mov dword [ebp - 4], esi
call fcn.01003b98
mov ecx, dword [ebp - 0xc8]
add ecx, 0xfffffff0
call fcn.01003c06
jmp 0x1017f3d

Function at 0x101827f
Capabilities:
Terminate thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x10182df
lea eax, [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x10182a2
mov eax, dword [esi + 0x30]
push ebx
push edi
push eax
push 0
mov ecx, esi
call fcn.01005cb9
mov edi, dword [esi + 0xc]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
dec edi
jns 0x101c16e
push dword [esi + 0x40]
call ebx
and dword [esi + 0x40], 0
lea edi, [esi + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
push dword [esi + 0x3c]
call ebx
pop edi
pop ebx
pop esi
leave
ret 4
push edi
lea ecx, [esi + 4]
call fcn.01018308
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [ebp - 4], 0x103
jne 0x101c19b
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [ebp + 8]
call ebx
jmp 0x10182b7
Function at 0x101896b
Capabilities:
Terminate thread

Disassembly:
push 4
mov eax, 0x104fb0a
call fcn.01001e26
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x1002a64
xor ebx, ebx
mov dword [ebp - 4], 9
cmp dword [esi + 0x50], ebx
je 0x101899f
lea ecx, [esi + 0x4c]
call fcn.01001d0f
mov ecx, eax
call fcn.01019b4b
cmp dword [esi + 0x48], ebx
je 0x10189b3
lea ecx, [esi + 0x44]
call fcn.01001d0f
mov ecx, eax
call fcn.01018410
mov eax, dword [esi + 0x7c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x10189c6
push eax
call edi
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x78]
cmp eax, ebx
je 0x10189e6
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x101d384
push dword [esi + 0x78]
call edi
mov eax, dword [esi + 0xa8]
mov edi, dword [sym.imp.USER32.dll_DestroyIcon]
cmp eax, ebx
je 0x10189f9
push eax
call edi
mov eax, dword [esi + 0xac]
cmp eax, ebx
je 0x1018a06
push eax
call edi
mov eax, dword [esi + 0xb0]
cmp eax, ebx
je 0x1018a17
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
lea ecx, [esi + 0x84]
call fcn.01018a9f
mov ecx, dword [esi + 0x80]
sub ecx, 0x10
call fcn.01003c06
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 6
call fcn.01005563
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 5
call fcn.01001fc3
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 4
call fcn.01001fc3
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 3
call fcn.01001cb1
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.01001cb1
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 1
call fcn.01001cb1
lea ecx, [esi + 0x24]
mov byte [ebp - 4], bl
call fcn.01001cb1
mov esi, dword [esi + 0x14]
or dword [ebp - 4], 0xffffffff
cmp esi, ebx
je 0x1018a94
push esi
call fcn.01018610
call fcn.010019b0
ret
push ebx
push dword [esi + 0x78]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x10189e1
Function at 0x102d223
Capabilities:
Create process on windows

Disassembly:
push 0x10
mov eax, 0x104ec23
call fcn.01001e26
mov esi, ecx
lea eax, [ebp + 8]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
call fcn.01007eed
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0xd]
push eax
push edi
mov byte [ebp - 4], 1
call fcn.0101090a
test al, al
je 0x102d448
cmp byte [ebp - 0xd], bl
je 0x102d291
cmp byte [ebp + 0xc], bl
je 0x102d448
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
push ebx
push ebx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
call fcn.01007eed
mov ecx, esi
call fcn.01011422
jmp 0x102d448
push 9
push edi
push 0x102d470
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x102d40b
push edi
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, 0xa
jbe 0x102d40b
lea eax, [ebp - 0x18]
push eax
call fcn.0102b6cd
push eax
lea ecx, [esi + 0x154]
mov byte [ebp - 4], 2
call fcn.0101324b
lea ecx, [ebp - 0x18]
mov byte [ebp + 0xf], al
mov byte [ebp - 4], 1
call fcn.01001f30
cmp byte [ebp + 0xf], bl
jne 0x102d448
cmp dword [0x105b704], ebx
je 0x102d362
mov al, byte [0x105b708]
cmp byte [0x105b081], bl
je 0x102d316
cmp al, 4
jae 0x102d308
cmp al, bl
jne 0x102d362
test dword [0x105b700], 0x10000
je 0x102d362
jmp 0x102d347
cmp al, 4
jae 0x102d31e
cmp al, bl
jne 0x102d362
mov eax, dword [0x105b6f0]
mov edx, 0x10000
and eax, edx
xor ecx, ecx
or eax, ecx
je 0x102d362
mov eax, dword [0x105b6f8]
mov ecx, eax
and ecx, edx
xor edx, edx
cmp ecx, eax
jne 0x102d362
cmp edx, dword [0x105b6fc]
jne 0x102d362
push 0x101fb74
push 0x102d460
push dword [0x105b0fc]
push dword [0x105b0f8]
call fcn.01027bd1
cmp byte [ebp + 0x10], bl
jne 0x102d3fe
lea eax, [edi + 0x12]
push eax
lea ecx, [ebp + 0xc]
call fcn.010095cb
push 0x20
mov byte [ebp - 4], 3
call fcn.01003860
pop ecx
mov dword [ebp + 0x10], eax
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x102d3b0
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
push ecx
push ecx
lea eax, [esi + 0x2c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.01001e9d
mov ecx, dword [ebp + 0x10]
call fcn.01038cd9
jmp 0x102d3b2
xor eax, eax
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x102d3e5
push 0x102d484
lea ecx, [ebp + 0x10]
call fcn.010095cb
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.0102bf13
push 0x1056268
lea eax, [ebp - 0x1c]
push eax
call sub.msvcrt.dll__CxxThrowException
push eax
lea ecx, [esi + 0x104]
call fcn.0100a9aa
push dword [ebp + 0xc]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
jmp 0x102d44e
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0102bb7b
jmp 0x102d448
mov eax, dword [0x105b0ac]
mov eax, dword [eax + 4]
push 5
push ebx
push ebx
push edi
push 0x101fbd0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push edi
lea ecx, [ebp + 0xc]
call fcn.010112f7
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call fcn.0103e644
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.01003c06
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push edi
call esi
push dword [ebp + 8]
call esi
call fcn.010019b0
ret 0xc
Function at 0x102d82c
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
test esi, esi
jne 0x102d847
push 0x80004005
call fcn.010275d4
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x102d849
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x102dfc1
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x105b088]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.0102d78a
mov edi, eax
cmp edi, esi
je 0x102e033
lea ecx, [ebp - 0x214]
call fcn.0102d717
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001945
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x102e051
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.0102dfc1
cmp eax, esi
jne 0x102e09c
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0x102e03b
lea ecx, [ebp - 0x214]
call fcn.0102d717
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.0102d619
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.0102d717
mov eax, esi
jmp 0x102e023
Function at 0x102f30e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x104f1fb
call fcn.0103ac3c
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x102f367
call fcn.0102b659
mov esi, eax
jmp 0x102f470
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x102f380
call fcn.0102b659
jmp 0x102f462
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x102f376
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0x102f3e6
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x102f3cc
lea ecx, [ebp - 0x418]
call fcn.0102de51
mov esi, 0x8007000e
lea ecx, [ebp - 0x424]
call fcn.01012bf7
mov eax, esi
call fcn.0103ac7c
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0102e5e8
mov dword [ebp - 4], 1
jmp 0x102f414
cmp dword [ebp - 0x418], esi
jne 0x102f423
mov esi, 0x8007000e
jmp 0x102f464
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x102f376
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.0102f1d2
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x102f3d1
lea ecx, [ebp - 0x418]
call fcn.0102de51
jmp 0x102f3d1

Function at 0x1033d07
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0xe5], 0
je 0x1033d3e
push edi
mov byte [esi + 0xe4], 1
xor edi, edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
ja 0x1033d7d
cmp byte [esi + 0xe5], 0
jne 0x1033d23
pop edi
lea eax, [ebp - 4]
push eax
lea ecx, [esi + 0x28]
call fcn.01001d0f
mov ecx, eax
call fcn.010337dd
push 0x10203d8
push dword [eax]
lea ecx, [esi + 0x38]
call fcn.0101981f
mov eax, dword [ebp - 4]
pop esi
test eax, eax
je 0x1033d6e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
xor eax, eax
leave
ret 0x10
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x1038246
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x105298c
call fcn.01001e26
mov esi, ecx
push 0x1006100
lea ecx, [ebp - 0x10]
call fcn.01003885
and dword [ebp - 4], 0
push 0x9f
lea ecx, [ebp - 0x10]
call fcn.010038d4
mov ecx, dword [esi + 0xe4]
push eax
push 0xa0
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0100394e
push 0
push dword [ebp - 0x10]
push esi
call fcn.0103815b
mov eax, dword [ebp + 0x14]
or dword [ebp - 4], 0xffffffff
xor esi, esi
inc esi
lea ecx, [ebp - 0x10]
mov dword [eax], esi
call fcn.01001f30
mov eax, esi
call fcn.010019b0
ret 0x10

Function at 0x10382bf
Capabilities:
Get graphical window text

Disassembly:
push 0
mov eax, 0x10516a0
call fcn.01001e26
mov edi, ecx
mov esi, dword [ebp + 0x14]
and dword [esi], 0
push 0x1006100
lea ecx, [ebp + 0x14]
call fcn.01003885
movzx eax, word [ebp + 0xc]
and dword [ebp - 4], 0
sub eax, 9
je 0x1038300
sub eax, 4
je 0x103833b
sub eax, 0x19
je 0x1038372
dec eax
dec eax
je 0x1038372
sub eax, 0x4d
jne 0x1038323
mov ecx, dword [0x105b0ac]
call fcn.01032cf3
xor edi, edi
inc edi
test eax, eax
je 0x1038321
push edi
push 0
push 0x900
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esi], edi
mov esi, dword [esi]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.01001f30
mov eax, esi
call fcn.010019b0
ret 0x10
push 0x9f
lea ecx, [ebp + 0x14]
call fcn.010038d4
mov ecx, dword [edi + 0xe4]
push eax
push 0xa0
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
lea ecx, [ebp + 0x14]
call fcn.0100394e
push 0
push dword [ebp + 0x14]
push edi
call fcn.0103815b
mov dword [esi], 1
jmp 0x1038323

Function at 0x10386e4
Capabilities:
Compare security identifiers

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push esi
lea eax, [ebp - 8]
push eax
mov esi, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 1], bl
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.010385cd
test eax, eax
jne 0x1038777
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
call fcn.0103854a
test eax, eax
jne 0x1038777
push dword [ebp - 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x1038777
push edi
mov ecx, esi
call fcn.01038453
mov edi, eax
cmp edi, ebx
je 0x1038776
lea eax, [ebp - 0x14]
push eax
push edi
mov ecx, esi
call fcn.01038646
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x1038776
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, esi
call fcn.01038646
test eax, eax
jne 0x1038776
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x1038776
mov byte [ebp - 1], 1
pop edi
cmp dword [ebp - 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x1038788
push dword [ebp - 8]
call esi
cmp dword [ebp - 0xc], 0
je 0x1038793
push dword [ebp - 0xc]
call esi
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret
Function at 0x1038a95
Capabilities:
Create process on windows

Disassembly:
push 5
push 0
push 0
push dword [ecx + 0x20]
push 0x101fbd0
push dword [ecx + 0x1c]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor eax, eax
ret

Function at 0x103a276
Capabilities:
Identify system language via api

Disassembly:
push 0x44
mov eax, 0x1051d86
call fcn.01001957
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
and dword [ebp - 0x4c], 0
mov ecx, esi
mov dword [ebp - 0x50], esi
call fcn.01001f63
and dword [ebp - 4], 0
xor edi, edi
inc edi
mov dword [ebp - 0x4c], edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
push 0x10
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
push 0x103a2f8
mov ecx, esi
call fcn.0100623f
lea eax, [ebp - 0x44]
push eax
push esi
lea eax, [ebp - 0x48]
push eax
call fcn.010097e9
push eax
mov ecx, esi
mov dword [ebp - 4], edi
call fcn.010072f1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.01001f30
mov eax, esi
call fcn.01001994
ret 4

Function at 0x103b271
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x105b088]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x18], eax
je 0x103b2c5
push 0x23
pop eax
mov word [ebp - 0x14], ax
push 0xa
lea eax, [ebp - 0x12]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.msvcrt.dll__itow]
add esp, 0xc
push esi
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
jmp 0x103b2fd
test esi, esi
je 0x103b2d8
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x103b2dc
xor eax, eax
jmp 0x103b2f2
lea edi, [eax + eax]
mov eax, edi
call fcn.01012ed6
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.0103a883
push eax
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x103b307
xor eax, eax
jmp 0x103b32b
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
test eax, eax
je 0x103b303
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x103b303
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea esp, [ebp - 0x28]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01001945
leave
ret 0x14