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

Disassembly:
push 0xffffffffffffffff
push 0x4448cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd20
push ebx
push ebp
mov ebp, dword [esp + 0xd38]
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov dword [esp + 0x1c], ebx
mov edi, edi
lea eax, [esp + 0x24]
push eax
mov eax, dword [edi]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
push ebx
push eax
mov dword [esp + 0x40], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov esi, eax
cmp esi, ebx
je 0x4175c6
cmp esi, 0xea
jne 0x417679
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x2c]
push ecx
push ebp
lea edx, [esp + 0x538]
push str._s_s
push edx
mov dword [esp + 0xd48], ebx
call fcn.00424a8c
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp eax, ebx
je 0x4175ff
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
lea ecx, [esp + 0x53c]
push ecx
push 0x80000002
mov dword [esp + 0x28], VariantCopy
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea edx, [esp + 0x530]
push edx
lea ecx, [esp + 0x14]
call fcn.00417560
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x417649
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov ecx, dword [edi]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0xd38], 0xffffffff
je 0x417679
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
cmp esi, 0x103
jne 0x417590
mov eax, ebp
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x417690
sub eax, edx
lea esi, [eax - 1]
cmp esi, ebx
jle 0x4176ab
cmp byte [esi + ebp], 0x5c
je 0x4176ca
dec esi
cmp esi, ebx
jg 0x4176a0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xd30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xd2c
ret 4
push esi
lea edx, [esp + 0x134]
push ebp
push edx
mov dword [esp + 0x1c], ebx
call fcn.00425030
lea eax, [esi + ebp + 1]
lea edx, [esp + 0x93c]
add esp, 0xc
mov byte [esp + esi + 0x130], bl
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x4176f4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x417711
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
lea ecx, [esp + 0x13c]
push ecx
push 0x80000002
mov dword [esp + 0x28], VariantCopy
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x930]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x41775b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4176af
Function at 0x417940
Capabilities:
Get file version info

Disassembly:
sub esp, 0x518
mov eax, dword [esp + 0x51c]
push ebx
push esi
push edi
xor edi, edi
xor bl, bl
lea edx, [esp + 0x20]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
mov byte [esp + 0xf], bl
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x417966
mov eax, dword [esp + 0x52c]
mov byte [eax], cl
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x24]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, edi
je 0x417aa5
push ebp
push esi
call fcn.00423ff9
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x417aa4
push esi
call fcn.00423ff9
mov edi, eax
add esp, 4
test edi, edi
je 0x417a8e
mov eax, dword [esp + 0x20]
push ebp
push esi
push eax
lea ecx, [esp + 0x30]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x417a8e
lea edx, [esp + 0x1c]
push edx
push 0x47e5b0
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x1c]
shr eax, 2
xor esi, esi
test eax, eax
jle 0x417a8e
mov ebx, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, edi
mov eax, dword [0x47e5b0]
movzx ecx, word [eax + esi*4 + 2]
movzx edx, word [eax + esi*4]
push ecx
push edx
push str.StringFileInfo_04x_04xFileVersion
push edi
call ebx
add esp, 0x10
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push edi
push ebp
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x417a3e
mov edx, dword [esp + 0x1c]
inc esi
shr edx, 2
cmp esi, edx
jl 0x417a00
jmp 0x417a8a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x417a8a
cmp eax, 0x3ff
mov byte [esp + 0x13], 1
jb 0x417a57
mov eax, 0x3ff
push eax
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x130]
push ecx
call fcn.00425030
mov edx, dword [esp + 0x53c]
lea eax, [esp + 0x134]
mov ecx, eax
add esp, 0xc
sub edx, ecx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x417a80
mov bl, byte [esp + 0x13]
push ebp
call fcn.0042400b
add esp, 4
test edi, edi
je 0x417aa4
push edi
call fcn.0042400b
add esp, 4
pop ebp
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x518
ret 8
Function at 0x4184d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x444986
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x610
push esi
mov esi, ecx
lea ecx, [esp + 8]
call fcn.00413b40
lea ecx, [esp + 4]
mov dword [esp + 0x61c], 0
call fcn.00415b40
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x620], 1
call fcn.004134f0
add esi, 0x1c00
push esi
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x21c]
push str._s_s.lnk
push edx
call fcn.00424a8c
add esp, 0x10
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x218]
push ecx
lea ecx, [esp + 0xc]
call fcn.0040f740
lea edx, [esp + 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 4]
mov byte [esp + 0x61c], 0
call fcn.00415b50
lea ecx, [esp + 8]
mov dword [esp + 0x61c], 0xffffffff
call fcn.00415b50
mov ecx, dword [esp + 0x614]
mov al, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x61c
ret
Function at 0x419610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444a38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.004194f0
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.0040bba0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4196a2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x41a3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x24], 1
call fcn.0043ad9c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x1c], esp
mov edi, esp
push ebx
mov byte [esp + 0x30], 2
call fcn.0040bba0
add eax, 0x10
mov dword [edi], eax
mov ebp, dword [esp + 0x38]
add ebp, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push ebp
mov byte [esp + 0x34], 3
call fcn.0040bba0
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
mov byte [esp + 0x30], 2
call fcn.0041a180
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, esi
sub ecx, esi
mov dl, byte [eax]
mov byte [ecx + eax], dl
inc eax
test dl, dl
jne 0x41a434
lea eax, [esi - 0x10]
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a45f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a47c
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a49b
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x41a4b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x24], 1
call fcn.0043ad9c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
mov byte [esp + 0x30], 2
call fcn.0040bba0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push esi
mov byte [esp + 0x34], 3
call fcn.0040bba0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x30], 2
call fcn.0041a180
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00425545
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
lea eax, [ebx - 0x10]
add esp, 4
mov byte [esp + 0x24], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a56a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a586
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a5a5
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x41a5c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x24], 1
call fcn.0043ad9c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
mov byte [esp + 0x30], 2
call fcn.0040bba0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push esi
mov byte [esp + 0x34], 3
call fcn.0040bba0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x30], 2
call fcn.0041a180
mov ebx, dword [esp + 0x10]
push ebx
call fcn.00425545
mov edx, dword [esp + 0x38]
add esp, 4
test eax, eax
setne cl
mov byte [edx], cl
lea eax, [ebx - 0x10]
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a67f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a69b
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a6ba
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc
Function at 0x41a6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x444bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x24], 1
call fcn.0043ad9c
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
add edi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push edi
mov byte [esp + 0x30], 2
call fcn.0040bba0
add eax, 0x10
mov dword [esi], eax
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
push esi
mov byte [esp + 0x34], 3
call fcn.0040bba0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [ebx], eax
mov byte [esp + 0x30], 2
call fcn.0041a180
mov ebx, dword [esp + 0x10]
push ebx
call fcn.0042554a
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea eax, [ebx - 0x10]
add esp, 4
mov byte [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a78d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov byte [esp + 0x24], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a7a9
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x24], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41a7c8
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0xc

Function at 0x41af60
Capabilities:
Timestomp file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x28
push esi
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0xc]
push ecx
push eax
shr eax, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
mov eax, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
add esp, 0x28
ret
Function at 0x41bf40
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x41bff9
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x41bff9
push esi
lea eax, [esp + 0x10]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov dword [esp + 0x18], eax
jbe 0x41bfed
push eax
call fcn.004369c7
mov esi, eax
add esp, 4
test esi, esi
jne 0x41bf8c
pop esi
pop edi
mov eax, 0x8007000e
pop ebx
add esp, 8
ret
mov ecx, dword [esp + 0x18]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41bfe4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x10]
push eax
push 0x447218
push esi
mov dword [esp + 0x1c], 0
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41bfe4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x41bfe4
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.004369f2
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
push esi
call fcn.004369f2
add esp, 4
pop esi
pop edi
mov eax, 0x80004005
pop ebx
add esp, 8
ret
pop edi
mov eax, 0x80070057
pop ebx
add esp, 8
ret
Function at 0x41e100
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x41e10b
xor eax, eax
ret
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x18]
cmp edi, 8
not esi
jb 0x41e203
mov ebp, edi
shr ebp, 3
xor edx, edx
mov dl, byte [ecx]
mov eax, esi
shr eax, 8
sub edi, 8
xor edx, esi
and edx, 0xff
mov esi, dword [edx*4 + 0x4494b0]
xor edx, edx
mov dl, byte [ecx + 1]
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4494b0]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4494b0]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4494b0]
xor edx, edx
mov dl, byte [ecx + 1]
shr eax, 8
xor eax, esi
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4494b0]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4494b0]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4494b0]
shr eax, 8
xor eax, esi
xor edx, edx
mov dl, byte [ecx + 1]
inc ecx
xor edx, eax
and edx, 0xff
mov esi, dword [edx*4 + 0x4494b0]
shr eax, 8
xor eax, esi
inc ecx
dec ebp
mov esi, eax
jne 0x41e126
test edi, edi
je 0x41e222
xor eax, eax
mov al, byte [ecx]
xor eax, esi
and eax, 0xff
mov ebp, dword [eax*4 + 0x4494b0]
shr esi, 8
xor esi, ebp
inc ecx
dec edi
jne 0x41e207
pop edi
mov eax, esi
pop esi
not eax
pop ebp
ret
Function at 0x42407c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.00424360
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x424117
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x480954]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x424117
cmp eax, 1
je 0x424138
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x424117
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x4240e4
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x424113
xor eax, eax
inc eax
jmp 0x424157
cmp edi, eax
jae 0x42411b
xor eax, eax
jmp 0x424157
cmp eax, esi
jae 0x424122
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x480954]
jmp 0x42413b
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x424989
Capabilities:
Terminate process

Disassembly:
push 8
push 0x44c990
call fcn.00428b04
push 8
call fcn.00429838
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x480994], esi
jne 0x4249bd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x480990], esi
mov al, byte [ebp + 0x10]
mov byte [0x48098c], al
cmp dword [ebp + 0xc], edi
jne 0x424a07
cmp dword [0x48228c], edi
je 0x4249f7
mov eax, dword [0x482288]
sub eax, 4
mov dword [0x482288], eax
cmp eax, dword [0x48228c]
jb 0x4249f7
mov eax, dword [eax]
cmp eax, edi
je 0x4249d8
call eax
jmp 0x4249d8
push 0x4540a0
mov eax, 0x454098
call fcn.00424907
pop ecx
push 0x4540ac
mov eax, 0x4540a4
call fcn.00424907
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x424a38
cmp dword [ebp + 0x10], edi
jne 0x424a46
mov dword [0x480994], esi
push dword [ebp + 8]
call fcn.004248c5
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x424a45
push 8
call fcn.00429783
pop ecx
ret
call fcn.00428b3f
ret
Function at 0x42567d
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0x60
push 0x44c9d0
inc eax
inc ebx
mov eax, 0
inc eax
add eax, ebx
mov eax, edi
call fcn.00403b04
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x480954], ecx
mov eax, dword [esi + 4]
mov dword [0x480960], eax
mov edx, dword [esi + 8]
mov dword [0x480964], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x480958], esi
cmp ecx, 2
je 0x4256dd
or esi, 0x8000
mov dword [0x480958], esi
shl eax, 8
add eax, edx
mov dword [0x48095c], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call fcn.00426f0f
dec ebp
pop edx
jne 0x425718
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425718
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x425730
cmp eax, 0x20b
je 0x42571d
mov dword [ebp - 0x1c], esi
jmp 0x425744
cmp dword [ecx + 0x84], 0xe
jbe 0x425718
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x42573e
cmp dword [ecx + 0x74], 0xe
jbe 0x425718
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00429883
pop ecx
test eax, eax
jne 0x425758
push 0x1c
call fcn.00425659
pop ecx
call fcn.0042b105
test eax, eax
jne 0x425769
push 0x10
call fcn.00425659
pop ecx
call fcn.0042b45a
mov dword [ebp - 4], esi
call fcn.0042d4f6
test eax, eax
jge 0x425782
push 0x1b
call fcn.00425634
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x482280], eax
call fcn.0042d3d4
mov dword [0x4809a0], eax
call fcn.0042d332
test eax, eax
jge 0x4257a8
push 8
call fcn.00425634
pop ecx
call fcn.0042d0ff
test eax, eax
jge 0x4257b9
push 9
call fcn.00425634
pop ecx
push 1
call fcn.0042491f
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4257cf
push eax
call fcn.00425634
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0042d0a2
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x4257f0
movzx eax, word [ebp - 0x40]
jmp 0x4257f3
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00435140
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x425811
push edi
call fcn.00424a4c
call fcn.00424a6e
jmp 0x425843
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00428b3f
ret