joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10095d90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0745
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push edx
push eax
call fcn.100756e0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10095e1a
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x10095f62
cmp dword [ebx + 8], 0xfffffff
jne 0x10095e2e
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
push 0x10
mov dword [ebp - 0x24], 0
call fcn.10097e58
mov edx, dword [ebp - 0x10]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [ebp - 4], 1
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0x1c]
inc eax
movss xmm3, dword [ebx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100a9f20]
mov eax, ecx
shr eax, 0x1f
cvtpd2ps xmm2, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x100a9f20]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x10095f15
divss xmm2, xmm3
sub esp, 8
movss dword [ebp - 0x10], xmm2
fld dword [ebp - 0x10]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
add esp, 8
fstp dword [ebp - 0x10]
movss xmm0, dword [ebp - 0x10]
call fcn.10099360
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x10095ef7
cmp eax, 0x200
jae 0x10095ef5
shl eax, 3
cmp eax, ecx
jae 0x10095ef7
mov eax, ecx
push eax
mov ecx, ebx
call fcn.10063640
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100756e0
mov edx, dword [eax]
jmp 0x10095f18
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x14]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x10095f43
mov dword [ecx + eax*8], esi
jmp 0x10095f55
cmp ebx, edx
jne 0x10095f4c
mov dword [ecx + eax*8], esi
jmp 0x10095f59
mov edx, dword [ebp - 0x10]
cmp dword [ecx + eax*8 + 4], edx
jne 0x10095f59
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41cc8d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c92f

Function at 0x41cc98
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041cabe

Function at 0x41d092
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040a1b0
mov eax, dword [0x47fd00]
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.0041a989
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41d0d4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41d230
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00426c50
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 + 0x481c38]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041e262
mov ecx, dword [esi*4 + 0x481c38]
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 0x41d229
cmp eax, dword [edi + ecx + 0x24]
jne 0x41d229
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 0x41d229
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041e262
add esp, 0x14
test edx, edx
jl 0x41d229
jg 0x41d19f
test eax, eax
jb 0x41d229
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41d229
jl 0x41d1b9
cmp dword [ebp - 0x1008], eax
ja 0x41d229
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41d1d7
test ebx, ebx
je 0x41d210
cmp ecx, edi
jae 0x41d210
mov al, byte [ecx]
cmp al, 0xd
jne 0x41d1f1
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41d1fd
cmp byte [ecx + 1], 0xa
jne 0x41d1fd
inc ecx
jmp 0x41d1fd
movzx eax, al
movsx eax, byte [eax + 0x47ffd8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41d1d7
cmp edx, ebx
jne 0x41d1d7
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41d22e
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409453
leave
ret
Function at 0x41d700
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 + 0x481c38]
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 0x41d740
cmp byte [ebx], 0xa
jne 0x41d740
or byte [eax + edi + 0x28], 4
jmp 0x41d745
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x41d843
mov al, byte [edx]
cmp al, 0x1a
je 0x41d825
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x41d774
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x41d799
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x41d7a3
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 0x41d756
jmp 0x41d843
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 0x41d820
cmp dword [ebp - 0xc], 0
je 0x41d820
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x481c38]
test byte [eax + edi + 0x28], 0x48
je 0x41d7fa
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x41d7e5
mov byte [esi], dl
jmp 0x41d7f6
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x481c38]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x41d843
cmp byte [ebp - 1], 0xa
jne 0x41d809
cmp esi, ebx
jne 0x41d809
mov byte [esi], 0xa
jmp 0x41d842
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0041e280
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x41d843
mov byte [esi], 0xd
jmp 0x41d842
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x481c38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d83f
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d843
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d84c
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 + 0x481c38]
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 0x41d88f
cmp word [esi], dx
jne 0x41d88f
or byte [edi + eax + 0x28], 4
jmp 0x41d894
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 0x41d9e7
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 0x41d9c7
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41d8d6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41d90c
cmp eax, edx
jae 0x41d918
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 0x41d8ae
jmp 0x41d9e7
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 0x41d9c3
cmp dword [ebp - 0x14], 0
je 0x41d9c3
mov eax, dword [ebx*4 + 0x481c38]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41d99b
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41d964
mov word [esi], cx
jmp 0x41d997
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x481c38]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x481c38]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x481c38]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41d9e7
pop ebx
cmp word [ebp - 4], bx
jne 0x41d9ac
cmp esi, dword [ebp + 0xc]
jne 0x41d9ac
mov word [esi], bx
jmp 0x41d9e4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041e280
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41d9e7
push 0xd
jmp 0x41d9e0
mov ecx, dword [ebx*4 + 0x481c38]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41d9de
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41d9e7
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 0x41f7de
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41f87b
push ebx
push esi
call fcn.0041f7a7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041e42c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f828
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f87a
push edi
push eax
call fcn.00419ae3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f848
call fcn.00418da9
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f879
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041e42c
add esp, 0x20
test eax, eax
jne 0x41f867
push edi
call fcn.00418da9
jmp 0x41f86f
push ebx
call fcn.00418da9
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x426a50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426a7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426a7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4285ec
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42866c
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42866b
push ebx
mov ebx, 0x481200
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.00401200
push eax
call fcn.00402518
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.00401200
push eax
call fcn.00402518
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x4293f0
mov byte [edi + esi], al
call fcn.0040eb3e
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x42860e
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00404306
pop edi
pop ebp
ret 0x14
Function at 0x100014fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000979c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push edi
mov dword [ebp - 0x218], 1
push 0x100fd64c
lea ecx, [ebp - 0x228]
call fcn.10008f9c
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x220], 4
mov dword [ebp - 0x14], 1
lea eax, [ebp - 0x224]
push eax
push 0xf003f
push 0
push str.SOFTWAREZKYRCheckToolOS
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x1000158c
mov dword [ebp - 0x218], 0
mov byte [ebp - 0x214], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x220], 0x200
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 0x214]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
push str.OSType
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::operator_2
push str.PeOS
lea eax, [ebp - 0x228]
push eax
call fcn.10007900
and eax, 0xff
test eax, eax
je 0x1000160b
mov dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0x224]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x22c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x1000164b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x10001664
mov eax, 1
jmp 0x10001666
xor eax, eax
pop ebp
ret

Function at 0x10001714
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100097cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10007960
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x10001773
mov eax, dword [ebp - 0x10]
and eax, 0x10
test eax, eax
je 0x10001773
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
jmp 0x1000178c
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000615d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009dc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
push edi
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 2
push 0x100fd6c8
lea ecx, [ebp - 0x220]
call fcn.10008f9c
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x218], 4
cmp dword [0x100fd624], 0
jne 0x100061e4
lea eax, [ebp - 0x21c]
push eax
push 0xf003f
push 0
lea ecx, [ebp + 0x10]
call fcn.10007960
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x214], eax
jmp 0x1000620b
lea edx, [ebp - 0x21c]
push edx
push 0xf033f
push 0
lea ecx, [ebp + 0x10]
call fcn.10007960
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x214], eax
mov byte [ebp - 0x210], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x218], 0x200
lea ecx, [ebp - 0x218]
push ecx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp + 0x18]
push eax
push 0
lea ecx, [ebp + 0x14]
call fcn.10007960
push eax
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 0x220]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x220]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x224]
or edx, 1
mov dword [ebp - 0x224], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100068f8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10009eca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x24c], 0
push 0x100fd6dc
lea ecx, [ebp - 0x30]
call fcn.10008f9c
mov dword [ebp - 4], 1
push str.vm_samSAMDomainsAccountUsers
lea eax, [ebp - 0x248]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x140]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x248]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x100069b0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebp - 0x25c]
or ecx, 1
mov dword [ebp - 0x25c], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
jmp 0x10006af6
mov byte [ebp - 0x28], 0
xor edx, edx
mov dword [ebp - 0x27], edx
mov dword [ebp - 0x23], edx
mov byte [ebp - 0x1f], dl
mov eax, 1
test eax, eax
je 0x10006acc
mov dword [ebp - 0x2c], 0x104
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x260], ecx
mov edx, dword [ebp - 0x260]
push edx
mov eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x24c]
add ecx, 1
mov dword [ebp - 0x24c], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x10006a38
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006acc
lea eax, [ebp - 0x13c]
push eax
call fcn.10006838
add esp, 4
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0x258]
jne 0x10006ac7
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov eax, dword [ebp - 0x10]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x12]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x14]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x16]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x1a]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x1c]
and edx, 0xffff
push edx
push str._d__02d__02d__02d:_02d:_02d
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x20
jmp 0x10006acc
jmp 0x100069bf
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [ebp - 0x25c]
or edx, 1
mov dword [ebp - 0x25c], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x420b5b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b9a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b9a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b9a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b9a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b9a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x69721821
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x2f1f732e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219