joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008f00
Capabilities:
Get common file path

Disassembly:
sub esp, 0x10c
mov eax, dword [0x100215e0]
push 0
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x10008f45
mov eax, 0x490
mov ecx, dword [esp + 0x108]
call fcn.1000e24e
add esp, 0x10c
ret
mov ecx, 0x105
lea eax, [esp + 4]
push esi
nop
cmp byte [eax], 0
je 0x10008f88
inc eax
dec ecx
jne 0x10008f50
mov esi, dword [esp + 4]
push edi
mov edi, dword [esp + 0x120]
mov eax, dword [edi]
inc esi
cmp eax, esi
jae 0x10008f95
mov dword [edi], esi
pop edi
mov eax, 0x7a
pop esi
mov ecx, dword [esp + 0x108]
call fcn.1000e24e
add esp, 0x10c
ret
test ecx, ecx
je 0x10008f59
mov esi, 0x105
sub esi, ecx
jmp 0x10008f5d
cmp eax, 0x7fffffff
ja 0x10008faf
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x124]
push eax
call fcn.100016f0
mov ecx, dword [esp + 0x110]
mov dword [edi], esi
pop edi
xor eax, eax
pop esi
call fcn.1000e24e
add esp, 0x10c
ret

Function at 0x10009000
Capabilities:
Get common file path

Disassembly:
sub esp, 0x110
mov eax, dword [0x100215e0]
mov dword [esp + 0x10c], eax
push 0x105
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x1000903f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x10c]
call fcn.1000e24e
add esp, 0x110
ret
mov ecx, 0x105
lea eax, [esp + 4]
push esi
lea esp, [esp]
cmp byte [eax], 0
je 0x10009088
inc eax
dec ecx
jne 0x10009050
mov esi, dword [esp + 4]
push edi
mov edi, dword [esp + 0x120]
mov eax, dword [edi]
inc esi
cmp eax, esi
jae 0x10009095
mov dword [edi], esi
pop edi
mov eax, 0x7a
pop esi
mov ecx, dword [esp + 0x10c]
call fcn.1000e24e
add esp, 0x110
ret
test ecx, ecx
je 0x10009059
mov esi, 0x105
sub esi, ecx
jmp 0x1000905d
cmp eax, 0x7fffffff
ja 0x100090af
mov edx, dword [esp + 0x11c]
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
call fcn.100016f0
mov ecx, dword [esp + 0x114]
mov dword [edi], esi
pop edi
xor eax, eax
pop esi
call fcn.1000e24e
add esp, 0x110
ret

Function at 0x100090d0
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 4]
cmp eax, 3
ja case.default.0x100090d9
jmp dword [eax*4 + 0x1000912c]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.10008d70
add esp, 8
ret
mov dword [esp + 4], 2
jmp fcn.10008f00
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call fcn.10008fd0
add esp, 8
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push eax
push ecx
call fcn.10009000
add esp, 8
ret
mov eax, 0xa0
ret
Function at 0x10009140
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x1001b246
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov eax, dword [0x100215e0]
mov dword [esp + 0x13c], eax
lea eax, [esp + 0xc]
push 0x2c
push eax
call fcn.1000d0c0
add esp, 8
test eax, eax
jne 0x1000935a
push eax
call fcn.1000f72c
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
call fcn.10010107
add esp, 8
test eax, eax
je 0x100091a4
mov edx, dword [eax]
mov dword [esp], edx
jmp 0x100091ab
mov dword [esp], 0xffffffff
push ebx
lea eax, [esp + 8]
push ebp
push eax
call fcn.10010107
add esp, 4
test eax, eax
je 0x100091c3
mov ebp, dword [eax + 4]
jmp 0x100091c6
or ebp, 0xffffffff
lea ecx, [esp + 0xc]
push ecx
call fcn.10010107
add esp, 4
test eax, eax
je 0x100091dc
mov ebx, dword [eax + 8]
jmp 0x100091df
or ebx, 0xffffffff
lea edx, [esp + 0xc]
push edi
push edx
call fcn.10010107
add esp, 4
test eax, eax
je 0x100091f6
mov edi, dword [eax + 0xc]
jmp 0x100091f8
xor edi, edi
lea eax, [esp + 0x10]
push esi
push eax
call fcn.10010107
add esp, 4
test eax, eax
je 0x10009210
mov esi, dword [eax + 0x10]
inc esi
jmp 0x10009212
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
call fcn.10010107
add esp, 4
test eax, eax
je 0x1000922d
mov eax, dword [eax + 0x14]
add eax, 0x76c
jmp 0x1000922f
xor eax, eax
mov edx, dword [esp + 0x10]
push edx
push ebp
push ebx
push edi
push esi
push eax
push str._04d__02d__02d__02d:_02d:_02d
lea eax, [esp + 0x50]
push 0x14
push eax
call fcn.100015a7
add esp, 0x24
xor ebx, ebx
push ebx
lea ecx, [esp + 0x4c]
call fcn.1000ca40
mov ecx, dword [str.46C23500_1D2F_4702_9E3F_18CC5703077F]
add ecx, 6
push 0x10
push ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x160], ebx
call fcn.1000c8c0
push 0x2c
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x50]
call fcn.1000c830
test al, al
jne 0x100092a7
lea ecx, [esp + 0x48]
mov dword [esp + 0x158], 0xffffffff
call fcn.1000a820
mov eax, 0x1f
jmp 0x10009356
mov dword [esp + 0x10], ebx
push 0x2001f
push str.Software
push 0x80000001
lea ecx, [esp + 0x1c]
call fcn.10001742
mov esi, eax
cmp esi, ebx
je 0x100092f0
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x100092d8
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
mov dword [esp + 0x158], 0xffffffff
call fcn.1000a820
mov eax, esi
jmp 0x10009356
mov ecx, dword [str.46C23500_1D2F_4702_9E3F_18CC5703077F]
mov esi, dword [esp + 0x10]
push 0x2c
lea eax, [esp + 0x20]
push eax
push 3
push ebx
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
cmp edi, ebx
je 0x10009335
cmp esi, ebx
je 0x1000931d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
mov dword [esp + 0x158], 0xffffffff
call fcn.1000a820
mov eax, edi
jmp 0x10009356
cmp esi, ebx
je 0x10009340
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x48]
mov dword [esp + 0x158], 0xffffffff
call fcn.1000a820
xor eax, eax
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x13c]
call fcn.1000e24e
add esp, 0x14c
ret
Function at 0x10009a20
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x100215e0]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
push edi
mov dword [esp + 0x9c], eax
call esi
movzx edi, al
call esi
call esi
cmp eax, 0x80000000
jb 0x10009a69
cmp edi, 4
jae 0x10009a69
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0xc]
sub eax, 3
je 0x10009b7f
dec eax
mov ecx, dword [esp + 0x10]
je 0x10009aaa
dec eax
je 0x10009ab8
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
test ecx, ecx
je 0x10009b27
cmp ecx, 0xa
je 0x10009b31
cmp ecx, 0x5a
je 0x10009b0d
mov eax, ecx
sub eax, 0
je 0x10009af3
dec eax
je 0x10009ad9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
pop edi
mov eax, 8
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
pop edi
mov eax, 7
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
pop edi
mov eax, 5
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
mov eax, dword [esp + 0x18]
dec eax
je 0x10009b65
dec eax
je 0x10009b4b
pop edi
mov eax, 4
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
pop edi
mov eax, 6
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
pop edi
mov eax, 3
pop esi
mov ecx, dword [esp + 0x94]
call fcn.1000e24e
add esp, 0x98
ret
mov ecx, dword [esp + 0x9c]
pop edi
mov eax, 2
pop esi
call fcn.1000e24e
add esp, 0x98
ret

Function at 0x10009c20
Capabilities:
Get file version info

Disassembly:
sub esp, 0x118
mov eax, dword [0x100215e0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x128]
test esi, esi
mov dword [esp + 0x120], eax
push edi
mov dword [esp + 0x14], ecx
jne 0x10009c4a
mov esi, 0x100340d0
lea eax, [esp + 0x18]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
push ebp
call fcn.1000f970
mov ebx, eax
lea eax, [esp + 0x24]
mov edx, esi
mov ecx, eax
add esp, 4
mov edi, 0x104
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x10009c80
mov byte [eax], cl
inc eax
dec edi
jne 0x10009c71
jmp 0x10009c84
test edi, edi
jne 0x10009c85
dec eax
push ebx
push ebp
push 0
lea edx, [esp + 0x2c]
push edx
mov byte [eax], 0
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10009cad
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call fcn.1000ef2d
add esp, 4
xor al, al
jmp 0x10009ce2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x1001c354
push ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x14]
push edx
push eax
call fcn.10009ba0
push ebx
call fcn.1000ef2d
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
pop ebx
call fcn.1000e24e
add esp, 0x118
ret 4
Function at 0x1000b750
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x1001b33b
mov eax, dword fs:[0]
push eax
mov eax, 0x1230
mov dword fs:[0], esp
call fcn.1000e1e0
mov eax, dword [0x100215e0]
push esi
push edi
mov esi, ecx
push 0x100
lea ecx, [esp + 0xc]
mov dword [esp + 0x1238], eax
call fcn.1000a9e0
mov edi, dword [esp + 0x1248]
push 0xa02
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x124c], 0
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
jne 0x1000b7b8
mov byte [esp + 0x30], al
mov ecx, 0xa02
lea eax, [esp + 0x30]
cmp byte [eax], 0
je 0x1000b7cc
inc eax
dec ecx
jne 0x1000b7c1
jmp 0x1000b7f2
test ecx, ecx
je 0x1000b7f2
mov eax, 0xa02
sub eax, ecx
push 0x1001d7b4
mov ecx, 0xa02
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x38]
push edx
call fcn.100016f0
test eax, eax
jge 0x1000b82c
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000b803
push eax
call fcn.1000df32
add esp, 4
mov eax, dword [esp + 0x18]
push eax
call fcn.1000ef2d
mov ecx, dword [esp + 0x18]
push ecx
mov dword [esp + 0x20], 0
call fcn.1000ef2d
add esp, 8
mov eax, 1
jmp 0x1000b8c7
push 0x800
lea edx, [esp + 0xa38]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x1000b8a2
mov ecx, 0xa02
lea eax, [esp + 0x30]
lea ecx, [ecx]
cmp byte [eax], 0
je 0x1000b869
inc eax
dec ecx
jne 0x1000b850
lea ecx, [esp + 8]
call fcn.1000a840
mov eax, 1
jmp 0x1000b8c7
test ecx, ecx
je 0x1000b892
mov eax, 0xa02
sub eax, ecx
lea ecx, [esp + 0xa34]
push ecx
mov edx, 0xa02
sub edx, eax
push edx
lea eax, [esp + eax + 0x38]
push eax
call fcn.100016f0
test eax, eax
jge 0x1000b8a2
lea ecx, [esp + 8]
call fcn.1000a840
mov eax, 1
jmp 0x1000b8c7
push 0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x38]
push edx
mov ecx, esi
call fcn.1000aba0
test eax, eax
lea ecx, [esp + 8]
je 0x1000b896
mov dword [esi + 0x20], edi
call fcn.1000a840
xor eax, eax
mov ecx, dword [esp + 0x1238]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1230]
pop esi
call fcn.1000e24e
add esp, 0x123c
ret 4

Function at 0x1000bf90
Capabilities:
Access peb ldr_data
Enumerate gui resources
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x1001b358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 1
mov dword [esp + 8], esi
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
push 1
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], esi
mov dword [edi], esi
mov dword [esp + 0x30], esi
call fcn.1000bc80
test eax, eax
je 0x1000bff9
mov edi, 0xa0
jmp 0x1000c011
lea ecx, [esp + 8]
push ecx
push 0x1000bc60
call dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esp + 0x28]
mov dword [edi], edx
xor edi, edi
mov eax, dword [esp + 0xc]
cmp eax, esi
je 0x1000c022
push eax
call fcn.1000df32
add esp, 4
mov ecx, dword [esp + 0x2c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x1000c660
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x20]
mov esi, ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push edx
push 0
push 0
push 0
push eax
push ebp
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
test edi, edi
jne 0x1000c6bb
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
je 0x1000c6b3
push ecx
call ebx
mov dword [esi], 0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov dword [esi], ecx
push ebp
call ebx
test edi, edi
jne 0x1000c6ef
lea edx, [esp + 0x20]
push edx
mov edx, dword [esi]
lea eax, [esi + 0x8cc]
push eax
lea ecx, [esp + 0x20]
push ecx
push edi
push edi
push edx
mov dword [esp + 0x38], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 1
mov ecx, esi
call fcn.1000c600
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x1000c830
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1000c89b
push ebx
push edi
mov edi, dword [esp + 0x14]
mov al, byte [ecx + 0x100]
mov bl, byte [ecx + 0x101]
inc al
mov byte [ecx + 0x100], al
movzx eax, al
mov dl, byte [eax + ecx]
add eax, ecx
add bl, dl
mov byte [ecx + 0x101], bl
mov dl, byte [eax]
movzx ebx, bl
mov bl, byte [ebx + ecx]
mov byte [eax], bl
movzx eax, byte [ecx + 0x101]
mov byte [eax + ecx], dl
movzx eax, byte [ecx + 0x100]
mov al, byte [eax + ecx]
mov bl, byte [esi + edi]
add al, dl
movzx edx, al
mov al, byte [edx + ecx]
xor bl, al
mov byte [esi + edi], bl
inc esi
cmp esi, ebp
jb 0x1000c842
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
ret 8
Function at 0x1000c8c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
xor edi, edi
xor eax, eax
jmp 0x1000c8d0
mov byte [eax + ecx], al
inc eax
cmp eax, 0x100
jl 0x1000c8d0
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov eax, 1
sub eax, ecx
mov dword [esp + 0x14], eax
mov eax, 2
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, 3
sub eax, ecx
mov dword [esp + 0x10], edi
mov esi, ecx
mov dword [esp + 0x1c], eax
lea ebx, [ebx]
mov al, byte [esi]
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x10]
xor edx, edx
div ebp
movzx eax, byte [esp + 0x28]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x1000c93d
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + ecx]
mov al, byte [esp + 0x28]
mov byte [esi], dl
mov byte [edi + ecx], al
mov dl, byte [esi + 1]
mov eax, dword [esp + 0x14]
mov byte [esp + 0x28], dl
add eax, esi
xor edx, edx
div ebp
movzx eax, byte [esp + 0x28]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x1000c979
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + ecx]
mov al, byte [esp + 0x28]
mov byte [esi + 1], dl
mov byte [edi + ecx], al
mov dl, byte [esi + 2]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x28], dl
add eax, esi
xor edx, edx
div ebp
movzx eax, byte [esp + 0x28]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x1000c9b6
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + ecx]
mov al, byte [esp + 0x28]
mov byte [esi + 2], dl
mov byte [edi + ecx], al
mov dl, byte [esi + 3]
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x28], dl
add eax, esi
xor edx, edx
div ebp
movzx eax, byte [esp + 0x28]
movzx edx, byte [edx + ebx]
add edx, edi
add eax, edx
mov edi, eax
and edi, 0x800000ff
jns 0x1000c9f3
dec edi
or edi, 0xffffff00
inc edi
mov dl, byte [edi + ecx]
mov al, byte [esp + 0x28]
mov byte [esi + 3], dl
mov byte [edi + ecx], al
mov eax, dword [esp + 0x10]
add eax, 4
add esi, 4
cmp eax, 0x100
mov dword [esp + 0x10], eax
jl 0x1000c910
pop edi
pop esi
pop ebp
mov byte [ecx + 0x101], 0
mov byte [ecx + 0x100], 0
mov al, 1
pop ebx
add esp, 0x10
ret 8
Function at 0x1000caf0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [0x10033bcc]
test eax, eax
jne 0x1000cbad
xor eax, eax
nop
mov ecx, eax
and cl, 1
neg cl
mov edx, eax
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor ecx, edx
mov edx, ecx
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr ecx, 1
xor edx, ecx
mov dword [eax*4 + 0x10033bc8], edx
inc eax
cmp eax, 0x100
jl 0x1000cb00
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
test esi, esi
not eax
jbe 0x1000cbde
mov ecx, dword [esp + 0xc]
push edi
xor edx, edx
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
mov edi, dword [edx*4 + 0x10033bc8]
shr eax, 8
xor eax, edi
inc ecx
dec esi
jne 0x1000cbc1
pop edi
not eax
pop esi
ret

Function at 0x1000cbf0
Capabilities:
Get common file path
Get disk information

Disassembly:
sub esp, 0x220
mov eax, dword [0x100215e0]
push esi
mov dword [esp + 0x220], eax
push 0x105
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
je 0x1000cc4d
push 0
push 0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0x104
lea ecx, [esp + 0x130]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x33], 0
call esi
test eax, eax
jne 0x1000cc75
push 0
push 0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x104
lea eax, [esp + 0x130]
push eax
push 0
call esi
test eax, eax
je 0x1000ccb2
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x22c]
mov eax, dword [esp + 0x228]
push ecx
push 0x1001d838
push edx
push eax
call fcn.100015a7
add esp, 0x10
neg eax
sbb eax, eax
and eax, 0x7a
pop esi
mov ecx, dword [esp + 0x21c]
call fcn.1000e24e
add esp, 0x220
ret
mov ecx, dword [esp + 0x220]
mov eax, 0x1f
pop esi
call fcn.1000e24e
add esp, 0x220
ret
Function at 0x1000dc6a
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x100215e0]
push esi
mov dword [ebp + 0x74], eax
mov esi, ecx
call fcn.1000dbec
mov eax, 0x10000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.1000e300
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x1000dccc
cmp dword [ebp - 0x1c], 5
jb 0x1000dce4
jmp 0x1000dce0
cmp dword [ebp - 0x10], 1
jne 0x1000dce4
cmp dword [ebp - 0x1c], 4
ja 0x1000dce0
jne 0x1000dce4
cmp dword [ebp - 0x18], 0
jbe 0x1000dce4
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x710
mov dword [esi + 0x14], 0x1001da98
call fcn.10001186
test eax, eax
jge 0x1000dd05
mov byte [0x100224c0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
pop esi
call fcn.1000e24e
add ebp, 0x78
leave
ret

Function at 0x1000dfa3
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.1000e1e0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000e03e
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 [0x100343cc]
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 0x1000e03e
cmp eax, 1
je 0x1000e05f
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 0x1000e03e
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x1000e00b
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x1000e03a
xor eax, eax
inc eax
jmp 0x1000e07e
cmp edi, eax
jae 0x1000e042
xor eax, eax
jmp 0x1000e07e
cmp eax, esi
jae 0x1000e049
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 [0x100343cc]
jmp 0x1000e062
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 0x1000ef32
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
jne 0x1000f022
mov eax, 0x94
call fcn.1000e1e0
mov esi, esp
push esi
mov dword [esi], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000f097
mov ecx, dword [esi + 0x10]
mov dword [0x100343cc], ecx
mov eax, dword [esi + 4]
mov dword [0x100343d8], eax
mov edx, dword [esi + 8]
mov dword [0x100343dc], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
cmp ecx, 2
mov dword [0x100343d0], esi
je 0x1000ef9d
or esi, 0x8000
mov dword [0x100343d0], esi
shl eax, 8
add eax, edx
push 1
mov dword [0x100343d4], eax
call fcn.100115be
test eax, eax
pop ecx
je 0x1000f097
call fcn.100136cf
test eax, eax
jne 0x1000efca
call fcn.1001160f
jmp 0x1000f097
call fcn.1001488e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x10035b04], eax
call fcn.1001476c
mov dword [0x10034240], eax
call fcn.1001424d
test eax, eax
jl 0x1000f01b
call fcn.100146ca
test eax, eax
jl 0x1000f016
call fcn.10014497
test eax, eax
jl 0x1000f016
push 0
call fcn.10012226
test eax, eax
pop ecx
jne 0x1000f016
inc dword [0x1003423c]
jmp 0x1000f0a8
call fcn.1001444b
call fcn.100134b8
jmp 0x1000efc0
test eax, eax
jne 0x1000f052
cmp dword [0x1003423c], eax
jle 0x1000f097
dec dword [0x1003423c]
cmp dword [0x10034408], eax
jne 0x1000f041
call fcn.10012364
call fcn.1001444b
call fcn.100134b8
call fcn.1001160f
jmp 0x1000f0a8
cmp eax, 2
jne 0x1000f09b
push 0x8c
push 1
call fcn.10014192
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x1000f097
push esi
push dword [0x10021dcc]
call dword [0x10034478]
test eax, eax
push esi
je 0x1000f091
call fcn.100134d5
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
jmp 0x1000f0a8
call fcn.1000df32
pop ecx
xor eax, eax
jmp 0x1000f0ab
cmp eax, 3
jne 0x1000f0a8
push 0
call fcn.100136a0
pop ecx
xor eax, eax
inc eax
lea esp, [ebp - 4]
pop esi
pop ebp
ret 0xc

Function at 0x10012290
Capabilities:
Terminate process

Disassembly:
push 8
push 0x1001dd38
call fcn.1000e088
push 8
call fcn.10011573
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x1003440c], esi
jne 0x100122c4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x10034408], esi
mov al, byte [ebp + 0x10]
mov byte [0x10034404], al
cmp dword [ebp + 0xc], edi
jne 0x1001230e
cmp dword [0x10034ac8], edi
je 0x100122fe
mov eax, dword [0x10034ac4]
sub eax, 4
mov dword [0x10034ac4], eax
cmp eax, dword [0x10034ac8]
jb 0x100122fe
mov eax, dword [eax]
cmp eax, edi
je 0x100122df
call eax
jmp 0x100122df
push 0x10021068
mov eax, 0x10021060
call fcn.1001220e
pop ecx
push 0x10021074
mov eax, 0x1002106c
call fcn.1001220e
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x1001233f
cmp dword [ebp + 0x10], edi
jne 0x1001234d
mov dword [0x1003440c], esi
push dword [ebp + 8]
call fcn.100121cc
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x1001234c
push 8
call fcn.100114be
pop ecx
ret
call fcn.1000e0c3
ret