joyce8/EMBER2024-capa huggingface dataset:
Function at 0x494e23
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00401df7
mov eax, dword [0x514768]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00406073
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x494e65
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x494fc1
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.004061d6
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x5186c8]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00403346
mov ecx, dword [esi*4 + 0x5186c8]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x494fba
cmp eax, dword [edi + ecx + 0x24]
jne 0x494fba
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x494fba
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00403346
add esp, 0x14
test edx, edx
jl 0x494fba
jg 0x494f30
test eax, eax
jb 0x494fba
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x494fba
jl 0x494f4a
cmp dword [ebp - 0x1008], eax
ja 0x494fba
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x494f68
test ebx, ebx
je 0x494fa1
cmp ecx, edi
jae 0x494fa1
mov al, byte [ecx]
cmp al, 0xd
jne 0x494f82
lea eax, [edi - 1]
cmp ecx, eax
jae 0x494f8e
cmp byte [ecx + 1], 0xa
jne 0x494f8e
inc ecx
jmp 0x494f8e
movzx eax, al
movsx eax, byte [eax + 0x514a98]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x494f68
cmp edx, ebx
jne 0x494f68
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x494fbf
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040311b
leave
ret
Function at 0x495700
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x5186c8]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x495740
cmp byte [ebx], 0xa
jne 0x495740
or byte [eax + edi + 0x28], 4
jmp 0x495745
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x495843
mov al, byte [edx]
cmp al, 0x1a
je 0x495825
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x495774
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x495799
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x4957a3
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x495756
jmp 0x495843
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x495820
cmp dword [ebp - 0xc], 0
je 0x495820
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x5186c8]
test byte [eax + edi + 0x28], 0x48
je 0x4957fa
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x4957e5
mov byte [esi], dl
jmp 0x4957f6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x5186c8]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x495843
cmp byte [ebp - 1], 0xa
jne 0x495809
cmp esi, ebx
jne 0x495809
mov byte [esi], 0xa
jmp 0x495842
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0040197e
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x495843
mov byte [esi], 0xd
jmp 0x495842
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x5186c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49583f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x495843
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49589f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x5186c8]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4958e2
cmp word [esi], dx
jne 0x4958e2
or byte [edi + eax + 0x28], 4
jmp 0x4958e7
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x495a3a
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x495a1a
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x495929
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x49595f
cmp eax, edx
jae 0x49596b
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x495901
jmp 0x495a3a
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x495a16
cmp dword [ebp - 0x14], 0
je 0x495a16
mov eax, dword [ebx*4 + 0x5186c8]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4959ee
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4959b7
mov word [esi], cx
jmp 0x4959ea
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x5186c8]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x5186c8]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x5186c8]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x495a3a
pop ebx
cmp word [ebp - 4], bx
jne 0x4959ff
cmp esi, dword [ebp + 0xc]
jne 0x4959ff
mov word [esi], bx
jmp 0x495a37
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0040197e
add esp, 0x10
cmp word [ebp - 4], bx
je 0x495a3a
push 0xd
jmp 0x495a33
mov ecx, dword [ebx*4 + 0x5186c8]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x495a31
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x495a3a
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49ce21
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x514768]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x49ce6c
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0049d2e3
test al, al
jne 0x49ce66
sub edx, 2
cmp edx, edi
jne 0x49ce4c
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x49ce8e
lea eax, [edi + 2]
cmp edx, eax
je 0x49ce8e
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0049ca1a
add esp, 0x10
jmp 0x49cf88
push esi
lea ecx, [ebp - 0x255]
call fcn.0049d2e3
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x49ced1
push dword [ebp - 0x25c]
jmp 0x49ce7e
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x49cf0e
cmp word [ebp - 0x226], 0
je 0x49cf2f
cmp word [ebp - 0x226], ax
jne 0x49cf0e
cmp word [ebp - 0x224], 0
je 0x49cf2f
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0049ca1a
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x49cf7b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x49cee8
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x49cf63
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x49cf88
push 0x49c402
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004056ff
add esp, 0x10
jmp 0x49cf58
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040311b
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43301e
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403630
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push 0x72c5e8
call fcn.00403740
mov eax, dword [0x72c5f4]
push 0x72c5e8
inc eax
mov dword [0x72c5f4], eax
call fcn.004036f0
mov ecx, dword [esp + 0x18]
add esp, 8
lea eax, [esp + 4]
push eax
push 0
push ecx
push 0x4035e0
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateThread]
mov esi, dword [esp + 0xc]
test eax, eax
mov dword [esi], eax
je 0x403690
push 0xffffffffffffffff
push eax
call dword [sym.imp.kernel32.dll_SetThreadPriority]
mov edx, dword [esi]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
pop esi
pop ecx
ret
xor al, al
pop esi
pop ecx
ret

Function at 0x404170
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
xor edx, edx
xor ecx, ecx
mov al, byte [esi]
mov dword [esp + 4], edx
test al, al
je 0x4041a7
push ebx
mov edx, ecx
and edx, 3
mov bl, byte [esp + edx + 8]
lea edx, [esp + edx + 8]
xor bl, al
mov al, byte [ecx + esi + 1]
inc ecx
mov byte [edx], bl
test al, al
jne 0x404185
mov eax, dword [esp + 8]
pop ebx
pop esi
pop ecx
ret
mov eax, edx
pop esi
pop ecx
ret

Function at 0x404290
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x7d0
call dword [sym.imp.kernel32.dll_GetCommandLineA]
lea edx, [esp]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x4042a0
push esi
lea eax, [esp + 4]
push edi
push eax
call fcn.006bf5a0
mov al, byte [esp + 0xc]
mov esi, dword [esp + 0x7e0]
add esp, 4
or ecx, 0xffffffff
cmp al, 0x22
jne 0x4042ef
lea edi, [esp + 9]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xd]
push ecx
push esi
call fcn.006b09a0
push 0x22
push esi
call fcn.006b0840
add esp, 0x14
jmp 0x404318
lea edi, [esp + 8]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + 8]
push ecx
push edx
push esi
call fcn.006b09a0
push 0x6fea04
push esi
call fcn.006b07b0
add esp, 0x14
test eax, eax
je 0x40431b
mov byte [eax], 0
push 0x5c
push esi
call fcn.006b0940
add esp, 8
test eax, eax
pop edi
pop esi
je 0x404339
mov byte [eax + 1], 0
mov al, 1
add esp, 0x7d0
ret
xor al, al
add esp, 0x7d0
ret
Function at 0x407f00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6bf848
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov ecx, dword [esp + 0x30]
push edi
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov edi, dword [ecx + 4]
xor eax, edx
mov edx, dword [ecx]
xor eax, edi
xor eax, edx
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi]
lea edi, [eax + edx*4]
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov dword [esp + 0x10], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
lea eax, [esp + 0x10]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.004080c0
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x3c]
inc edx
test eax, eax
mov dword [esi + 8], edx
je 0x407f9b
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x409df0
Capabilities:
Check for software breakpoints

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
cmp ebp, 0xffffffff
mov edi, ecx
je 0x409f58
mov al, byte [edi + 0xae]
test al, al
jne 0x409e1a
cmp ebp, 0x1f4
je 0x409f58
lea esi, [edi + 0xb4]
push esi
mov dword [esp + 0x14], esi
call fcn.00403740
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
add esp, 4
test eax, eax
je 0x409e42
cmp ebp, dword [eax + 8]
je 0x409e5a
mov eax, dword [eax]
test eax, eax
jne 0x409e37
mov esi, dword [edi + 4]
test esi, esi
je 0x409e76
mov eax, dword [esi]
test eax, eax
je 0x409e6b
mov dword [esi], 0
mov dword [edi + 4], eax
jmp 0x409e72
push esi
call fcn.004036f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
mov dword [edi + 4], 0
test esi, esi
jne 0x409e8b
mov eax, dword [esp + 0x10]
push eax
call fcn.004036f0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
and ecx, 0xff
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esi + 8], ebp
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
call fcn.004036a0
test al, al
sete dl
mov byte [esi + 0x1c], dl
mov edx, dword [ebx]
mov eax, edx
xor ecx, ecx
test eax, eax
je 0x409ed7
mov ebp, dword [esi + 4]
cmp dword [eax + 4], ebp
jbe 0x409f3a
mov ecx, eax
mov eax, dword [eax]
test eax, eax
jne 0x409eca
push ecx
push esi
mov ecx, ebx
call fcn.0040a0f0
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004036f0
mov al, byte [edi + 0xac]
add esp, 4
test al, al
je 0x409f58
mov al, byte [edi + 0xad]
test al, al
mov eax, dword [esp + 0x18]
jne 0x409f13
cmp eax, 0xc8
jb 0x409f13
cmp eax, 0xcc
jbe 0x409f58
mov cl, byte [edi + 0xae]
test cl, cl
jne 0x409f24
cmp eax, 0x1f4
je 0x409f58
mov al, byte [esi + 0x1c]
test al, al
jne 0x409f4c
mov ecx, edi
call fcn.00409f60
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
test ecx, ecx
jne 0x409f44
mov dword [esi], edx
mov dword [ebx], esi
jmp 0x409ee0
mov eax, dword [ecx]
mov dword [esi], eax
mov dword [ecx], esi
jmp 0x409ee0
add esi, 0x18
push esi
call fcn.00403740
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x14
Function at 0x426b70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6c01d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x6d2098
push 0x426af0
push 3
lea eax, [esi + 0x65c0]
push 0x34
push eax
mov dword [esp + 0x20], 1
call fcn.006b129c
push 0x426ab0
push 0x64
lea ecx, [esi + 0x30]
push 0x104
push ecx
mov byte [esp + 0x20], 0
call fcn.006b129c
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esi], 0x6d2120
call fcn.00430990
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x426b86
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6c01d1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x6d2098
push 0x426af0
push 3
lea eax, [esi + 0x65c0]
push 0x34
push eax
mov dword [esp + 0x20], 1
call fcn.006b129c
push 0x426ab0
push 0x64
lea ecx, [esi + 0x30]
push 0x104
push ecx
mov byte [esp + 0x20], 0
call fcn.006b129c
mov ecx, esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esi], 0x6d2120
call fcn.00430990
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4429e7
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c0775
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x6d3798
mov eax, dword [esi + 0x70]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 7
je 0x442a0e
push eax
call fcn.00401600
add esp, 4
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov eax, dword [esi + 0x5c]
mov byte [esp + 0x14], 5
cmp eax, ebx
je 0x442a29
push eax
call fcn.00401600
add esp, 4
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov eax, dword [esi + 0x4c]
mov byte [esp + 0x14], 3
cmp eax, ebx
je 0x442a44
push eax
call fcn.00401600
add esp, 4
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x54], ebx
mov eax, dword [esi + 0x40]
mov byte [esp + 0x14], 2
cmp eax, ebx
je 0x442a5f
push eax
call fcn.00401600
add esp, 4
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x34]
mov byte [esp + 0x14], 1
cmp eax, ebx
je 0x442a7a
push eax
call fcn.00401600
add esp, 4
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov eax, dword [esi + 0x28]
mov byte [esp + 0x14], bl
cmp eax, ebx
je 0x442a94
push eax
call fcn.00401600
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi], 0x6d0564
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x447480
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6c0921
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
push fcn.0048ede0
push fcn.0050c840
lea edi, [esi + 0x20]
push 4
push 8
push edi
mov dword [esp + 0x28], 2
call fcn.006b121a
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov byte [esi + 0x1c], al
mov byte [esi + 0x1d], al
mov byte [esi + 0x40], al
mov dword [edi], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi], 0x6d35e0
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x44bd90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x20
push esi
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 8]
push eax
push ecx
push 0
push 0x20019
push 0
push 0
push 0
push 0x701c58
push 0x80000002
mov dword [esp + 0x2c], 0
call dword [sym.imp.advapi32.dll_RegCreateKeyExA]
mov eax, dword [esp + 8]
test eax, eax
je 0x44be39
mov edi, dword [sym.imp.advapi32.dll_RegQueryValueExA]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0x701c50
push eax
call edi
test eax, eax
jne 0x44be39
cmp dword [esp + 0x10], 1
jne 0x44be39
mov edx, dword [esp + 0xc]
push edx
call fcn.004015c0
mov edx, dword [esp + 0xc]
add esp, 4
mov esi, eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push esi
push ecx
push 0
push 0x701c50
push edx
call edi
mov edi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.advapi32.dll_RegCloseKey]
test edi, edi
je 0x44be41
test esi, esi
je 0x44be39
push esi
call fcn.00401600
add esp, 4
pop edi
mov al, 1
pop esi
add esp, 0x20
ret
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0x701c44
push esi
call fcn.006b1b75
add esp, 0x18
cmp eax, 4
jne 0x44be9b
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x44be9b
mov eax, dword [esp + 0x18]
xor edx, edx
mov edi, 0xa
div edi
push edx
xor edx, edx
div edi
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x1c]
push edx
push 0x701c30
push eax
push ecx
call fcn.00404240
add esp, 0x18
test esi, esi
je 0x44bea8
push esi
call fcn.00401600
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, 9
jae 0x44beb9
pop edi
xor al, al
pop esi
add esp, 0x20
ret
jne 0x44be39
cmp dword [esp + 0x18], 0x388
jae 0x44be39
pop edi
xor al, al
pop esi
add esp, 0x20
ret
Function at 0x495c47
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6c22fe
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x6d6208
mov eax, dword [esi + 0x48]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], 2
je 0x495c6e
push eax
call fcn.00401600
add esp, 4
mov dword [esi + 0x48], ebx
mov dword [esi + 0x50], ebx
mov eax, dword [esi + 0x3c]
mov byte [esp + 0x14], 1
cmp eax, ebx
je 0x495c89
push eax
call fcn.00401600
add esp, 4
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov eax, dword [esi + 0x30]
mov byte [esp + 0x14], bl
cmp eax, ebx
je 0x495ca3
push eax
call fcn.00401600
add esp, 4
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi], 0x6d0564
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret