joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4192f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x800
lea eax, [ebp - 0x804]
push 0
push eax
mov esi, 0x80004005
mov dword [ebp - 0x80c], 0x7ff
call fcn.0040d442
add esp, 0xc
lea ecx, [ebp - 0x808]
push ecx
push 0x20219
push 0
push 0x4041b4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4193b1
mov ecx, dword [ebp - 0x808]
lea edx, [ebp - 0x80c]
push edx
lea eax, [ebp - 0x804]
push eax
push 0
push 0
push 0x403944
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4193a4
cmp dword [ebp - 0x80c], eax
jbe 0x4193a4
lea edx, [ebp - 0x804]
push 0x400
push edx
xor esi, esi
call fcn.004209da
mov dword [ebx], eax
add esp, 8
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
mov ecx, dword [ebp - 0x808]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00420627
mov esp, ebp
pop ebp
ret

Function at 0x4193d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
mov esi, 0x80004005
mov dword [ebp - 0x408], 0x3ff
call fcn.0040d442
add esp, 0xc
lea ecx, [ebp - 0x40c]
push ecx
push 0x20219
push 0
push 0x4041b4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x419491
mov ecx, dword [ebp - 0x40c]
lea edx, [ebp - 0x408]
push edx
lea eax, [ebp - 0x404]
push eax
push 0
push 0
push 0x40519c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x419484
cmp dword [ebp - 0x408], eax
jbe 0x419484
lea edx, [ebp - 0x404]
push 0x400
push edx
xor esi, esi
call fcn.00421626
mov dword [ebx], eax
add esp, 8
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [edi], eax
mov ecx, dword [ebp - 0x40c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x408]
push edx
lea eax, [ebp - 0x404]
push eax
call fcn.00419fe0
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00420627
mov esp, ebp
pop ebp
ret
Function at 0x419690
Capabilities:
Extract resource via kernel32 functions
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
and eax, 0xf
shr esi, 4
inc esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov ecx, 0xc04
cmp ax, cx
jne 0x4196bc
mov eax, 0x404
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceExW]
push eax
movzx esi, si
push esi
push 6
push edi
call ebx
test eax, eax
je 0x4196dc
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4196f7
push 0x409
push esi
push 6
push edi
call ebx
test eax, eax
je 0x41971f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41971f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x41971f
xor edx, edx
movzx ecx, word [eax]
add eax, 2
test cx, cx
je 0x419719
mov esi, ecx
cmp edx, dword [ebp - 4]
je 0x419729
lea eax, [eax + esi*2]
inc edx
cmp edx, 0x10
jl 0x419704
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
push esi
push eax
push 0x400
push edx
call fcn.0042090c
add esp, 0x10
test eax, eax
je 0x419742
xor esi, esi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x419e40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push 0xc
push 0x42
mov dword [ebp - 0x10], 0xc
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
je 0x419e72
test byte [ebp - 0xc], 1
jne 0x419f71
movzx ebx, word [ebp + 0xc]
push 0x4051b8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x419ea0
push 0x4051c4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x419f83
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x419f83
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x419f7c
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x419f7c
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x419f08
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
push ebx
push ecx
push edi
call fcn.0040d3aa
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea edx, [ebp - 4]
push edx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x419f63
push 0x30
call fcn.004206e2
add esp, 4
test eax, eax
je 0x419f47
mov esi, eax
call fcn.00418570
mov esi, eax
jmp 0x419f49
xor esi, esi
mov eax, dword [ebp - 4]
push eax
push esi
call fcn.004187f0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41a4a0
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov esi, eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call fcn.0041af40
mov edi, eax
cmp edi, ebx
jl 0x41a59c
mov eax, esi
call fcn.0041b3f0
cmp dword [esi + 0x18], 2
jne 0x41a4f8
cmp dword [esi + 0x24], ebx
jne 0x41a4e0
mov edi, 0x80004003
jmp 0x41a59c
mov eax, dword [esi + 0x24]
mov ecx, dword [eax]
lea edx, [esi + 0x28]
push edx
mov edx, dword [esi + 0x1c]
push ebx
push 3
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov edi, eax
cmp dword [esi + 0x18], 1
jne 0x41a58b
push ebx
lea ecx, [ebp - 4]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x405320
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41a52e
mov edi, 0x8000ffff
jmp 0x41a59c
mov eax, dword [ebp - 4]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0xc]
push edx
push 4
push ebx
push 0x405410
push eax
call edi
test eax, eax
je 0x41a553
mov edi, 0x8000ffff
jmp 0x41a59c
mov ecx, dword [ebp - 4]
push 0x4a
push 0x405430
push 1
push ebx
push 0x40547c
push ecx
call edi
test eax, eax
je 0x41a573
mov edi, 0x8000ffff
jmp 0x41a59c
push ebx
push 0x4054a4
push 0x4054b4
call fcn.00419fe0
add esp, 0xc
mov edi, 0x5e7
mov esi, dword [esi + 0x18]
cmp esi, ebx
je 0x41a597
cmp esi, 3
jne 0x41a59c
mov edi, 0x5e7
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x41a5ae
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x41a5bc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a5d0
Capabilities:
Create process on windows
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
xor ebx, ebx
push edi
mov edi, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0041af40
mov esi, eax
cmp esi, ebx
jl 0x41a65d
mov eax, edi
call fcn.0041b3f0
cmp dword [edi + 0x18], 2
jne 0x41a6ab
mov eax, dword [edi + 0x24]
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0xc], ebx
mov ecx, dword [eax]
lea ebx, [edi + 0x28]
push ebx
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
mov esi, eax
test esi, esi
js 0x41a65b
cmp dword [ebx], 0
je 0x41a686
mov eax, dword [ebx]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov esi, eax
test esi, esi
js 0x41a65b
mov eax, dword [ebp - 4]
test eax, eax
je 0x41a686
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov esi, eax
test esi, esi
js 0x41a65b
cmp word [ebp - 0xc], 0xffff
jne 0x41a686
mov esi, 1
xor ebx, ebx
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x41a66f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x41a67d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x24], 0
jne 0x41a693
mov esi, 0x80004003
jmp 0x41a65b
mov eax, dword [edi + 0x24]
mov edx, dword [edi + 0x1c]
mov ecx, dword [eax]
push ebx
push 0
push 7
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov esi, eax
xor ebx, ebx
cmp dword [edi + 0x18], 1
je 0x41a6b9
cmp esi, ebx
jge 0x41a77d
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push 0x405320
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41a6e8
mov esi, 0x8000ffff
jmp 0x41a65d
mov eax, dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0x10]
push edx
push 4
push ebx
push 0x405410
push eax
call esi
test eax, eax
je 0x41a710
mov esi, 0x8000ffff
jmp 0x41a65d
mov ecx, dword [ebp - 8]
push 0x4a
push 0x405430
push 1
push ebx
push 0x40547c
push ecx
call esi
test eax, eax
je 0x41a733
mov esi, 0x8000ffff
jmp 0x41a65d
push ebx
push 0x4054a4
push 0x4054b4
call fcn.00419fe0
add esp, 0xc
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x4c], 0x3c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 0x4036a0
mov dword [ebp - 0x3c], 0x4054d8
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, 0x5e7
mov edi, dword [edi + 0x18]
cmp edi, ebx
je 0x41a78d
cmp edi, 3
jne 0x41a65d
mov esi, 0x5e7
jmp 0x41a65d
Function at 0x41a9d0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
push eax
push 0x202
push 0
push 0x4034a0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41aa25
mov eax, dword [ebp - 4]
test eax, eax
je 0x41aa25
push 0x4034e0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call esi
push 0
lea edx, [ebp - 4]
push edx
push 0
push 0x202
push 0
push 0
push 0
push 0x4034a0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41aa6f
mov ecx, dword [ebp - 4]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x403908
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x41aa6f
push eax
call esi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41aa80
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 0x202
push 0
push 0x4034a0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x41aad2
mov eax, dword [ebp - 4]
test eax, eax
je 0x41aad2
push 0x4034e0
push eax
call edi
mov ecx, dword [ebp - 4]
push ecx
call ebx
lea edx, [ebp - 4]
push edx
push 0x202
push 0
push 0x4034a0
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
jne 0x41ab02
mov eax, dword [ebp - 4]
test eax, eax
je 0x41ab02
push 0x403908
push eax
call edi
mov eax, dword [ebp - 4]
push eax
call ebx
lea ecx, [ebp - 4]
push ecx
push 0x202
push 0
push 0x4034a0
push SysReAllocStringLen
call esi
test eax, eax
jne 0x41ab32
mov eax, dword [ebp - 4]
test eax, eax
je 0x41ab32
push 0x403908
push eax
call edi
mov edx, dword [ebp - 4]
push edx
call ebx
mov eax, dword [ebp + 8]
call fcn.0041a5d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41c020
Capabilities:
Create process on windows

Disassembly:
sub eax, 0xcf
je 0x41c042
sub eax, 3
jne 0x41c059
push 1
push eax
push eax
push 0x405718
push 0x4036a0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
push 1
push 0
push 0
push 0x4056b8
push 0x4036a0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x41c490
Capabilities:
Create process on windows

Disassembly:
sub eax, 0x10c
je 0x41c4cb
dec eax
je 0x41c4b3
dec eax
jne 0x41c4e2
push 1
push eax
push eax
push 0x403df8
push 0x4036a0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
push 1
push 0
push 0
push 0x405778
push 0x4036a0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
push 1
push 0
push 0
push 0x405718
push 0x4036a0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret
Function at 0x41c6e0
Capabilities:
Generate random numbers via winapi

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf0000040
push 1
push 0x4057e0
push 0
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x41c716
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xc]
push esi
lea ecx, [ebp - 8]
push ecx
push 2
push edx
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x41c732
mov esi, 0x80004005
movzx eax, word [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0
fild dword [ebp - 4]
fnstcw word [ebp - 2]
movzx eax, word [ebp - 2]
fmul qword [0x405b58]
or eax, 0xc00
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push eax
fldcw word [ebp - 0x10]
fistp dword [ebp - 0x10]
mov cx, word [ebp - 0x10]
mov word [edx], cx
fldcw word [ebp - 2]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41c780
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
lea ecx, [ebp - 8]
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call fcn.0041e700
test eax, eax
js 0x41c835
mov ecx, dword [ebp - 4]
push ebx
mov ebx, dword [ebp - 8]
push ebx
push ecx
call fcn.0041e880
test eax, eax
js 0x41c834
lea esi, [ebx + 7]
push esi
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x41c834
mov ecx, dword [ebp - 4]
push ebx
push ecx
xor edx, edx
push esi
push edi
mov dword [edi + esi*2 - 2], edx
call fcn.0042090c
push 5
sub esi, ebx
push 0x405838
dec esi
lea eax, [edi + ebx*2 + 2]
mov edx, 0x5c
push esi
push eax
mov word [edi + ebx*2], dx
call fcn.0042090c
xor eax, eax
add esp, 0x20
lea edx, [ebp - 0x28]
mov ecx, 0x694
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
push edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0x24], 3
mov dword [ebp - 0x20], edi
mov word [ebp - 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop ebx
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
call esi
push edi
call esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41cc10
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push ecx
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [eax], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
push esi
call fcn.00419fe0
add esp, 4
cmp esi, 0xffffffff
jne 0x41cc5b
mov ebx, 0x8000ffff
jmp 0x41cce1
lea edx, [ebp - 8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
mov dword [ebp - 4], eax
call fcn.00419fe0
mov eax, dword [ebp - 4]
add esp, 4
cmp eax, 0xffffffff
jne 0x41cc81
mov ebx, 0x8000ffff
jmp 0x41cce1
cmp eax, dword [ebp + 8]
jb 0x41cc8d
mov ebx, 0x8000ffff
jmp 0x41cce1
cmp dword [ebp - 8], ebx
je 0x41cc99
mov ebx, 0x8000ffff
jmp 0x41cce1
inc eax
push eax
call fcn.0042142d
mov edi, eax
add esp, 4
test edi, edi
jne 0x41ccb0
mov ebx, 0x8007000e
jmp 0x41cce1
mov eax, dword [ebp - 4]
mov byte [edi + eax], bl
call fcn.00419fe0
mov edx, dword [ebp - 4]
push 0
lea ecx, [ebp - 4]
push ecx
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41cce8
push edi
mov ebx, 0x8000ffff
call fcn.00421346
add esp, 4
xor edi, edi
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
je 0x41ccf4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
mov dword [eax], ecx
mov dword [edx], edi
call fcn.00419fe0
push edi
push eax
call fcn.00419fe0
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41d070
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, esi
call fcn.0041ab50
test eax, eax
je 0x41d1eb
mov ecx, dword [esi + 0x10]
fld qword [ecx + 0x20]
mov eax, dword [esi + 0x5c]
sub esp, 8
fstp qword [esp]
push eax
call fcn.0041a010
mov ebx, eax
test ebx, ebx
js 0x41d1f0
jne 0x41d1f0
mov ebx, 1
call fcn.0041b260
test eax, eax
jne 0x41d0d5
call fcn.0041d540
mov ebx, eax
jmp 0x41d107
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x41d0e6
call fcn.0041d540
mov ebx, eax
jmp 0x41d107
test eax, eax
jne 0x41d107
call fcn.00418e30
test eax, eax
je 0x41d0fc
call fcn.0041d540
mov ebx, eax
jmp 0x41d107
call fcn.00418f10
test eax, eax
je 0x41d107
xor ebx, ebx
mov eax, dword [esi + 0x10]
push eax
call fcn.0041a180
cmp ebx, 1
jne 0x41d129
mov ecx, dword [esi + 0x10]
push ecx
call fcn.0041a1e0
push ebx
call fcn.0041cbb0
jmp 0x41d1f0
call fcn.0041abf0
call fcn.0041b260
test eax, eax
jne 0x41d151
push 1
push eax
push eax
push 0x405848
push 0x4036a0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41d1f0
call fcn.00418e30
test eax, eax
jne 0x41d16b
call fcn.0041ba80
mov eax, esi
call fcn.0041bbe0
jmp 0x41d1f0
mov eax, dword [0x43639c]
push 0x104
lea edx, [ebp - 0x210]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ecx, ecx
cmp eax, ecx
je 0x41d1eb
cmp eax, 0x104
ja 0x41d1eb
lea eax, [ebp - 0x24c]
lea edx, [ebp - 0x210]
push eax
mov dword [ebp - 0x24c], 0x3c
mov dword [ebp - 0x248], 0x400
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], 0x4038fc
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], 0x4033a4
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x22c], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x41d1f0
mov ebx, 0x8000ffff
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x41d222
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esi + 0x10]
test edi, edi
je 0x41d21b
mov ecx, edi
mov dword [edi], 0x4058b4
call fcn.0041d8e0
push edi
call fcn.0042061d
add esp, 4
mov dword [esi + 0x10], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00420627
mov esp, ebp
pop ebp
ret
Function at 0x41d240
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0041ab50
test eax, eax
jne 0x41d2af
xor ebx, ebx
mov esi, 0x8000ffff
mov ecx, dword [edi + 0x10]
cmp ecx, ebx
je 0x41d29c
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x41d295
mov ecx, ebx
mov dword [ebx], 0x4058b4
call fcn.0041d8e0
push ebx
call fcn.0042061d
add esp, 4
mov dword [edi + 0x10], 0
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420627
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 0x10]
fld qword [ecx + 0x20]
mov eax, dword [edi + 0x5c]
sub esp, 8
fstp qword [esp]
push eax
call fcn.0041a010
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x41d26a
call fcn.0041d5d0
mov esi, eax
mov eax, dword [edi + 0x10]
push eax
call fcn.0041a180
cmp esi, 0x10b
jne 0x41d342
call fcn.00418e30
test eax, eax
jne 0x41d2f7
call fcn.0041a9d0
jmp 0x41d26a
mov edx, dword [0x43639c]
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x41d265
cmp eax, 0x104
ja 0x41d265
lea eax, [ebp - 0x210]
lea ecx, [ebp - 0x24c]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], 0x4033cc
push ecx
jmp 0x41d3aa
cmp esi, 0x109
jne 0x41d26a
call fcn.00418e30
test eax, eax
jne 0x41d362
push edi
call fcn.0041aa80
jmp 0x41d26a
mov eax, dword [0x43639c]
push 0x104
lea edx, [ebp - 0x210]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
je 0x41d265
cmp eax, 0x104
ja 0x41d265
lea ecx, [ebp - 0x210]
lea edx, [ebp - 0x24c]
mov dword [ebp - 0x23c], ecx
mov dword [ebp - 0x238], 0x403404
push edx
mov dword [ebp - 0x24c], 0x3c
mov dword [ebp - 0x248], 0x400
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x240], 0x4038fc
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
jmp 0x41d26a
Function at 0x41e700
Capabilities:
Check os version
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x434040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x118]
push edx
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x108], 2
jne 0x41e79c
cmp dword [ebp - 0x114], 6
jb 0x41e79c
push 0x404b84
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x41e776
push 0x404b94
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x41e785
mov dword [ebp - 0x11c], 0x8000ffff
jmp 0x41e853
lea ecx, [ebp - 0x120]
push ecx
push 0
push 0x8000
push 0x402e3c
call eax
jmp 0x41e7bf
push 0x208
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
push eax
push 0
push 0
push 0x801c
push 0
mov dword [ebp - 0x120], eax
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov dword [ebp - 0x11c], eax
test eax, eax
js 0x41e853
mov eax, dword [ebp - 0x120]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41e7d6
sub eax, edx
push esi
sar eax, 1
push edi
mov edi, eax
lea eax, [edi + 0x16]
lea esi, [eax + 1]
mov dword [ebp - 0x12c], eax
cmp esi, edi
jb 0x41e851
push ebx
push eax
push 0
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ebx, eax
test ebx, ebx
jne 0x41e815
mov dword [ebp - 0x11c], 0x8007000e
jmp 0x41e850
mov edx, dword [ebp - 0x120]
push edi
push edx
push esi
push ebx
call fcn.0042090c
push 0x16
push 0x4059e4
sub esi, edi
lea eax, [ebx + edi*2]
push esi
push eax
call fcn.0042090c
mov ecx, dword [ebp - 0x124]
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x128]
mov dword [ecx], ebx
add esp, 0x20
mov dword [eax], edx
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x11c]
xor ecx, ebp
call fcn.00420627
mov esp, ebp
pop ebp
ret 4