joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e7c9
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push esi
mov word [ebx], ax
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, dword [ebp + 8]
mov word [ecx], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, dword [ebp + 0xc]
lea esi, [ebp + 0xc]
mov word [ecx], ax
call fcn.00410263
push str.Windows_2000
push eax
call fcn.0040904e
test eax, eax
mov eax, dword [ebp + 0xc]
setge byte [ebp + 0xb]
add eax, 0xfffffff0
call fcn.0040464c
cmp byte [ebp + 0xb], 0
je 0x40e84f
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetSystemDefaultUILanguage
push eax
mov dword [ebp + 8], eax
call esi
test eax, eax
je 0x40e83c
call eax
mov word [edi], ax
push str.GetUserDefaultUILanguage
push dword [ebp + 8]
call esi
test eax, eax
je 0x40e84f
call eax
mov word [ebx], ax
pop esi
pop ebp
ret

Function at 0x40edc4
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push edi
push dword [ebp + 8]
lea edi, [esi + 4]
mov eax, edi
call fcn.0040ed4e
xor eax, eax
cmp byte [esi + 0xc], al
je 0x40ede9
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x40ee0d
cmp dword [edi], eax
je 0x40ee0d
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push 0x40ee31
push eax
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
add esi, 0x10
mov edi, eax
call fcn.00408e41
pop edi
pop esi
pop ebp
ret 4

Function at 0x40ef62
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x40efe9
push esi
call fcn.0043140a
mov edi, eax
pop ecx
test edi, edi
jne 0x40efa1
push 8
pop esi
push edi
call fcn.00431415
pop ecx
pop edi
mov eax, esi
pop esi
leave
ret
push edi
push esi
push dword [ebp - 0xc]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40efe9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x44a8d0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40eff2
cmp dword [ebp - 0x10], 0
je 0x40eff2
mov eax, dword [ebp - 8]
test ebx, ebx
je 0x40efdb
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40eff2
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x40eff2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
jmp 0x40ef94
Function at 0x40eff7
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebx]
push esi
push edi
sub eax, 0x10
call fcn.00409c66
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
lea esi, [ebp - 4]
call fcn.00402073
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x40f11d
push esi
call fcn.0043140a
mov edi, eax
pop ecx
test edi, edi
jne 0x40f049
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040464c
push edi
jmp 0x40f12a
push edi
push esi
push dword [ebp - 0xc]
lea esi, [ebp - 4]
call fcn.00402073
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x40f038
mov eax, dword [0x459100]
mov ecx, 0x459100
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40f0a3
cmp dword [ebp - 0x10], 0
je 0x40f0a3
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push 0x44ad34
push ecx
push eax
jmp 0x40f0b2
push 0x44ad34
push 0x4e2
push 0x409
lea eax, [ebp - 8]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.0040971d
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebp - 8]
call fcn.00402073
push eax
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40f10d
cmp dword [ebp - 0x18], 0
je 0x40f10d
push dword [ebp - 0x1c]
push ebx
call fcn.00404535
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040464c
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040464c
push edi
call fcn.00431415
mov al, 1
jmp 0x40f131
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040464c
jmp 0x40f038
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040464c
push 0
call fcn.00431415
xor al, al
pop ecx
pop edi
pop esi
leave
ret
Function at 0x40f2ed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor esi, esi
push esi
mov dword [ebp - 4], 0xc8
call fcn.00431415
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], esi
call fcn.0040dc9e
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push dword [ebp + 8]
call esi
mov edi, 0xea
jmp 0x40f36e
add dword [ebp - 4], 2
push ebx
call fcn.00431415
and dword [ebp - 8], 0
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040dc9e
mov ebx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 0xc]
push ecx
push 0
push eax
push dword [ebp + 8]
call esi
cmp eax, edi
je 0x40f33a
test eax, eax
je 0x40f389
mov byte [ebp + 0xf], 0
push ebx
call fcn.00431415
mov al, byte [ebp + 0xf]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0xc]
cmp eax, 1
je 0x40f3b8
cmp eax, 2
je 0x40f3b8
cmp eax, 7
je 0x40f3b8
cmp eax, 4
jne 0x40f376
push dword [ebx]
push 0x44adb8
push dword [ebp + 0x10]
call fcn.0040971d
add esp, 0xc
mov byte [ebp + 0xf], 1
jmp 0x40f37a
shr dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
xor eax, eax
mov word [ebx + ecx*2], ax
mov edi, dword [ebp - 4]
jmp 0x40f3cd
dec edi
mov dword [ebp - 4], edi
cmp word [ebx + edi*2], ax
je 0x40f3c9
inc edi
push ebx
mov ecx, 0x459100
lea esi, [ebp + 0xc]
mov dword [ebp - 4], edi
call fcn.004091d9
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.004088e1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040464c
jmp 0x40f3b2
Function at 0x40f3fc
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [eax]
push ebx
push esi
push edi
sub eax, 0x10
call fcn.00409c66
mov edi, eax
add edi, 0x10
xor ebx, ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
jmp 0x40f49e
mov ecx, dword [edi - 0xc]
lea eax, [esp + 0x14]
lea edx, [esi + 1]
push eax
sub ecx, edx
lea eax, [esp + 0x10]
call fcn.00408ceb
mov eax, dword [edi - 0xc]
sub eax, esi
push esi
lea ecx, [esp + 0x10]
call fcn.00408922
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push edi
push 0x80000001
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [esp + 0x18], ebx
je 0x40f4b5
mov esi, dword [esp + 0x14]
push esi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40f4be
inc dword [esp + 0x10]
cmp dword [esp + 0x18], ebx
je 0x40f496
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
lea eax, [esi - 0x10]
call fcn.0040464c
push 0x5c
lea esi, [esp + 0x10]
call fcn.00408c55
mov esi, eax
cmp esi, ebx
jge 0x40f423
jmp 0x40f4da
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x40f4d5
cmp dword [esp + 0x18], ebx
je 0x40f4d2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
lea eax, [esi - 0x10]
call fcn.0040464c
lea eax, [edi - 0x10]
call fcn.0040464c
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f6f0
Capabilities:
Get file size

Disassembly:
mov eax, dword [eax]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40f71f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40f737
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test esi, esi
je 0x40f735
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x40f8a6
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x60]
push ebx
push eax
mov dword [ebp - 0x64], 0x44
call fcn.00431420
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov dword [ebp - 0xc], ebx
mov byte [ebp - 8], bl
cmp byte [ebp + 0x18], bl
je 0x40f8e5
lea esi, [ebp - 0xc]
call fcn.00424545
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx - 0xc]
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [edx - 0xc]
neg ecx
sbb ecx, ecx
and ecx, edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x64]
push edx
push ebx
push ebx
push dword [ebp + 0x14]
push ebx
push ebx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40f92c
lea esi, [ebp - 0xc]
call fcn.00424529
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
cmp dword [ebp + 0x10], ebx
je 0x40f948
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x40f91d

Function at 0x40f955
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push edi
push 0x38
mov edi, eax
xor ebx, ebx
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.00431420
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x400
cmp dword [ebp + 0xc], ebx
je 0x40f98a
mov dword [ebp - 0x38], 0x440
push esi
mov esi, dword [edi]
push edi
call fcn.0040a49e
pop ecx
test al, al
je 0x40f99b
add esi, 8
xor eax, eax
cmp byte [ebp + 0x10], bl
mov dword [ebp - 0x2c], esi
sete al
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
je 0x40f9bd
mov dword [ebp - 0x28], eax
mov eax, edi
lea edi, [ebp + 0x10]
call fcn.00409ef5
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
mov esi, edi
call fcn.0040a49e
pop ecx
test al, al
je 0x40f9dd
lea esi, [edi + 8]
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x24], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
test eax, eax
jne 0x40f9fd
lea eax, [edi - 0x10]
call fcn.0040464c
pop edi
mov al, bl
pop ebx
leave
ret
cmp dword [ebp + 0xc], ebx
je 0x40fa1e
cmp dword [ebp - 4], ebx
je 0x40fa1e
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov bl, 1
jmp 0x40f9ef
Function at 0x40fcb4
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x457090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
xor ebx, ebx
push 8
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x40fcf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40fdb3
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 1
push dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x18], ebx
call esi
cmp eax, ebx
jne 0x40fd3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40fda6
push dword [ebp - 0x18]
call fcn.0043140a
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x18]
push edi
push 1
push dword [ebp - 0x14]
call esi
cmp eax, ebx
je 0x40fda6
cmp dword [ebp - 0x18], ebx
je 0x40fda6
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [ebp - 0xc]
push eax
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x40fdac
push dword [ebp - 0x1c]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
push dword [ebp - 0x1c]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edi
call fcn.00431415
cmp dword [ebp - 0x14], 0
pop ecx
je 0x40fda2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x40fdc3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.00431415
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x40fdc1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004313fb
leave
ret

Function at 0x40fdd2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x457090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x40fdf9
push eax
jmp 0x40fe33
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40fe2a
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp + 8]
je 0x40fe48
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40fe12
test esi, esi
je 0x40fe39
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004313fb
leave
ret
push edi
mov edi, dword [ebp - 0x228]
test esi, esi
je 0x40fe5a
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
jmp 0x40fe3b
Function at 0x410150
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x457090]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 3
push 0x80000000
push eax
mov dword [ebp - 0x414], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0x410]
push ecx
mov edi, 0x3ff
push edi
lea ecx, [ebp - 0x40c]
push ecx
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x410], ebx
push eax
jmp 0x4101e9
mov eax, dword [ebp - 0x410]
mov byte [ebp + eax - 0x40c], bl
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x414]
call fcn.0040aab5
push ebx
lea eax, [ebp - 0x410]
push eax
push edi
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x41c]
call esi
cmp dword [ebp - 0x410], ebx
jne 0x4101b4
mov edi, dword [ebp - 0x414]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, 2
jl 0x410226
lea ecx, [eax - 2]
lea edx, [ebp - 0x414]
mov eax, edi
call fcn.00408d62
call fcn.004088e1
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call fcn.0040464c
cmp dword [ebp - 0x41c], ebx
je 0x41023a
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004313fb
leave
ret
Function at 0x410dbe
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov esi, eax
push 0x44bccc
lea eax, [ebp - 4]
call fcn.00404558
lea ebx, [esi + 0x20]
mov edi, ebx
lea ecx, [ebp - 4]
call fcn.0040a224
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040464c
lea eax, [esi + 8]
push eax
lea eax, [ebp - 4]
call fcn.00425c2a
mov edi, dword [ebp - 4]
cmp dword [edi - 0xc], 0
pop ecx
je 0x410e2b
mov ebx, dword [ebx]
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ebx, eax
dec ebx
neg ebx
sbb bl, bl
inc bl
lea eax, [edi - 0x10]
call fcn.0040464c
mov al, bl
jmp 0x410ed6
push 0x458e90
mov eax, esi
lea edi, [ebp - 0x88]
call fcn.0041a993
push 1
push ebx
lea eax, [esi + 8]
push eax
mov ecx, edi
call fcn.0041aad8
mov edi, eax
mov eax, dword [esi + 4]
cmp byte [eax + 0x39], 0
je 0x410e68
lea esi, [ebp - 0x88]
call fcn.0041aa31
mov edi, dword [ebp - 4]
xor bl, bl
jmp 0x410e1c
test edi, edi
je 0x410ebb
cmp byte [0x459e5c], 0
je 0x410ebb
push edi
lea eax, [ebp - 0xc]
call fcn.004225bf
pop ecx
push dword [eax]
lea eax, [ebp - 8]
push str.Downloading_of_updates_failed._Error:
call fcn.00416c77
push eax
call fcn.00416c88
push eax
call fcn.00416c88
push eax
mov eax, 0x459e2c
call fcn.00416005
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040464c
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040464c
lea esi, [ebp - 0x88]
call fcn.0041aa31
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040464c
test edi, edi
sete al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4133da
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x30]
xor ebx, ebx
push edi
cmp dword [eax - 0xc], ebx
jne 0x4133fa
mov al, 1
jmp 0x4135e9
call fcn.004010a8
test al, al
je 0x4134e8
push 0x3c
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.00431420
add esp, 0xc
push str.kernel32.dll
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
push str.GlobalMemoryStatusEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x5c]
push ecx
call eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
call fcn.0042256b
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
fild qword [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x453b58]
fldz
fcom st(1)
fnstsw ax
fld st(1)
test ah, 5
jp 0x4134a5
call fcn.00446b70
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x4134ca
fadd qword [0x453b50]
jmp 0x4134c3
call fcn.00446b70
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x4134ca
fsub qword [0x453b50]
call fcn.00446b70
jmp 0x4134cf
mov eax, dword [ebp - 8]
fstp st(0)
cdq
mov ebx, eax
mov esi, edx
test edi, edi
je 0x413583
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x413583
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x30]
call fcn.0042256b
fild dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
test eax, eax
jge 0x413521
fadd qword [0x453b48]
fmul qword [0x453b58]
fldz
fcom st(1)
fnstsw ax
fld st(1)
test ah, 5
jp 0x413554
call fcn.00446b70
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x413579
fadd qword [0x453b50]
jmp 0x413572
call fcn.00446b70
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x413579
fsub qword [0x453b50]
call fcn.00446b70
jmp 0x41357e
mov eax, dword [ebp - 8]
fstp st(0)
cdq
mov ebx, eax
mov esi, edx
cmp byte [0x459e5c], 0
je 0x4135bd
push esi
push ebx
push str.Detected_RAM_amount:
lea eax, [ebp - 8]
call fcn.00416c77
push eax
call fcn.00416c88
push eax
call fcn.00416da4
push eax
mov eax, 0x459e2c
call fcn.00416005
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.0040464c
mov eax, dword [ebp - 0x10]
cdq
cmp esi, edx
jb 0x4135d3
ja 0x4133f3
cmp ebx, eax
jae 0x4133f3
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
add eax, 0x30
push eax
push 0xd4
call fcn.004136de
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4136de
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x60]
push ebx
push esi
sub eax, 0x10
call fcn.00409c66
add eax, 0x10
lea ebx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.0040eff7
mov eax, dword [0x459100]
mov esi, 0x459100
mov ecx, esi
call dword [eax + 0xc]
push dword [ebp + 8]
add eax, 0x10
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00404374
mov eax, dword [0x459100]
mov ecx, esi
call dword [eax + 0xc]
mov esi, dword [ebp - 8]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
push dword [eax]
lea eax, [ebp + 8]
push esi
push dword [ebp - 4]
push eax
call fcn.0040971d
xor ebx, ebx
add esp, 0x10
cmp byte [0x459e5c], bl
je 0x41377b
push dword [ebp + 8]
lea eax, [ebp + 0xc]
call fcn.00416c77
push eax
call fcn.00416c88
push eax
mov eax, 0x459e2c
call fcn.00416005
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.0040464c
cmp byte [edi + 0x10], bl
je 0x41378b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4137a6
mov eax, dword [edi]
call fcn.00415800
mov eax, dword [edi]
push ebx
call fcn.004156d9
push 0x30
push eax
lea eax, [ebp + 8]
push eax
call fcn.0041574e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040464c
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040464c
lea eax, [esi - 0x10]
call fcn.0040464c
pop esi
pop ebx
leave
ret 8

Function at 0x41580d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0x4267e6
push esi
push esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
mov ebx, 0x1ff
jmp 0x415871
push 1
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x415871
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x10]
push eax
push 1
call edi
cmp eax, 1
je 0x41584a
pop edi
pop esi
pop ebx
leave
ret