joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e890
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.00410338
push str.Windows_2000
push eax
call fcn.004090d9
test eax, eax
mov eax, dword [ebp + 0xc]
setge byte [ebp + 0xb]
add eax, 0xfffffff0
call fcn.00404644
cmp byte [ebp + 0xb], 0
je 0x40e916
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 0x40e903
call eax
mov word [edi], ax
push str.GetUserDefaultUILanguage
push dword [ebp + 8]
call esi
test eax, eax
je 0x40e916
call eax
mov word [ebx], ax
pop esi
pop ebp
ret

Function at 0x40ee8b
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.0040ee15
xor eax, eax
cmp byte [esi + 0xc], al
je 0x40eeb0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x40eed4
cmp dword [edi], eax
je 0x40eed4
lea ecx, [ebp + 8]
push ecx
push eax
push esi
push 0x40eef8
push eax
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
add esi, 0x10
mov edi, eax
call fcn.00408e61
pop edi
pop esi
pop ebp
ret 4

Function at 0x40f029
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 0x40f0b0
push esi
call fcn.004318aa
mov edi, eax
pop ecx
test edi, edi
jne 0x40f068
push 8
pop esi
push edi
call fcn.004318b5
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 0x40f0b0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0x44b8d0
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x40f0b9
cmp dword [ebp - 0x10], 0
je 0x40f0b9
mov eax, dword [ebp - 8]
test ebx, ebx
je 0x40f0a2
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x40f0b9
mov eax, dword [eax + 0xc]
mov dword [ecx], eax
jmp 0x40f0b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
jmp 0x40f05b
Function at 0x40f0be
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.00409cf1
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 0x40f1e4
push esi
call fcn.004318aa
mov edi, eax
pop ecx
test edi, edi
jne 0x40f110
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
push edi
jmp 0x40f1f1
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 0x40f0ff
mov eax, dword [0x45a140]
mov ecx, 0x45a140
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 0x40f16a
cmp dword [ebp - 0x10], 0
je 0x40f16a
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push 0x44bd3c
push ecx
push eax
jmp 0x40f179
push 0x44bd3c
push 0x4e2
push 0x409
lea eax, [ebp - 8]
push str.StringFileInfo_04x_04x_s
push eax
call fcn.004097a8
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 0x40f1d4
cmp dword [ebp - 0x18], 0
je 0x40f1d4
push dword [ebp - 0x1c]
push ebx
call fcn.00404548
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00404644
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
push edi
call fcn.004318b5
mov al, 1
jmp 0x40f1f8
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00404644
jmp 0x40f0ff
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
push 0
call fcn.004318b5
xor al, al
pop ecx
pop edi
pop esi
leave
ret
Function at 0x40f3b4
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.004318b5
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], esi
call fcn.0040dd44
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 0x40f435
add dword [ebp - 4], 2
push ebx
call fcn.004318b5
and dword [ebp - 8], 0
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040dd44
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 0x40f401
test eax, eax
je 0x40f450
mov byte [ebp + 0xf], 0
push ebx
call fcn.004318b5
mov al, byte [ebp + 0xf]
pop ecx
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp - 0xc]
cmp eax, 1
je 0x40f47f
cmp eax, 2
je 0x40f47f
cmp eax, 7
je 0x40f47f
cmp eax, 4
jne 0x40f43d
push dword [ebx]
push 0x44bdc0
push dword [ebp + 0x10]
call fcn.004097a8
add esp, 0xc
mov byte [ebp + 0xf], 1
jmp 0x40f441
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 0x40f494
dec edi
mov dword [ebp - 4], edi
cmp word [ebx + edi*2], ax
je 0x40f490
inc edi
push ebx
mov ecx, 0x45a140
lea esi, [ebp + 0xc]
mov dword [ebp - 4], edi
call fcn.00409264
mov edi, dword [ebp + 0x10]
mov eax, esi
call fcn.00408901
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00404644
jmp 0x40f479
Function at 0x40f4c3
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.00409cf1
mov edi, eax
add edi, 0x10
xor ebx, ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
jmp 0x40f565
mov ecx, dword [edi - 0xc]
lea eax, [esp + 0x14]
lea edx, [esi + 1]
push eax
sub ecx, edx
lea eax, [esp + 0x10]
call fcn.00408d0b
mov eax, dword [edi - 0xc]
sub eax, esi
push esi
lea ecx, [esp + 0x10]
call fcn.00408942
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 0x40f57c
mov esi, dword [esp + 0x14]
push esi
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40f585
inc dword [esp + 0x10]
cmp dword [esp + 0x18], ebx
je 0x40f55d
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
lea eax, [esi - 0x10]
call fcn.00404644
push 0x5c
lea esi, [esp + 0x10]
call fcn.00408c75
mov esi, eax
cmp esi, ebx
jge 0x40f4ea
jmp 0x40f5a1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
jmp 0x40f59c
cmp dword [esp + 0x18], ebx
je 0x40f599
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
lea eax, [esi - 0x10]
call fcn.00404644
lea eax, [edi - 0x10]
call fcn.00404644
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40f7b7
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 0x40f7e6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40f7fe
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test esi, esi
je 0x40f7fc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x40f96d
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.004318c0
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 0x40f9ac
lea esi, [ebp - 0xc]
call fcn.00424623
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 0x40f9f3
lea esi, [ebp - 0xc]
call fcn.00424607
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
cmp dword [ebp + 0x10], ebx
je 0x40fa0f
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 0x40f9e4

Function at 0x40fa1c
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.004318c0
add esp, 0xc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x400
cmp dword [ebp + 0xc], ebx
je 0x40fa51
mov dword [ebp - 0x38], 0x440
push esi
mov esi, dword [edi]
push edi
call fcn.0040a544
pop ecx
test al, al
je 0x40fa62
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 0x40fa84
mov dword [ebp - 0x28], eax
mov eax, edi
lea edi, [ebp + 0x10]
call fcn.00409f80
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
mov esi, edi
call fcn.0040a544
pop ecx
test al, al
je 0x40faa4
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 0x40fac4
lea eax, [edi - 0x10]
call fcn.00404644
pop edi
mov al, bl
pop ebx
leave
ret
cmp dword [ebp + 0xc], ebx
je 0x40fae5
cmp dword [ebp - 4], ebx
je 0x40faf3
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]
cmp dword [ebp - 4], ebx
je 0x40faf3
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x40fab6
Function at 0x40fd89
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x458090]
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 0x40fdc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x40fe88
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 0x40fe0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x40fe7b
push dword [ebp - 0x18]
call fcn.004318aa
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 0x40fe7b
cmp dword [ebp - 0x18], ebx
je 0x40fe7b
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 0x40fe81
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.004318b5
cmp dword [ebp - 0x14], 0
pop ecx
je 0x40fe77
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x40fe98
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call fcn.004318b5
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x40fe96
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.0043189b
leave
ret

Function at 0x40fea7
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x458090]
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 0x40fece
push eax
jmp 0x40ff08
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x40feff
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp + 8]
je 0x40ff1d
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x40fee7
test esi, esi
je 0x40ff0e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043189b
leave
ret
push edi
mov edi, dword [ebp - 0x228]
test esi, esi
je 0x40ff2f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
jmp 0x40ff10
Function at 0x410225
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x458090]
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 0x4102be
mov eax, dword [ebp - 0x410]
mov byte [ebp + eax - 0x40c], bl
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 0x414]
call fcn.0040ab5b
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 0x410289
mov edi, dword [ebp - 0x414]
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
cmp eax, 2
jl 0x4102fb
lea ecx, [eax - 2]
lea edx, [ebp - 0x414]
mov eax, edi
call fcn.00408d82
call fcn.00408901
mov eax, dword [ebp - 0x414]
add eax, 0xfffffff0
call fcn.00404644
cmp dword [ebp - 0x41c], ebx
je 0x41030f
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.0043189b
leave
ret
Function at 0x410e62
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
mov esi, eax
push 0x44ccd4
lea eax, [ebp - 4]
call fcn.0040456b
lea ebx, [esi + 0x20]
mov edi, ebx
lea ecx, [ebp - 4]
call fcn.0040a2af
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
lea eax, [esi + 8]
push eax
lea eax, [ebp - 4]
call fcn.00425d0d
mov edi, dword [ebp - 4]
cmp dword [edi - 0xc], 0
pop ecx
je 0x410ecf
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.00404644
mov al, bl
jmp 0x410f7a
push 0x459edc
mov eax, esi
lea edi, [ebp - 0x88]
call fcn.0041aadc
push 1
push ebx
lea eax, [esi + 8]
push eax
mov ecx, edi
call fcn.0041ac21
mov edi, eax
mov eax, dword [esi + 4]
cmp byte [eax + 0x39], 0
je 0x410f0c
lea esi, [ebp - 0x88]
call fcn.0041ab7a
mov edi, dword [ebp - 4]
xor bl, bl
jmp 0x410ec0
test edi, edi
je 0x410f5f
cmp byte [0x45ae9c], 0
je 0x410f5f
push edi
lea eax, [ebp - 0xc]
call fcn.00422605
pop ecx
push dword [eax]
lea eax, [ebp - 8]
push str.Downloading_of_updates_failed._Error:
call fcn.00416d25
push eax
call fcn.00416d36
push eax
call fcn.00416d36
push eax
mov eax, 0x45ae6c
call fcn.004160b3
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00404644
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.00404644
lea esi, [ebp - 0x88]
call fcn.0041ab7a
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
test edi, edi
sete al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413487
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 0x4134a7
mov al, 1
jmp 0x413696
call fcn.004010a8
test al, al
je 0x413595
push 0x3c
lea eax, [ebp - 0x58]
push ebx
push eax
call fcn.004318c0
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.004225b1
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 [0x454bc0]
fldz
fcom st(1)
fnstsw ax
fld st(1)
test ah, 5
jp 0x413552
call fcn.00447010
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x413577
fadd qword [0x454bb8]
jmp 0x413570
call fcn.00447010
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x413577
fsub qword [0x454bb8]
call fcn.00447010
jmp 0x41357c
mov eax, dword [ebp - 8]
fstp st(0)
cdq
mov ebx, eax
mov esi, edx
test edi, edi
je 0x413630
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x413630
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.004225b1
fild dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x34]
test eax, eax
jge 0x4135ce
fadd qword [0x454bb0]
fmul qword [0x454bc0]
fldz
fcom st(1)
fnstsw ax
fld st(1)
test ah, 5
jp 0x413601
call fcn.00447010
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x413626
fadd qword [0x454bb8]
jmp 0x41361f
call fcn.00447010
mov dword [ebp - 8], eax
fild dword [ebp - 8]
fld st(2)
fsubrp st(1)
fcompp
fnstsw ax
test ah, 5
jp 0x413626
fsub qword [0x454bb8]
call fcn.00447010
jmp 0x41362b
mov eax, dword [ebp - 8]
fstp st(0)
cdq
mov ebx, eax
mov esi, edx
cmp byte [0x45ae9c], 0
je 0x41366a
push esi
push ebx
push str.Detected_RAM_amount:
lea eax, [ebp - 8]
call fcn.00416d25
push eax
call fcn.00416d36
push eax
call fcn.00416e52
push eax
mov eax, 0x45ae6c
call fcn.004160b3
mov eax, dword [ebp - 8]
add eax, 0xfffffff0
call fcn.00404644
mov eax, dword [ebp - 0x10]
cdq
cmp esi, edx
jb 0x413680
ja 0x4134a0
cmp ebx, eax
jae 0x4134a0
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
add eax, 0x30
push eax
push 0xd4
call fcn.0041378b
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41378b
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.00409cf1
add eax, 0x10
lea ebx, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.0040f0be
mov eax, dword [0x45a140]
mov esi, 0x45a140
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.00404387
mov eax, dword [0x45a140]
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.004097a8
xor ebx, ebx
add esp, 0x10
cmp byte [0x45ae9c], bl
je 0x413828
push dword [ebp + 8]
lea eax, [ebp + 0xc]
call fcn.00416d25
push eax
call fcn.00416d36
push eax
mov eax, 0x45ae6c
call fcn.004160b3
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.00404644
cmp byte [edi + 0x10], bl
je 0x413838
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x413853
mov eax, dword [edi]
call fcn.004158ad
mov eax, dword [edi]
push ebx
call fcn.00415786
push 0x30
push eax
lea eax, [ebp + 8]
push eax
call fcn.004157fb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.00404644
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.00404644
lea eax, [esi - 0x10]
call fcn.00404644
pop esi
pop ebx
leave
ret 8

Function at 0x4158ba
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 0x4268cc
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 0x41591e
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 0x41591e
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 0x4158f7
pop edi
pop esi
pop ebx
leave
ret