joyce8/EMBER2024-capa huggingface dataset:
Function at 0xdf5250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe09808
push 0xdf9288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xdf5329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xdf5329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00df81d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xdf5329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xdf5329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xdf532c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00df5351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xdf5d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xdf5d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xdf5d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xdf5d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xdf5d94
push eax
push esi
call fcn.00df820b
add esp, 8
pop esi
ret 0x10

Function at 0xdf5da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xdf5e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xdf5e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xe0e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00df7dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xdf5dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xdf5e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xdf5ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xdf5eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xe0e320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00df7dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xdf5eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xdf5e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xdf6000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xdf6131
push esi
call fcn.00df9145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00de8080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xdf6131
push 0
push ebp
call fcn.00de83a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00de8260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xdf608b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00de82f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xdf6121
push 0xe0e918
push edi
call fcn.00df73f0
push eax
push ebx
push esi
call fcn.00df5f60
push 0xe0e8f8
push edi
call fcn.00df73f0
push eax
push ebx
push esi
call fcn.00df5f60
push 0xe0e8d8
push edi
call fcn.00df73f0
push eax
push ebx
push esi
call fcn.00df5f60
push 0xe0e8c0
push edi
call fcn.00df73f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00df5f60
push 0xe0e8a0
push edi
call fcn.00df73f0
push eax
push ebx
push esi
call fcn.00df5f60
push 0xe0e888
push edi
call fcn.00df73f0
push eax
push ebx
push esi
call fcn.00df5f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xdf71b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00df7140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00df7140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00df7140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00df7140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xdf7bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xdf7c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xe0987c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xdf7c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xdf7c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40c050
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x4fb04c
call sym._EnterCriticalSection_4
mov ebx, dword [0x4fb044]
sub esp, 4
test ebx, ebx
je 0x40c09b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x40c094
test esi, esi
je 0x40c094
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x40c070
mov dword [esp], 0x4fb04c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x40c280
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
lea esi, [esp + 0x24]
lea ebx, [eax + 0x40]
mov dword [esp + 4], 1
mov dword [esp + 0xc], ebx
mov dword [esp], str.Mingw_runtime_failure:_n
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x40c2d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, edx
push esi
mov esi, ecx
push ebx
mov ebx, eax
sub esp, 0x3c
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x40c3a4
mov eax, dword [esp + 0x28]
cmp eax, 0x40
je 0x40c30e
cmp eax, 4
jne 0x40c330
test esi, esi
je 0x40c322
xor eax, eax
movzx ecx, byte [edi + eax]
mov byte [ebx + eax], cl
add eax, 1
cmp eax, esi
jb 0x40c314
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x20]
lea ebp, [esp + 0x10]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov ecx, dword [esp + 0x28]
test esi, esi
je 0x40c36f
xor edx, edx
movzx eax, byte [edi + edx]
mov byte [ebx + edx], al
add edx, 1
cmp edx, esi
jb 0x40c361
cmp ecx, 0x40
je 0x40c322
cmp ecx, 4
je 0x40c322
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x3c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.0040c280
lea esi, [esi]
Function at 0x415c30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push esi
push ebx
sub esp, 0x3c
mov dword [esp + 4], 0
mov dword [esp], 2
call sym._setlocale
test eax, eax
je 0x415d04
mov dword [esp], eax
mov esi, eax
mov ebx, esp
call sym._strlen
lea edx, [eax + 1]
add eax, 0x10
shr eax, 4
shl eax, 4
call fcn.00417b80
sub esp, eax
lea eax, [esp + 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp], eax
call sym._memcpy
mov dword [esp + 4], 0x4b6f84
mov dword [esp], 2
mov esi, eax
call sym._setlocale
mov dword [esp], esi
mov dword [esp + 4], eax
call sym._strcmp
test eax, eax
je 0x415d10
mov dword [esp + 4], esi
mov dword [esp], 2
call sym._setlocale
mov eax, esi
mov dword [esp + 4], 0x2e
mov dword [esp], eax
call sym._strchr
test eax, eax
je 0x415d00
add eax, 1
mov dword [esp], eax
call sym._atoi
mov edi, eax
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edi
call sym._GetCPInfo_8
sub esp, 8
test eax, eax
je 0x415d00
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x415d50
xor edi, edi
mov esp, ebx
lea esp, [ebp - 0xc]
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.LC_ALL
call sym._getenv
test eax, eax
jne 0x415cc2
mov dword [esp], str.LC_CTYPE
call sym._getenv
test eax, eax
jne 0x415cc2
mov dword [esp], str.LANG
call sym._getenv
test eax, eax
jne 0x415cc2
mov eax, esi
jmp 0x415cc2
mov esp, ebx
jmp 0x415d04

Function at 0x417f00
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
call sym._GetLastError_0
mov esi, eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], esi
call sym._SetLastError_4
mov eax, ebx
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x417f30
Capabilities:
Set thread local storage value

Disassembly:
sub esp, 0x1c
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
je 0x417f58
xor eax, eax
add esp, 0x1c
ret
add esp, 0x1c
jmp sym._GetLastError_0
Function at 0x41c140
Capabilities:
Allocate thread local storage

Disassembly:
sub esp, 0x1c
mov dword [0x4fba64], 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffff
mov dword [esp + 4], 0
mov dword [esp], 0
call sym._CreateSemaphoreW_16
sub esp, 0x10
mov dword [0x4fba68], eax
call sym._TlsAlloc_0
cmp eax, 0xffffffff
je 0x41c1a8
mov dword [esp + 4], dbg.emutls_destroy
mov dword [esp], eax
mov dword [0x4fba60], eax
call sym.___mingwthr_key_dtor
test eax, eax
jne sym._emutls_init.cold
add esp, 0x1c
ret
call sym._GetLastError_0
jmp 0x41c198
Function at 0x41c1b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebp, dword [0x4fb030]
mov esi, dword [esp + 0x40]
test ebp, ebp
jne 0x41c1d8
mov eax, dword [esi + 8]
test eax, eax
je 0x41c230
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esi + 8]
test edi, edi
je 0x41c240
mov ebx, dword [0x4fba60]
call sym._GetLastError_0
mov dword [esp], ebx
mov ebp, eax
call sym._TlsGetValue_4
sub esp, 4
mov ebx, eax
mov dword [esp], ebp
call sym._SetLastError_4
sub esp, 4
test ebx, ebx
je 0x41c2d0
mov ebp, dword [ebx]
cmp ebp, edi
jb 0x41c320
lea ebx, [ebx + edi*4]
mov eax, dword [ebx]
test eax, eax
jne 0x41c1cc
mov eax, esi
call sym._emutls_alloc
mov dword [ebx], eax
jmp 0x41c1cc
mov eax, esi
call sym._emutls_alloc
mov dword [esi + 8], eax
jmp 0x41c1cc
mov edi, dword [0x4fb030]
test edi, edi
je 0x41c3a8
mov ebx, dword [0x4b10a8]
test ebx, ebx
je 0x41c378
mov dword [esp], 0x4fba64
call sym._InterlockedIncrement_4
sub esp, 4
test eax, eax
jne 0x41c3eb
mov edi, dword [esi + 8]
test edi, edi
je 0x41c3b3
mov eax, dword [0x4fb030]
test eax, eax
je 0x41c1df
mov dword [esp], 0x4fba64
call sym._InterlockedDecrement_4
sub esp, 4
test eax, eax
js 0x41c1df
mov eax, dword [0x4fba68]
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call sym._ReleaseSemaphore_12
sub esp, 0xc
jmp 0x41c1df
lea eax, [edi + 0x21]
mov dword [esp + 4], 4
lea ebp, [edi + 0x20]
mov dword [esp], eax
call sym._calloc
mov ebx, eax
test eax, eax
je sym.___emutls_get_address.cold
mov dword [eax], ebp
mov eax, dword [0x4fba60]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._TlsSetValue_8
sub esp, 8
test eax, eax
jne 0x41c216
call sym._GetLastError_0
jmp 0x41c216
lea edx, [ebp + ebp]
cmp edi, edx
jbe 0x41c32b
lea edx, [edi + 0x20]
lea eax, [edx*4 + 4]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edx
call sym.___mingw_realloc
mov ebx, eax
test eax, eax
je sym.___emutls_get_address.cold
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
sub edx, ebp
lea eax, [eax + ebp*4 + 4]
shl edx, 2
mov dword [esp + 4], 0
mov dword [esp + 8], edx
mov dword [esp], eax
call sym._memset
jmp 0x41c2f2
mov dword [esp], 0x4b10ac
call sym._InterlockedIncrement_4
sub esp, 4
test eax, eax
jne 0x41c3df
call sym._emutls_init
mov dword [0x4b10a8], 1
mov edx, dword [0x4fb030]
test edx, edx
jne 0x41c25c
mov edi, dword [esi + 8]
test edi, edi
jne 0x41c1df
mov eax, dword [0x4fba5c]
lea edi, [eax + 1]
mov dword [0x4fba5c], edi
mov dword [esi + 8], edi
jmp 0x41c27e
mov dword [esp], 0
call sym._Sleep_4
sub esp, 4
mov ecx, dword [0x4b10a8]
test ecx, ecx
je 0x41c3d0
jmp 0x41c39a
mov eax, dword [0x4fba68]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
test eax, eax
je 0x41c273
mov dword [esp], 0x4fba64
call sym._InterlockedDecrement_4
sub esp, 4
jmp 0x41c273
Function at 0x41f9f0
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
cmp byte [0x4b2b1c], 0
jne method.__gnu_cxx.__verbose_terminate_handler____clone_.cold_
mov byte [0x4b2b1c], 1
call sym.___cxa_current_exception_type
test eax, eax
je 0x4a941e
mov ebx, dword [eax + 4]
xor eax, eax
cmp byte [ebx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ebx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0xc], eax
mov dword [esp], ebx
call sym.___cxa_demangle
mov edi, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x30
mov dword [esp + 4], 1
mov esi, eax
lea ebp, [edi + 0x40]
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
mov dword [esp + 0xc], ebp
call sym._fwrite
mov edx, dword [esp + 0x1c]
mov dword [esp + 4], ebp
test edx, edx
jne 0x41fac8
mov dword [esp], esi
call sym._fputs
lea eax, [edi + 0x40]
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4b47c5
call sym._fwrite
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x4a9419
mov dword [esp], esi
call sym.___mingw_aligned_free
jmp 0x4a9419
mov dword [esp], ebx
call sym._fputs
jmp 0x41fa8c
Function at 0x4015b7
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
push dword [edi + 4]
mov dword [edi + 0x38], esi
call dword [sym.imp.USER32.dll_GetParent]
push esi
push esi
push 0x101f
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp + 8]
xor ecx, ecx
test esi, esi
sete cl
push ecx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
test esi, esi
je 0x401624
mov dword [0x4ab4f4], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x4014f7
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [edi + 0x34], eax
mov dword [edi + 0x28], 1
jmp 0x401656
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp dword [edi + 0x28], 0
je 0x401656
lea esi, [edi + 0x24]
push esi
lea ecx, [edi + 4]
call fcn.0043c8ec
push 0
sub esp, 0xc
lea ecx, [ebp - 4]
push dword [esi]
push 1
push dword [edi + 0x30]
push dword [edi + 0x2c]
call 0x431d00
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42a842
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 2
xor edi, edi
mov dword [ebp - 0x14], edx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x18], esi
test esi, esi
je 0x42a880
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42a880
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x42a88c
call fcn.0044bc4b
mov edi, eax
jmp 0x42a916
mov esi, dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 4], edi
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], edi
push ecx
push str.VarFileInfoTranslation
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x42a908
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], edi
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
lea eax, [ebp - 0x10]
push str.StringFileInfo_.4x_.4xFileDescription
push eax
call fcn.00449eea
add esp, 0x10
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push dword [eax]
push ebx
call esi
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.0043c924
test esi, esi
je 0x42a908
push dword [ebp - 0xc]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
jmp 0x42a90f
call fcn.0044bc4b
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x18]
call fcn.0043879e
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42ae69
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
push 8
push dword [ebp + 0x10]
push ecx
lea ecx, [edi - 0x10]
mov esi, esp
call fcn.0043baa0
push dword [ebp + 8]
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.0042a344
lea eax, [ebx + 0x1c]
mov dword [ebx], 0x4983b8
push eax
push dword [ebp + 0xc]
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
lea ecx, [edi - 0x10]
mov dword [ebx + 0x18], eax
call fcn.0043c924
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0xc
Function at 0x42b233
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
add eax, 0xfffffff0
push edi
push dword [ebp + 0x10]
mov ebx, ecx
mov dword [ebp - 4], eax
push ecx
mov ecx, eax
mov esi, esp
call fcn.0043baa0
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
mov esi, dword [ebp + 8]
push esi
call fcn.0042a344
and dword [ebp + 0x14], 0
mov dword [ebx], 0x498390
sub edi, 6
je 0x42b291
sub edi, 1
jne 0x42b2ea
lea edx, [ebp + 0x14]
push edx
push 0x2000000
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedStartupFolder
push 0x80000001
jmp 0x42b2a4
lea edx, [ebp + 0x14]
push edx
push 0x2000000
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerStartupApprovedStartupFolder
push 0x80000002
mov eax, dword [esi + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jne 0x42b2ea
push dword [ebx + 0xc]
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea ecx, [ebp + 0x10]
mov dword [ebp + 0x10], 0xc
push ecx
lea ecx, [ebp - 0x10]
xor esi, esi
push ecx
push esi
push esi
push eax
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b2ea
test byte [ebp - 0x10], 1
je 0x42b2ea
mov dword [ebx + 0x10], esi
lea ecx, [ebp + 0x14]
call fcn.0043a910
mov ecx, dword [ebp - 4]
call fcn.0043c924
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10