joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411530
Capabilities:
Hash data with md5

Disassembly:
push 0xffffffffffffffff
push 0x50c510
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x5732cc]
xor eax, esp
mov dword [esp], eax
mov eax, dword [0x5732cc]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x48], 0x10
mov byte [ecx + 0x41], dl
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [eax], vtable.CryptoPP::Weak1::MD5.0
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp]
xor ecx, esp
call fcn.004db901
add esp, 0x10
ret

Function at 0x412920
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50d2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5732cc]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x5732cc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x5767c8
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.1.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.004db901
mov esp, ebp
pop ebp
ret 8

Function at 0x415c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
lea edx, [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push esi
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0xc]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x415c93
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x415c6f
cmp eax, 2
jne 0x415c81
mov eax, dword [ebp + 0x10]
test esi, esi
je 0x415c8f
test eax, eax
je 0x415c8c
cmp byte [eax + esi - 1], 0
je 0x415c8f
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
mov byte [esi], 0
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x416130
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
call fcn.00436240
push 1
push 0
test eax, eax
je 0x416148
mov eax, dword [esi + 0x28]
push 0
push eax
jmp 0x416151
mov ecx, dword [esi + 0x28]
push ecx
push 0x513c28
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, 0x20
cmp edx, eax
sbb eax, eax
neg eax
pop esi
ret
Function at 0x416170
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faf20
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edi, dword [ebp + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x416291
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x416291
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x416291
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x416291
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41628a
push ebx
push esi
push eax
call fcn.004dbbf0
add esp, 0xc
mov dword [ebp + 0xc], 0
lea edx, [ebp + 0xc]
push edx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x416283
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.00415eb0
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
test esi, esi
je 0x416283
mov eax, dword [esi + 8]
mov dword [esi + 8], 0
test eax, eax
jne 0x416279
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi]
push 1
mov ecx, esi
mov edx, dword [eax]
call edx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb29e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
lea ecx, [esi + 8]
mov dword [esi + 4], eax
mov dword [ebp - 0x14], ecx
mov dword [ecx + 0xc], eax
mov dword [ebp - 4], 1
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [ebp - 4], 2
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [esi + 0x20], ecx
mov dword [ebp - 4], 4
mov edx, dword [ebp + 8]
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x48], eax
mov al, byte [esi + 0x58]
and al, 0xf1
lea ecx, [esi + 0x38]
or al, 1
push ecx
mov dword [esi + 0x4c], 0xff0000
mov dword [esi + 0x50], 0x800080
mov dword [esi + 0x54], edx
mov byte [esi + 0x58], al
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4183d0
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
push edi
test eax, eax
je 0x4183f1
push 0
push 0
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
movzx eax, word [esi + 0x5c]
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
test al, 2
je 0x41844b
mov ecx, dword [esi + 0x28]
push 5
push 0
push ecx
push 0x513c28
push str.open
push 0
call edi
mov eax, dword [esi + 0x28]
push 1
push 0
push eax
push 0x513c28
push str.open
push 0
call edi
mov edi, eax
cmp edi, 0x20
jbe 0x418436
or byte [esi + 0x58], 2
mov ecx, esi
call fcn.00418210
mov ecx, 0x20
cmp ecx, edi
sbb eax, eax
pop edi
neg eax
pop esi
ret
test al, 4
jne 0x418415
call fcn.00436240
test eax, eax
setne al
test al, al
je 0x418415
mov edx, dword [esi + 0x28]
push 1
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x41842b
Function at 0x419b70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb756
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
xor ecx, ecx
lea edx, [eax + 8]
mov dword [eax + 4], ecx
mov dword [ebp - 0x14], edx
mov dword [edx + 0xc], ecx
mov dword [ebp - 4], 1
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [ebp - 4], 2
mov edx, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [eax + 0x20], edx
mov dword [ebp - 4], 4
mov edx, dword [ebp + 8]
mov dword [eax + 0x24], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x28], edx
mov dword [eax + 0x3c], ecx
and dword [eax + 0x44], 0xfffffff8
mov dword [eax + 0x40], ecx
or ecx, 0xffffffff
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [ebp - 4], 5
mov dword [eax], vtable.WTL::CBitmapButton.0
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x41ab40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb936
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor ebx, ebx
lea eax, [esi + 8]
mov dword [esi + 4], ebx
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], ebx
mov dword [ebp - 4], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [ebp - 4], 4
mov dword [esi], vtable.CAboutDialog.0
mov byte [esi + 0x20], bl
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x30], ebx
mov byte [ebp - 4], 6
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [ebp - 4], 7
lea edi, [esi + 0x3c]
push ebx
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00417c90
mov byte [ebp - 4], 8
xor eax, eax
mov dword [edi], vtable.WTL::CHyperLinkEx.0
mov word [edi + 0x5c], ax
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov byte [ebp - 4], 9
lea ecx, [esi + 0xa4]
call fcn.00419380
mov byte [ebp - 4], 0xa
mov dword [esi + 0xd4], ebx
lea edi, [esi + 0xe0]
mov dword [esi + 0xd8], ebx
push ebx
mov ecx, edi
mov dword [esi + 0xdc], ebx
mov dword [ebp - 0x14], edi
call fcn.00417c90
mov byte [ebp - 4], 0xb
xor ecx, ecx
mov dword [edi], vtable.WTL::CHyperLinkEx.0
mov word [edi + 0x5c], cx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov byte [ebp - 4], 0xc
push ebx
push 8
lea ecx, [esi + 0x148]
call fcn.00419b70
mov byte [ebp - 4], 0xd
lea edi, [esi + 0x194]
push ebx
mov ecx, edi
mov dword [esi + 0x190], ebx
mov dword [ebp - 0x14], edi
call fcn.00417c90
mov byte [ebp - 4], 0xe
xor edx, edx
mov dword [edi], vtable.WTL::CHyperLinkEx.0
mov word [edi + 0x5c], dx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov byte [ebp - 4], 0xf
lea edi, [esi + 0x1fc]
push ebx
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00417c90
mov byte [ebp - 4], 0x10
xor eax, eax
mov dword [edi], vtable.WTL::CHyperLinkEx.0
mov word [edi + 0x5c], ax
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov byte [ebp - 4], 0x11
lea edi, [esi + 0x264]
push ebx
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.00417c90
mov byte [ebp - 4], 0x12
xor ecx, ecx
mov dword [edi], vtable.WTL::CHyperLinkEx.0
mov word [edi + 0x5c], cx
mov dword [edi + 0x60], ebx
mov dword [edi + 0x64], ebx
mov byte [ebp - 4], 0x13
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d4b0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fbdc8
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0040d290
xor ecx, ecx
mov dword [ebp - 4], ecx
lea edx, [esi + 0x18]
mov dword [esi + 0x20], edx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea edx, [esi + 0x28]
mov dword [esi + 0x30], edx
mov dword [esi], vtable.std::strstreambuf.0
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
mov dword [eax], ecx
mov edx, dword [esi + 0x34]
mov dword [edx], ecx
mov eax, dword [esi + 0x10]
mov dword [eax], ecx
mov edx, dword [esi + 0x20]
mov dword [edx], ecx
mov eax, dword [esi + 0x30]
mov dword [eax], ecx
mov dword [esi + 0x3c], 0x20
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x4c], ecx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x48], 4
cmp dword [ebp + 0xc], ecx
jl 0x41d554
mov eax, dword [ebp + 8]
jg 0x41d551
cmp eax, 0x20
jbe 0x41d554
mov dword [esi + 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x421ea0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc560
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x5732cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
xor bl, bl
mov byte [ebp - 0x11], bl
mov esi, dword [ebp + 0xc]
mov dword [esi], 0
push 0x3c
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.004dba80
add esp, 0x10
mov dword [ebp - 0x58], 0x3c
mov dword [ebp - 0x4c], str.open
mov dword [ebp - 0x48], 0x513c28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x54], 0x440
test eax, eax
je 0x421f43
cmp byte [eax], bl
je 0x421f43
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x421f43
mov edx, dword [ebp - 0x20]
mov dword [esi], edx
mov bl, 1
mov byte [ebp - 0x11], bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x422020
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc580
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
push 0x100
call fcn.004da8e1
add esp, 8
mov byte [eax], 0
mov byte [ebp - 0x118], 0
push 0
push 0x1c
lea eax, [ebp - 0x118]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.GoogleChromeUser_DataDefaultExtensions
lea ecx, [ebp - 0x118]
push ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
call esi
push str.gkdhffmpkmmmabenjdbjhmhiigimgdem
lea edx, [ebp - 0x118]
push edx
call esi
push 1
push 0
lea eax, [ebp - 0x118]
push eax
call fcn.0046dc30
add esp, 0xc
test al, al
je 0x4220e3
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x4220c7

Function at 0x4226e0
Capabilities:
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc65b
mov eax, dword fs:[0]
push eax
sub esp, 0x36c
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov byte [ebp - 0x365], 0
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x36c]
call fcn.0041ea10
mov bl, 1
mov byte [ebp - 4], bl
push str..
lea ecx, [ebp - 0x36c]
call fcn.0041d470
lea ecx, [ebp - 0x364]
push ecx
mov edx, dword [ebp - 0x36c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x370], eax
cmp eax, 0xffffffff
je 0x42284c
mov byte [ebp - 0x365], bl
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExA]
test byte [ebp - 0x364], 0x10
jne 0x422823
push 0x105
push 0
lea eax, [ebp - 0x224]
push eax
call fcn.004dba80
push 0x105
push 0
lea ecx, [ebp - 0x11c]
push ecx
call fcn.004dba80
mov eax, dword [esi + 8]
push 0x104
push eax
lea edx, [ebp - 0x224]
push edx
call fcn.004dcb07
mov eax, dword [esi + 4]
push 0x104
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004dcb07
add esp, 0x30
lea ecx, [ebp - 0x338]
push ecx
lea edx, [ebp - 0x224]
push edx
call edi
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x11c]
push ecx
call edi
push 5
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x224]
push eax
call ebx
test eax, eax
jne 0x422823
mov byte [ebp - 0x365], al
lea ecx, [ebp - 0x364]
push ecx
mov edx, dword [ebp - 0x370]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x422787
mov eax, dword [ebp - 0x370]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x36c]
call fcn.00416630
mov al, byte [ebp - 0x365]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x423cb0
Capabilities:
Compare security identifiers
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fc990
mov eax, dword fs:[0]
push eax
sub esp, 0x93c
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
push 0x468ad0
call fcn.004dbbc8
add esp, 4
mov dword [ebp - 0x940], 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x814]
mov edx, eax
call fcn.00423b40
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x423e05
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x423e05
push 0x128
push 0
lea eax, [ebp - 0x93c]
push eax
call fcn.004dba80
add esp, 0xc
mov dword [ebp - 0x93c], 0x128
lea ecx, [ebp - 0x93c]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x423dfe
mov eax, 0x513c28
push eax
lea edx, [ebp - 0x918]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x423dcc
mov eax, dword [ebp - 0x934]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x423dcc
push 0x400
lea ecx, [ebp - 0x414]
mov edx, esi
call fcn.00423b40
add esp, 4
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x423dc5
inc dword [ebp - 0x940]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x128
push 0
lea ecx, [ebp - 0x93c]
push ecx
call fcn.004dba80
add esp, 0xc
mov dword [ebp - 0x93c], 0x128
lea edx, [ebp - 0x93c]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
jmp 0x423d65
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x940]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x426010
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcd27
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
push 0x468ad0
call fcn.004dbbc8
push str._nChecking_connectivity_n
mov eax, dword [esi + 4]
push eax
call fcn.0041e560
add esp, 0xc
mov byte [ebp - 0x89], 1
mov dword [ebp - 0x9c], edi
push edi
lea ecx, [ebp - 0x9c]
push ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x426194
push str.Internet_connection_OK_n
mov edx, dword [esi + 4]
push edx
call fcn.0041e560
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.004a1fb0
mov byte [ebp - 4], 1
push 0x43ef60
call fcn.0049f500
mov eax, dword [0x570024]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 2
mov ecx, dword [0x570024]
mov dword [ebp - 0x90], ecx
mov byte [ebp - 4], 3
push edi
lea edx, [ebp - 0x98]
push edx
call fcn.0046bd70
add esp, 0xc
mov bl, 4
mov byte [ebp - 4], bl
push 0x43eb60
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x94]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xa8], esp
lea edx, [ebp - 0x98]
push edx
call fcn.0041ea10
mov byte [ebp - 4], 5
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x88]
call fcn.004a2360
test al, al
je 0x426135
push str.Webservice_test_OK_n
mov eax, dword [esi + 4]
push eax
call fcn.0041e560
add esp, 8
jmp 0x426156
push edi
lea ecx, [ebp - 0x89]
push ecx
mov ecx, dword [esi + 4]
call fcn.00424ec0
push str.webservice_test_failed_n
mov edx, dword [esi + 4]
push edx
call fcn.0041e560
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
call fcn.00416630
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x90]
call fcn.00416630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x94]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.004a22f0
jmp 0x4261b5
push edi
lea eax, [ebp - 0x89]
push eax
mov ecx, dword [esi + 4]
call fcn.00424ec0
push str.not_connected_to_Internet_n
mov ecx, dword [esi + 4]
push ecx
call fcn.0041e560
add esp, 0x10
push 0x5706d0
mov edx, dword [esi + 4]
push edx
call fcn.0041e560
push eax
call fcn.00424e60
add esp, 0xc
mov al, byte [ebp - 0x89]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret
Function at 0x4262b0
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcd50
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x5732cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
push 0x468ad0
call fcn.004dbbc8
push 0x515258
mov eax, dword [esi + 4]
push eax
call fcn.0041e560
add esp, 0xc
mov byte [ebp - 0x215], 1
mov dword [ebp - 0x220], edi
lea ecx, [ebp - 0x220]
push ecx
push 0x53bda4
push 1
push edi
push 0x515248
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x426357
cmp dword [ebp - 0x220], edi
je 0x426357
push str.MSXML_OK_n
mov edx, dword [esi + 4]
push edx
call fcn.0041e560
add esp, 8
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
jmp 0x426378
push edi
lea eax, [ebp - 0x215]
push eax
mov ecx, dword [esi + 4]
call fcn.00424ec0
push str.MSXML_Error_n
mov ecx, dword [esi + 4]
push ecx
call fcn.0041e560
add esp, 0x10
mov dword [ebp - 0x21c], edi
push edi
push 1
push edi
push edi
lea edx, [ebp - 0x21c]
push edx
mov ebx, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4263e4
call edi
cmp eax, 0x80090016
jne 0x4263ba
push 8
push 1
push 0
push 0
lea eax, [ebp - 0x21c]
push eax
call ebx
test eax, eax
jne 0x4263e4
push 0
lea ecx, [ebp - 0x215]
push ecx
mov ecx, dword [esi + 4]
call fcn.00424ec0
add esp, 8
push 0x54271c
call edi
push eax
push str.MS_CryptoAPI._CryptAcquireContext___failed_
mov edx, dword [esi + 4]
push edx
jmp 0x426480
lea eax, [ebp - 0x214]
push eax
push 0x200
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x42640c
push str.MS_CryptoAPI_OK_n
mov edx, dword [esi + 4]
push edx
jmp 0x426441
push 0
lea eax, [ebp - 0x215]
push eax
mov ecx, dword [esi + 4]
call fcn.00424ec0
add esp, 8
push 0x54271c
call edi
push eax
push str.MS_CryptoAPI._CryptGenRandom___failed_
mov ecx, dword [esi + 4]
push ecx
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
push 0
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x426498
push eax
lea eax, [ebp - 0x215]
push eax
mov ecx, dword [esi + 4]
call fcn.00424ec0
add esp, 8
push 0x54271c
call edi
push eax
push str.MS_CryptoAPI._CryptReleaseContext___failed_
mov ecx, dword [esi + 4]
push ecx
call fcn.0041e560
add esp, 8
mov ecx, eax
call fcn.0041ea70
push eax
call fcn.0041e560
add esp, 8
push 0x5706d0
mov edx, dword [esi + 4]
push edx
call fcn.0041e560
push eax
call fcn.00424e60
add esp, 0xc
mov al, byte [ebp - 0x215]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004db901
mov esp, ebp
pop ebp
ret