joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d420
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44aa08
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
mov eax, dword [0x45d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x44d920
mov dword [ebp - 0x10], 0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x41d4f6
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402c30
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0xe
push str.EbonEbon.exe
lea ebx, [ebp - 0x14]
call fcn.00402e80
push 0x38
lea eax, [ebp - 0x4c]
push 0
push eax
mov dword [ebp - 0x50], 0x3c
call fcn.00431420
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x4c], 0x2000100
mov dword [ebp - 0x44], str.open
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d4f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d910
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b5b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x45d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
push 0
push 0
je 0x41d950
push 0x41d8f0
jmp 0x41d955
push 0x41d900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
push 0x2710
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x41d9a6
push str.InstallThread_timeout
push 3
push 3
push 0x139
push str.InstallAsync
push str.Installer.cpp
lea ecx, [ebp - 0x18]
call fcn.0042d360
push eax
call fcn.0042d580
add esp, 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
test esi, esi
je 0x41d9b1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41e160
Capabilities:
Hide graphical window
Log keystrokes

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
cmp esi, edi
je 0x41e1a6
push 1
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0xa
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edi
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop edi
pop esi
ret
push ebx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push 0xa
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret
Function at 0x41e430
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x45d274]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x22c
mov edi, eax
lea eax, [ebp - 0x230]
push 0
push eax
call fcn.00431420
add esp, 0xc
mov dword [ebp - 0x230], 0x22c
test edi, edi
je 0x41e54d
lea ecx, [ebp - 0x230]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41e54d
mov ecx, str.Ebon.exe
lea eax, [ebp - 0x20c]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e4c6
test dx, dx
je 0x41e4c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e4c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e4a0
xor eax, eax
jmp 0x41e4cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x41e4e4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042eecf
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea edx, [ebp - 0x230]
push edx
push edi
call esi
test eax, eax
je 0x41e54d
jmp 0x41e500
mov ecx, str.Ebon.exe
lea eax, [ebp - 0x20c]
jmp 0x41e510
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41e536
test dx, dx
je 0x41e532
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41e536
add eax, 4
add ecx, 4
test dx, dx
jne 0x41e510
xor eax, eax
jmp 0x41e53b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x41e4cf
lea eax, [ebp - 0x230]
push eax
push edi
call esi
test eax, eax
jne 0x41e500
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0042eecf
mov esp, ebp
pop ebp
ret
Function at 0x41f050
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
mov dword [esi + 0x78], eax
mov dword [esi + 0xac], 0
jne 0x41f075
push esi
call fcn.0041f140
mov esp, ebp
pop ebp
ret 4
cmp dword [0x4605a0], 0
je 0x41f099
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x41f099
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa8], 0
push 0
push 0
push esi
push 0x41f100
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa8], eax
test eax, eax
jne 0x41f0ef
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error_creating_working_thread__error:__u.
push 3
push 3
push 0x170
push str.CInstallingStrategy::Continue
push str.InstallingStrategy.cpp
lea ecx, [ebp - 0xc]
call fcn.0042d360
push eax
call fcn.0042d580
add esp, 0x14
xor eax, eax
mov esp, ebp
pop ebp
ret 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x41f110
Capabilities:
Create thread

Disassembly:
push edi
lea edi, [eax + 0x7c]
call fcn.00421f50
cmp dword [edi + 4], 0
jne 0x41f136
push 0
push 0
push edi
push 0x421d30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
pop edi
ret
Function at 0x41fa50
Capabilities:
Get common file path
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b180
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x45d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00422cb0
mov ecx, dword [ebp + 0xc]
call fcn.004236f0
lea eax, [ebp - 0x10]
push eax
xor esi, esi
push esi
push esi
push 0x44d920
mov dword [ebp - 0x10], esi
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
cmp eax, esi
jl 0x41fafb
mov ecx, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402c30
mov dword [ebp - 4], esi
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0xe
push str.EbonEbon.exe
lea ebx, [ebp - 0x14]
call fcn.00402e80
mov eax, dword [ebp - 0x14]
push eax
mov edi, 0x46066c
call fcn.00426cc0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fafb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [0x460664], 0
jne 0x41fb56
cmp dword [0x460590], 0
jne 0x41fb56
lea edi, [ebp - 0x18]
call fcn.0040e890
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x18]
cmp dword [edi - 0xc], 0
je 0x41fb33
mov esi, 0x460664
call fcn.00426c30
mov edi, dword [ebp - 0x18]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fb56
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x460584], 0
jne 0x41fb86
cmp word [0x46066c], 0
je 0x41fb73
mov dword [0x460570], 1
cmp dword [0x46058c], 0
je 0x41fb86
mov dword [0x460570], 0
push 0x11
push str.STRING_NOT_FOUND_
mov ecx, 0x460688
call fcn.00403370
mov eax, dword [0x4605a4]
lea eax, [eax + eax*8]
lea eax, [eax*4 + 0x45ed28]
mov ax, word [eax]
mov ecx, 0x70
mov ebx, 0x460688
call fcn.0040d7d0
test eax, eax
jne 0x41fbcb
mov eax, dword [0x45ed28]
mov ecx, 0x70
call fcn.0040d7d0
push 0x37
push str.Mozilla_5.0__Windows_NT_6.3__WOW64__EBInstaller_1.3.4.0
mov ecx, 0x460684
call fcn.00403370
cmp dword [0x460574], 0
mov ecx, dword [ebp + 8]
mov dword [0x460598], ecx
jne 0x41fc28
cmp word [0x460664], 0
je 0x41fc28
mov edx, dword [0x460658]
mov eax, dword [edx]
cmp eax, edx
je 0x41fc28
mov esi, dword [0x45ed14]
mov ecx, dword [0x45ed0c]
cmp esi, 1
jbe 0x41fc22
test ecx, ecx
je 0x41fc5b
mov edi, dword [ecx + 8]
mov dword [0x46059c], edi
mov eax, dword [eax]
cmp eax, edx
jne 0x41fc10
cmp dword [0x460584], 0
je 0x41fc44
cmp byte [0x460630], 0
je 0x41fc44
call fcn.00423d40
call fcn.00423e70
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403700
int3
Function at 0x420d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
test eax, eax
je 0x420db0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [esi], 0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x420dc6
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 4], 0
mov ecx, dword [ebp + 8]
push edi
push 0x4522e8
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x420de7
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x420ea0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x420ea0
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [esi], eax
test eax, eax
je 0x420e96
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x420e96
push ebx
push edi
push eax
call fcn.00432730
mov eax, dword [esi]
add esp, 0xc
lea edx, [ebp + 8]
push edx
xor edi, edi
push edi
push eax
mov dword [ebp + 8], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x420e96
mov ecx, dword [ebp + 8]
push ecx
call fcn.00420d50
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esi + 4]
cmp eax, edi
je 0x420e96
mov ecx, dword [eax + 8]
mov dword [eax + 8], edi
cmp ecx, edi
jne 0x420e93
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
mov dword [esi + 4], edi
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x421320
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x45d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str._INI_
lea ecx, [ebp - 0x10]
call fcn.00402c30
lea esi, [edi + 0x60]
lea eax, [ebp - 0x14]
push esi
push eax
mov ebx, str..ini_
mov dword [ebp - 4], 0
call fcn.00407650
add esp, 8
mov byte [ebp - 4], 1
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [ebp - 0x10]
call fcn.00402e80
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4213a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
call fcn.00421290
test eax, eax
jne 0x4213c3
push 3
push 0x453fd4
lea ecx, [ebp - 0x10]
call fcn.00403370
push 0x38
lea ecx, [ebp - 0x4c]
push 0
push ecx
mov dword [ebp - 0x50], 0x3c
call fcn.00431420
mov edx, dword [esi]
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x3c], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [ebp - 0x18]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x14]
push esi
push eax
mov ebx, 0x454570
call fcn.00407650
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42143c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42146c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
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 0x422cb0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push esi
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor ecx, ecx
cmp word [esp + 0xc], 9
push 0
sete cl
mov dword [0x460580], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
push 0x58
push esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov dword [esp + 8], eax
fild dword [esp + 8]
push esi
push 0
fdiv qword [0x455e90]
fstp dword [0x45ed00]
call dword [sym.imp.USER32.dll_ReleaseDC]
fld dword [0x45ed00]
mov eax, 0x11b
mov dword [0x460690], eax
mov eax, 0x91
mov dword [0x460698], eax
mov eax, 0x5a
mov dword [0x4606a0], eax
mov eax, 0x67
mov dword [0x4606a8], eax
mov eax, 0x83
mov dword [0x4606b0], eax
mov eax, 0x67
mov ecx, 0x35
mov dword [0x460694], ecx
mov ecx, 0x1a
mov dword [0x4606b8], eax
mov dword [0x4606c0], eax
mov eax, 0x6d
mov dword [0x46069c], ecx
mov dword [0x4606a4], ecx
mov dword [0x4606ac], ecx
mov dword [0x4606b4], ecx
mov dword [0x4606bc], ecx
mov dword [0x4606c4], ecx
mov dword [0x4606c8], eax
mov dword [0x4606cc], ecx
mov esi, 0x460694
fild dword [esi - 4]
fmul st(1)
call fcn.00447f10
fild dword [esi]
mov dword [esi - 4], eax
fmul st(1)
call fcn.00447f10
mov dword [esi], eax
add esi, 8
cmp esi, 0x4606d4
jl 0x422dbc
fstp st(0)
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x423640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.SoftwareEbonmediaInstaller
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4236ad
mov eax, dword [ebp - 4]
push esi
push edi
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 0x10]
push ecx
push 0
push str.ShowUpdateDlg
mov edi, 4
push eax
mov esi, eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4236a5
cmp dword [ebp - 0x10], edi
je 0x4236b6
mov edi, dword [0x460574]
jmp 0x4236ce
mov eax, dword [0x460574]
mov esp, ebp
pop ebp
ret
cmp dword [0x460574], 0
je 0x4236cc
cmp dword [ebp - 8], 0
jne 0x4236cc
mov edi, 1
jmp 0x4236ce
xor edi, edi
test esi, esi
je 0x4236d9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423c40
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ac98
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x45d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
and esi, 0x3ff
cmp dword [0x46056c], 0
jne 0x423ce8
cmp dword [0x460574], 0
je 0x423ce8
mov eax, dword [0x45d020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d020
call edx
add eax, 0x10
mov dword [ebp - 0x10], eax
movzx eax, si
push eax
lea ecx, [ebp - 0x10]
push str.EbonBrowserDetectSystemLanguage__d
push ecx
mov dword [ebp - 4], 0
call fcn.004032e0
mov edi, dword [ebp - 0x10]
push edi
call fcn.00408430
lea eax, [edi - 0x10]
add esp, 0x10
mov esi, 0xa
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423ce8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ecx, ecx
xor eax, eax
lea esp, [esp]
mov dx, word [eax + 0x45ed28]
mov edi, 0x3ff
and dx, di
cmp si, dx
je 0x423d28
add eax, 0x24
inc ecx
cmp eax, 0x48
jb 0x423cf0
mov dword [0x4605a4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [0x4605a4], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x424570
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44a7e5
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x45d274]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
mov eax, dword [0x45d274]
xor eax, esp
push eax
lea eax, [esp + 0x138]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push 2
push 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [esp + 0x14]
mov dword [esp + 0x140], 0
push eax
mov dword [esp + 0x18], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x18], 6
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0xc]
jb 0x424628
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x20]
push ebx
push esi
mov edx, edi
call fcn.00424c30
jmp 0x424637
push edx
mov edx, dword [esp + 0xc]
push eax
push edi
push esi
mov ecx, ebx
call fcn.00424720
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [esp + 0x138]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0042eecf
mov esp, ebp
pop ebp
ret
Function at 0x424670
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x448fe5
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x45d274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 2
push 0
mov esi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x124]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x124], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
push esi
jb 0x4246ef
call fcn.00425da0
jmp 0x4246f4
call fcn.00425c30
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eecf
mov esp, ebp
pop ebp
ret
Function at 0x426cc0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4496c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x45d274]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
lea eax, [esp + 0x18]
push eax
xor esi, esi
push ecx
mov dword [esp + 0x20], esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
xor eax, eax
cmp ebx, esi
je 0x426de5
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], eax
cmp ebx, eax
jbe 0x426d45
mov eax, ebx
lea esi, [esp + 0x1c]
call fcn.0041cdb0
test al, al
je 0x426d3f
call fcn.0041ce50
mov esi, dword [esp + 0x1c]
xor eax, eax
mov edx, dword [ebp + 8]
push esi
push ebx
push eax
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x426d5a
test esi, esi
jmp 0x426dd8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x451a28
xor ebx, ebx
push esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x426dd6
cmp dword [esp + 0x10], 0x34
jne 0x426dd6
mov eax, dword [esp + 0x14]
cmp dword [eax], 0xfeef04bd
jne 0x426dd6
movzx edx, word [eax + 0x12]
mov word [edi], dx
mov cx, word [eax + 0x10]
mov word [edi + 2], cx
movzx edx, word [eax + 0x16]
mov word [edi + 4], dx
mov ax, word [eax + 0x14]
mov word [edi + 6], ax
cmp esi, ebx
je 0x426dbd
push esi
call fcn.0042f7bf
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, ebx
je 0x426de3
push esi
call fcn.0042f7bf
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x426f40
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a70c
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x45d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esi], vtable.CInstActionBase.0
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x1c], edi
mov byte [ebp - 4], 1
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], esi
mov edx, dword [0x45d020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d020
call eax
add eax, 0x10
mov dword [esi + 0x34], eax
mov edx, dword [0x45d020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d020
call eax
add eax, 0x10
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov byte [ebp - 4], 2
mov edx, dword [0x45d020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d020
call eax
add eax, 0x10
mov dword [esi + 0x44], eax
push 0x451464
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 3
call fcn.00402c30
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov dword [esi + 0x58], ecx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov eax, dword [0x45d020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d020
call edx
push edi
push edi
push 1
add eax, 0x10
push edi
mov dword [esi + 0x60], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x18], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10