joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422080
Capabilities:
Access the windows event log
Manipulate console buffer
Set file attributes

Disassembly:
sub esp, 0x14
mov eax, dword [0x42c8c4]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
push esi
mov dword [esp + 0x10], 0x1540b5
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x14]
cmp eax, 0xcc1
jne 0x4220bc
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov eax, dword [0x42c8c4]
mov dword [0x42c52c], 0x8e468c60
cmp eax, 0x3dc
jne 0x42211b
push 0
push 0x4271b0
call ebx
xor eax, eax
lea edx, [esp + 0x18]
push edx
push eax
push eax
push eax
push eax
mov dword [esp + 0x24], eax
call ebp
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
push 0
push 0
push edi
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AccessCheckByType]
push str.guyojolegulob
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
mov eax, dword [0x42c8c4]
dec dword [esp + 0x14]
jne 0x4220a8
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogW]
xor esi, esi
mov ebp, 0xec58acac
or ebx, 0xffffffff
cmp eax, 0x997
jne 0x422143
push 0
push 0
call edi
mov eax, dword [0x42c8c4]
cmp esi, 0x846373
jne 0x42215a
mov eax, dword [0x42aad0]
add eax, 0xa231
mov dword [0x42c8c4], eax
cmp eax, 0x141
jne 0x42216d
mov dword [0x42bd18], ebp
mov dword [0x42bd1c], ebx
inc esi
cmp esi, 0x123c962
jl 0x422131
call fcn.00421d10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret 0x10
Function at 0x406f74
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
cmpsb byte [esi], byte es:[edi]
inc ecx
call fcn.00406b80
push eax
push esi
push dword [ebp + 8]
call fcn.00406b35
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00406b80
push eax
push esi
push dword [ebp + 8]
call fcn.00406b35
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00406b70
push cs
outsb dx, byte [esi]
cmp al, 0xbf
mov byte [ebp - 0x84], bl

Function at 0x406ff8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00406b70
or dword [ebx], ebp
xchg ecx, eax
salc
lea eax, [ebp - 0x84]
push eax
call fcn.00406b80
push eax
push esi
push dword [ebp + 8]
call fcn.00406b35
add esp, 0x10
mov dword [ebp - 0xc0], eax
push 0x40
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x407369
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.00406ae1
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x4070e0
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
lea eax, [eax + eax*4]
push dword [ecx + eax*8 + 0x10]
lea eax, [ecx + eax*8]
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
add ecx, dword [ebp + 0x10]
add eax, esi
push ecx
push eax
call fcn.00406ae1
add esp, 0xc
inc dword [ebp + 0xc]
mov ax, word [ebp + 0xc]
cmp ax, word [edi + 6]
jb 0x4070ad
call fcn.00406b70
dec esp
shl dword [ebp + 0x3c7e8beb], 1
add edi, esi
mov dword [ebp - 0x88], edi
mov eax, dword [edi + 0x80]
cmp eax, ebx
je 0x40735f
mov edi, edx
invalid
add eax, esi
mov dword [ebp - 0x44], eax
cmp dword [eax + 4], ebx
jne 0x407115
cmp dword [eax + 0xc], ebx
je 0x4071b8
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.00406b70
dec ebp
je 0x4070e1
cmp al, 0x39
pop ebp
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
call fcn.00406b70
hlt
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4071e0
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x407224
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x40721f
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x407209
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x407211
cmp edx, ebx
jne 0x40735f
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb fcn.004071e0
add eax, dword [eax + 4]
jmp 0x4071cd
mov dword [ebp + 0xc], ebx
jmp 0x40722f

Function at 0x407258
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x407247
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x407265
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
add dword [eax], eax
add byte [ebp + 0xf8c784], cl
add byte [eax], al
add dword [eax], eax
add byte [ebp + 0xf8c784], cl
add byte [eax], al
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4072c3
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4072aa
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4072b3
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4072bd
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x40729f
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x407229
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x407310
dec eax
je 0x407307
sub eax, 3
je 0x4072fe
mov dword [ebp - 4], 0x40
jmp 0x40732d
das
mov dword [ebp - 4], 4
jmp 0x407313
mov dword [ebp - 4], 0x20
jmp 0x407313
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40735f
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4072df
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00406b70
cwde
jecxz 0x4072fd
out dx, eax
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
jmp 0x40736b
Function at 0x401360
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x420a48
push eax
mov dword fs:[0], esp
mov eax, dword [0x846f4c]
sub esp, 0x820
push ebx
push esi
push edi
cmp eax, 0x93
jne 0x4013ee
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea eax, [ebp - 0x2c]
call fcn.00401670
push 0x422b30
push 0
mov dword [ebp - 4], 0
call fcn.00401b66
call fcn.004017be
push 0
push 0
call fcn.00401a97
push 0
push 0
call fcn.0040194d
push 0
push 0
call fcn.00401a97
add esp, 0x20
push 0
call fcn.00401e28
mov ecx, dword [0x427980]
add eax, 0x1134b
push eax
push 0
mov dword [0x8479b0], ecx
mov dword [0x846f4c], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x846900], eax
call fcn.004012a0
xor esi, esi
cmp dword [0x846f4c], esi
jbe 0x40147d
mov edi, dword [sym.imp.KERNEL32.dll_SetComputerNameExW]
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
lea ecx, [ecx]
mov edx, dword [0x8479b0]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x846900]
mov byte [ecx + esi], al
cmp dword [0x846f4c], 0x490
jne 0x401474
push 0
push 0
call edi
push 0
push 0
lea edx, [ebp - 0x10]
push edx
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
inc esi
cmp esi, dword [0x846f4c]
jb 0x401430
mov edi, dword [sym.imp.KERNEL32.dll_FindNextChangeNotification]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor esi, esi
mov eax, dword [0x846f4c]
add eax, esi
cmp eax, 0x8d
jne 0x4014b4
push 0
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push str.wutusahafofesohelasecisojagop
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x38681
jl 0x40148b
call fcn.00401200
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea ebx, [ebx]
push 0
call edi
cmp esi, 0x62
jne 0x4014de
call fcn.00401280
inc esi
cmp esi, 0x674db
jl 0x4014d0
mov esi, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
mov ebx, dword [sym.imp.KERNEL32.dll_CompareStringA]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x846f4c], 0x86
jne 0x401537
push 0
lea ecx, [ebp - 0x82c]
push ecx
push 0
call esi
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomW]
sub dword [ebp - 0x10], 1
jne 0x401500
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x846900]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x65e1b0
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.0065e140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.0065e140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.0065e140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.0065e140
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 0x65ebfa
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 0x65ec50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x67087c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x65ec43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x65ec52
xor eax, eax
pop esi
leave
ret 4

Function at 0x41208a
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4b1064
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x41210a
arpl word [edx + esi], si
mov cl, 0xa5
cdq
invalid
invalid
Function at 0x401a82
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43014c]
jne 0x401a8c
repz ret
jmp fcn.00402759

Function at 0x40c041
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43014c]
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.00403d64
and dword [ebp - 0x14], 0
cmp dword [0x432d34], 0
mov dword [ebp - 0x18], eax
jne 0x40c0f4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40c19c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40c19c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x432d34], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x432d38], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x432d3c], eax
call edi
push eax
call esi
mov dword [0x432d44], eax
test eax, eax
je 0x40c0f4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x432d40], eax
mov eax, dword [0x432d40]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40c14d
cmp dword [0x432d44], ecx
je 0x40c14d
push eax
call esi
push dword [0x432d44]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40c14d
test ebx, ebx
je 0x40c14d
call edi
test eax, eax
je 0x40c144
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40c144
test byte [ebp - 8], 1
jne 0x40c14d
or dword [ebp + 0x10], 0x200000
jmp 0x40c180
mov eax, dword [0x432d38]
cmp eax, dword [ebp - 0x18]
je 0x40c180
push eax
call esi
test eax, eax
je 0x40c180
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40c180
mov eax, dword [0x432d3c]
cmp eax, dword [ebp - 0x18]
je 0x40c180
push eax
call esi
test eax, eax
je 0x40c180
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x432d34]
call esi
test eax, eax
je 0x40c19c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40c19e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a82
leave
ret
Function at 0x421bf0
Capabilities:
Get geographical location

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jle 0x421c83
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadStringPtrA]
cmp dword [esp + 0x18], 0x2d
jne 0x421c3c
push 0
push str.tabukojugacefofehevugijumapo_lezegiyoritatureguhikihubumuw_xaxeharufutogokurulumifadasovac_vubecifuwibugawiculedodov_cezotoburosuhipijavor
call edi
push str.fidodekodinifobuyox
push str.mayuretubayazihexe
push str.fetodidibamonasuyifiluhib
push str.vizuzecizeyasufuhizosusi
call ebx
push 0
call ebp
call fcn.00421b40
mov ecx, dword [esp + 0x14]
xor byte [esi + ecx], al
cmp dword [esp + 0x18], 0xf
jne 0x421c79
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthW]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x421c12
pop edi
pop ebp
pop ebx
cmp dword [esp + 0xc], 0x2d
pop esi
jne 0x421c9f
mov dword [0x433a28], 0xa62e7790
mov dword [0x433a2c], 0xffffffff
ret
Function at 0x422040
Capabilities:
Access the windows event log
Set file attributes

Disassembly:
mov eax, dword [0x433a1c]
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
mov ebp, 0x1519a5
lea esp, [esp]
mov dword [0x433684], 0x8e46a7b8
cmp eax, 0x3dc
jne 0x42208a
push 0
push str.gajaracuvegipozatoxesom
call esi
push str.kimezufiyutodojaxejuweg
push 0
push 0
call edi
mov eax, dword [0x433a1c]
dec ebp
jne 0x422060
mov edi, dword [sym.imp.ADVAPI32.dll_OpenEventLogA]
xor esi, esi
mov ebp, 0xec58acac
lea ebx, [ebx]
cmp eax, 0x997
jne 0x4220b2
push 0
push 0
call edi
mov eax, dword [0x433a1c]
cmp esi, 0x846373
jne 0x4220c9
mov eax, dword [0x431ae0]
add eax, 0xa231
mov dword [0x433a1c], eax
cmp eax, 0x141
jne 0x4220e0
mov dword [0x433258], ebp
mov dword [0x43325c], 0xffffffff
inc esi
cmp esi, 0x123a252
jl 0x4220a0
call fcn.00421ce0
pop edi
pop esi
xor eax, eax
pop ebp
ret 0x10
Function at 0x414de9
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx], edi
add ebx, 4
mov esi, edx
cmp ebx, eax
jne fcn.00414de9
mov esi, edx
mov ecx, ecx
ret

Function at 0x40b0c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
je 0x40b0ce
xor eax, eax
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b0cb
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
push ecx
pop eax
ret

Function at 0x40b0f0
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x40b12c
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x40b122
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x40b12e
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x40b112
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x41f380
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x441f9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
push ebx
push esi
mov esi, dword [ebp + 0x1c]
xor bl, bl
push edi
mov edi, dword [ebp + 8]
push eax
push ecx
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
mov dword [ebp - 0x818], edx
push 0x400
push eax
call fcn.0041f760
add esp, 0x14
test eax, eax
js 0x41f45a
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0
push eax
push 1
push 0
lea eax, [ebp - 0x804]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41f45a
mov dword [ebp - 0x80c], eax
mov dword [ebp - 0x810], eax
lea eax, [ebp - 0x814]
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x814], 4
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push dword [ebp - 0x818]
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41f44e
cmp dword [ebp - 0x80c], 4
jne 0x41f44e
cmp dword [ebp - 0x810], eax
mov bl, 1
setne al
mov dword [esi], eax
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004345b0
mov esp, ebp
pop ebp
ret
Function at 0x421190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x441f9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x208
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
push 0
push eax
mov dword [ebp - 0x210], 0
call sub.VCRUNTIME140.dll_memset
mov bx, word [ebp + 0x10]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x214], 0
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x218], 0
sete al
mov dword [ebp - 0x21c], 4
movzx esi, ax
lea eax, [ebp - 0x20c]
test bx, bx
je 0x421211
push str.SoftwareAdobeAcrobat_ReaderDCFeatureState
jmp 0x421216
push str.SoftwareAdobeAdobe_AcrobatDCFeatureState
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x20c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4212e3
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push dword [ebp - 0x220]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4212ae
cmp dword [ebp - 0x214], 4
jne 0x4212ae
push dword [ebp - 0x210]
xor ebx, ebx
cmp dword [ebp - 0x218], ebx
setne bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345b0
mov esp, ebp
pop ebp
ret
cmp word [ebp + 0x10], 0
mov ebx, esi
je 0x4212c3
test edi, edi
je 0x4212c3
mov eax, 1
mov word [edi], ax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov ax, bx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004345b0
mov esp, ebp
pop ebp
ret
mov eax, esi
test bx, bx
je 0x4212f8
test edi, edi
je 0x4212f8
mov eax, 1
mov word [edi], ax
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004345b0
mov esp, ebp
pop ebp
ret
Function at 0x422990
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x43e010]
push ebx
mov ebx, dword [0x43e00c]
push esi
mov esi, ecx
mov dword [ebp - 8], esi
push edi
mov edi, 1
cmp ebx, eax
jae 0x422a24
test edi, edi
js 0x422a21
mov esi, dword [ebx]
test esi, esi
je 0x422a1a
mov edi, dword [esi + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x422a1a
lea eax, [ebp - 4]
mov ecx, edi
push eax
push 0x4382dc
push dword [esi + 0xc]
call dword [0x437430]
call edi
mov edi, eax
test edi, edi
js 0x4229fe
mov eax, dword [esi + 0x10]
add eax, 4
push eax
push 5
push 4
push dword [ebp - 4]
push dword [esi]
call dword [sym.imp.ole32.dll_CoRegisterClassObject]
mov edi, eax
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x422a15
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x437430]
call esi
mov eax, dword [0x43e010]
add ebx, 4
cmp ebx, eax
jb 0x4229b2
mov esi, dword [ebp - 8]
test edi, edi
js 0x422ae1
jne 0x422add
cmp byte [esi + 0x3c], 0
je 0x422abf
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x422aa8
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x4227a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
test ebx, ebx
jne 0x422a7d
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], ebx
test ebx, ebx
je 0x422aa8
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x422a9f
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x34]
add ecx, ecx
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x422ac7
mov ecx, esi
mov edi, 0x80004005
call fcn.00423e70
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.ole32.dll_CoResumeClassObjects]
mov edi, eax
test edi, edi
jns 0x422ae1
mov ecx, esi
call fcn.00423e70
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esi + 0x3c], 0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4