joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004807d
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100481de
push 0x29
pop edi
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100481de
cmp eax, edi
jne 0x100480be
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x100481de
cmp eax, edi
jne 0x100480be
test dword [esi + 0x50], edx
je 0x100481e4
cmp eax, 0x2e
jne 0x100480d9
push 5
lea ecx, [esi + 0x24]
call fcn.100832cd
mov ecx, esi
call fcn.10049c8b
jmp 0x100481c9
cmp eax, 0x5c
jne 0x1004812e
mov ecx, esi
call fcn.10049c8b
test byte [esi + 0x50], 0x80
je 0x10048122
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1004810a
push 4
lea ecx, [esi + 0x24]
call fcn.100832cd
mov ecx, esi
call fcn.10049c8b
jmp 0x100481d0
cmp eax, 0x42
jne 0x10048122
push 4
lea ecx, [esi + 0x24]
call fcn.100832cd
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100480fe
mov ecx, esi
call fcn.100832cd
jmp 0x100481c9
cmp eax, 0x5b
jne 0x1004814e
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004877d
push 4
push 0x5d
mov ecx, esi
call fcn.100832cd
jmp 0x100481c9
cmp eax, 0x28
jne 0x1004816f
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004a1aa
push 5
push edi
mov ecx, esi
mov bl, al
call fcn.100832cd
jmp 0x100481c5
cmp eax, 0x5e
jne 0x1004817b
push 2
jmp 0x100480f6
cmp eax, 0x24
jne 0x10048187
push 3
jmp 0x100480f6
cmp eax, 0x2a
je 0x100481f4
cmp eax, 0x2b
je 0x100481f4
cmp eax, 0x3f
je 0x100481f4
cmp eax, 0x7b
je 0x100481f4
cmp eax, 0x7d
jne 0x100481a5
test dword [esi + 0x50], edx
je 0x100481ec
cmp eax, 0x5d
jne 0x100481af
test dword [esi + 0x50], edx
je 0x100481f0
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100832cd
mov ecx, esi
call fcn.10049c8b
mov bl, 1
test bl, bl
je 0x100481d0
mov ecx, esi
call fcn.100832cd
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10048093
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 6
jmp 0x100481e6
push 4
jmp 0x100481e6
push 0xa
jmp 0x100481e6
Function at 0x1004807e
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100481de
push 0x29
pop edi
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100481de
cmp eax, edi
jne 0x100480be
cmp dword [esi + 0x10], 0
mov eax, edi
jne 0x100481de
cmp eax, edi
jne 0x100480be
test dword [esi + 0x50], edx
je 0x100481e4
cmp eax, 0x2e
jne 0x100480d9
push 5
lea ecx, [esi + 0x24]
call fcn.100832cd
mov ecx, esi
call fcn.10049c8b
jmp 0x100481c9
cmp eax, 0x5c
jne 0x1004812e
mov ecx, esi
call fcn.10049c8b
test byte [esi + 0x50], 0x80
je 0x10048122
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x1004810a
push 4
lea ecx, [esi + 0x24]
call fcn.100832cd
mov ecx, esi
call fcn.10049c8b
jmp 0x100481d0
cmp eax, 0x42
jne 0x10048122
push 4
lea ecx, [esi + 0x24]
call fcn.100832cd
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100480fe
mov ecx, esi
call fcn.100832cd
jmp 0x100481c9
cmp eax, 0x5b
jne 0x1004814e
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004877d
push 4
push 0x5d
mov ecx, esi
call fcn.100832cd
jmp 0x100481c9
cmp eax, 0x28
jne 0x1004816f
mov ecx, esi
call fcn.10049c8b
mov ecx, esi
call fcn.1004a1aa
push 5
push edi
mov ecx, esi
mov bl, al
call fcn.100832cd
jmp 0x100481c5
cmp eax, 0x5e
jne 0x1004817b
push 2
jmp 0x100480f6
cmp eax, 0x24
jne 0x10048187
push 3
jmp 0x100480f6
cmp eax, 0x2a
je 0x100481f4
cmp eax, 0x2b
je 0x100481f4
cmp eax, 0x3f
je 0x100481f4
cmp eax, 0x7b
je 0x100481f4
cmp eax, 0x7d
jne 0x100481a5
test dword [esi + 0x50], edx
je 0x100481ec
cmp eax, 0x5d
jne 0x100481af
test dword [esi + 0x50], edx
je 0x100481f0
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100832cd
mov ecx, esi
call fcn.10049c8b
mov bl, 1
test bl, bl
je 0x100481d0
mov ecx, esi
call fcn.100832cd
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10048093
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xregex_error_enum_std::regex_constants::error_type_]
push 6
jmp 0x100481e6
push 4
jmp 0x100481e6
push 0xa
jmp 0x100481e6
Function at 0x100832cd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
pushal
call 0x100832dc
pop dword [ebp - 0x30]
mov eax, 0xb17b7739
add eax, 0x5e8cbba3
sub dword [ebp - 0x30], eax
mov dword [ebp - 0x40], 0x5907bda9
sub dword [ebp - 0x40], 0xab5785e
mov dword [ebp - 0x3c], 0x19ad95fd
sub dword [ebp - 0x3c], 0xe77a49b8
mov dword [ebp - 0x38], 0x1fc5e92b
add dword [ebp - 0x38], 0x2c865b03
mov dword [ebp - 0x34], 0x7804aad5
sub dword [ebp - 0x34], 0x7804aad5
lea eax, [ebp - 0x40]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x30]
call dword [eax]
mov dword [ebp - 0x40], 0xea8f786f
add dword [ebp - 0x40], 0x89e2f0e7
mov dword [ebp - 0x3c], 0xf61e2d6b
add dword [ebp - 0x3c], 0x4b4e340a
mov dword [ebp - 0x38], 0xa5fa28a4
sub dword [ebp - 0x38], 0x428abc38
mov dword [ebp - 0x34], 0xecc9e4ac
add dword [ebp - 0x34], 0x13361b54
lea ebx, [ebp - 0x40]
push ebx
push eax
mov eax, 0x24248b78
add eax, 0xebe404c4
add eax, dword [ebp - 0x30]
call dword [eax]
push 0x40
push 0x1000
push 0x636c9
push 0
call eax
mov ecx, 0xd5ce1730
add ecx, 0x2a323514
mov edi, eax
mov ebx, 0xfe523939
add ebx, 0x11b92ac7
add ebx, dword [ebp - 0x30]
mov esi, 0xe5e74b16
sub esi, 0x759f1a79
mov edx, dword [ebx]
xor dword [ebp - 0x14], esi
xor edx, esi
sub dword [ebp - 8], edi
mov dword [edi], edx
xor dword [ebp - 0x14], edx
add edi, 4
add ebx, 0x2848012d
add ebx, 0xd7b7fed7
loop 0x100833f9
add eax, 0x58ef2a70
sub eax, 0x58ee068d
mov ebx, eax
add eax, 5
mov ecx, 0x29356192
add ecx, 0xe6ca9e6e
add ecx, dword [ebp - 0x30]
call ebx
leave
ret
Function at 0x4123c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, ecx
mov esi, edx
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
test edi, edi
je 0x4123ef
test esi, 7
je 0x4123ef
movzx edx, byte [esi]
inc esi
movzx ebx, al
xor edx, ebx
shr eax, 8
xor eax, dword [ebp + edx*4]
dec edi
jne 0x4123d4
cmp edi, 0x10
jb 0x412478
mov dword [esp + 0x14], edi
sub edi, 8
and edi, 0xfffffff8
sub dword [esp + 0x14], edi
add edi, esi
xor eax, dword [esi]
mov ebx, dword [esi + 4]
movzx ecx, bl
mov edx, dword [ebp + ecx*4 + 0xc00]
movzx ecx, bh
xor edx, dword [ebp + ecx*4 + 0x800]
shr ebx, 0x10
movzx ecx, bl
xor edx, dword [ebp + ecx*4 + 0x400]
xor edx, dword [esi + 8]
movzx ecx, al
movzx ebx, bh
xor edx, dword [ebp + ebx*4]
mov ebx, dword [esi + 0xc]
xor edx, dword [ebp + ecx*4 + 0x1c00]
movzx ecx, ah
add esi, 8
shr eax, 0x10
xor edx, dword [ebp + ecx*4 + 0x1800]
movzx ecx, al
xor edx, dword [ebp + ecx*4 + 0x1400]
movzx ecx, ah
mov eax, dword [ebp + ecx*4 + 0x1000]
movzx ecx, bl
xor eax, edx
cmp esi, edi
jne 0x412410
xor eax, dword [esi]
mov edi, dword [esp + 0x14]
test edi, edi
je 0x41248f
movzx edx, byte [esi]
inc esi
movzx ebx, al
xor edx, ebx
shr eax, 8
xor eax, dword [ebp + edx*4]
dec edi
jne 0x41247c
pop ebp
pop edi
pop esi
pop ebx
ret 8

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
sub dword [edi + ecx*4 + 0xbc5d1b7], 0x224d430
mov eax, dword [0x1b6a66c6]
and cl, ch
xor ch, cl
sub bl, dl
cmp bl, byte [ecx - 0x716b67b0]
insd dword es:[edi], dx
and eax, 0x9fd4325a
outsb dx, byte [esi]
inc ecx
xchg edi, eax
and eax, 0x64a431d2
push 0xffffffffffffff99
test dl, bl
xchg ebp, eax
invalid

Function at 0x416a10
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push 0
push eax
push 0
push 0x20019
push 0
push 0
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, dword [esp]
test eax, eax
je 0x416ab0
lea ecx, [esp + 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.FeatureSettings
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 4
call esi
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.FeatureSettingsOverride
push edx
call esi
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
or eax, ecx
pop esi
xor eax, 0x11
neg eax
sbb eax, eax
inc eax
add esp, 0x10
ret
xor eax, eax
add esp, 0x10
ret
Function at 0x401d20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x401d49
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401d5f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401d56
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x401d92
nop
cmp esi, ecx
jae 0x401d56
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x401d80
cmp esi, ecx
jae 0x401d56
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402f30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push edi
call fcn.00430e2b
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x403031
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x403031
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403031
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403031
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402fb8
cmp esi, ecx
jae 0x403031
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402fa2
cmp esi, ecx
jae 0x403031
movzx eax, word [esi]
test ax, ax
je 0x403031
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x402feb
push edi
mov ecx, ebx
call fcn.00403700
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x402fee
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.0056d23d
add esp, 0x10
cmp eax, 0x50
ja case.0x40300c.1
movzx eax, byte [eax + 0x403060]
jmp dword [eax*4 + 0x403050]
mov eax, dword [ebx]
cmp edi, dword [eax - 8]
jg 0x403041
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0043206e
push 0x80070057
call fcn.00401cd0
call fcn.00432054
adc esi, dword [eax]
inc eax
add byte [eax + esi], bh
inc eax
add byte [ebx + 0x30], cl
inc eax
add byte [ebx + 0x30], cl
inc eax
add byte [eax], al
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ecx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [edx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [ebx]
add eax, dword [eax]
int3
Function at 0x4033f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4034de
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4034de
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4034de
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x403467
cmp esi, ecx
jae 0x4034de
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x403451
cmp esi, ecx
jae 0x4034de
movzx eax, word [esi]
test ax, ax
je 0x4034de
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x40349a
push edi
mov ecx, ebx
call fcn.00403700
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x40349d
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.0056d23d
add esp, 0x10
cmp eax, 0x50
ja case.0x4034bb.1
movzx eax, byte [eax + 0x40350c]
jmp dword [eax*4 + 0x4034fc]
mov ecx, dword [ebx]
cmp edi, dword [ecx - 8]
jg 0x4034ec
mov dword [ecx - 0xc], edi
xor edx, edx
mov ecx, dword [ebx]
lea eax, [edx + 1]
mov word [ecx + edi*2], dx
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
call fcn.0043206e
push 0x80070057
call fcn.00401cd0
call fcn.00432054
nop
ret 0x4034

Function at 0x403be0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0043d434
Function at 0x40f940
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5888c1
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x5f3fcc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ecx + 0x40]
xor esi, esi
mov dword [ebp - 0x158], ecx
mov eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
je 0x40fb96
xor edx, edx
mov edi, dword [eax]
mov ecx, dword [edi + 0x14]
dec ecx
cmp ecx, 0x1d
ja 0x40f9c0
movups xmm0, xmmword [edi + 0x18]
movups xmmword [ebp + edx - 0x90], xmm0
movups xmm0, xmmword [edi + 0x28]
movups xmmword [ebp + edx - 0x80], xmm0
mov ecx, dword [edi + 0x14]
test ecx, ecx
jle 0x40f9c0
add ecx, edx
inc esi
add edx, 0x20
mov byte [ebp + ecx - 0x90], 0
cmp edx, 0x60
jge 0x40f9ce
mov ecx, dword [ebp - 0x158]
add eax, 4
cmp eax, dword [ecx + 0x14]
jne 0x40f986
test esi, esi
jle 0x40fb96
xorps xmm0, xmm0
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x12c], xmm0
lea ecx, [ebp - 0x120]
mov dword [ebp - method.RegistryKey.virtual_0], vtable.RegistryKey.0
movq qword [ebp - 0x11c], xmm0
call fcn.004213f0
push ecx
push 1
push str.SOFTWAREWinUsbDisplayServer
push SysReAllocString
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0
call fcn.00412e10
mov dword [ebp - 4], 1
lea edi, [ebp - 0x90]
push edi
push str.sn:_S
lea eax, [ebp - 0x110]
push 0x40
push eax
call fcn.0040d900
add esp, 0x10
lea ecx, [ebp - 0x14c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x14c], xmm0
call fcn.004213f0
lea eax, [ebp - 0x14c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x12c]
call fcn.00412d00
test al, al
jne 0x40fb43
lea eax, [ebp - 0x154]
push eax
call fcn.00422010
add esp, 4
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x154]
push eax
call fcn.004220e0
movzx eax, word [ebp - 0x130]
push eax
movzx eax, word [ebp - 0x132]
push eax
movzx eax, word [ebp - 0x134]
push eax
movzx eax, word [ebp - 0x136]
push eax
movzx eax, word [ebp - 0x13a]
push eax
movzx eax, word [ebp - 0x13c]
push eax
lea eax, [ebp - 0x14c]
push str._04d__02d__02d__02d._02d._02d
push eax
call fcn.00421840
add esp, 0x20
lea ecx, [ebp - 0x14c]
call fcn.00421910
cmp dword [ebp - 0x128], 0
mov edx, eax
je 0x40fb43
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x158], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fb10
sub ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x110]
sar ecx, 1
lea ecx, [ecx*2 + 2]
push ecx
push edx
push 1
push 0
push eax
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 1
call fcn.00421460
add edi, 0x20
sub esi, 1
jne 0x40fa33
mov eax, dword [ebp - 0x128]
mov dword [ebp - method.RegistryKey.virtual_0], vtable.RegistryKey.0
test eax, eax
je 0x40fb8b
cmp eax, dword [ebp - 0x124]
je 0x40fb81
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x128], 0
lea ecx, [ebp - 0x120]
call fcn.00421460
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00567879
mov esp, ebp
pop ebp
ret
Function at 0x4107b0
Capabilities:
Get hostname
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2ac
mov eax, dword [0x5f3fcc]
xor eax, esp
mov dword [esp + 0x2a8], eax
movups xmm0, xmmword [str.win32app]
mov ax, word [0x5d1274]
mov word [esp + 0x4c], ax
mov eax, dword [0x5d12b0]
movups xmmword [esp + 0x3c], xmm0
mov dword [esp + 0x94], eax
lea eax, [esp + 0x38]
movups xmm0, xmmword [str.Win32_Guided_Tour_Application]
push esi
push eax
movups xmmword [esp + 0x64], xmm0
lea eax, [esp + 0xa4]
mov dword [0x5fd6e8], ecx
movups xmm0, xmmword [0x5d1288]
push eax
mov dword [esp + 0x44], 0x208
movups xmmword [esp + 0x78], xmm0
movups xmm0, xmmword [0x5d1298]
movups xmmword [esp + 0x88], xmm0
movq xmm0, qword [0x5d12a8]
movq qword [esp + 0x98], xmm0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x7f00
push 0
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 3
mov dword [esp + 0x1c], 0x410720
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call esi
push 0x7f00
push 0
mov dword [esp + 0x2c], eax
call dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f00
push dword [esp + 0x24]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x34], 6
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], eax
call esi
mov dword [esp + 0x38], eax
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x4108f8
push str.RegisterClassEx_failed_
push dword [0x5fd6d0]
call fcn.0040b090
add esp, 8
pop esi
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.00567879
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0xcf0000
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x68]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
jne 0x41095a
push str.CreateWindow_failed_
push dword [0x5fd6d0]
call fcn.0040b090
add esp, 8
pop esi
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.00567879
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esp + 0x2ac]
pop esi
xor ecx, esp
call fcn.00567879
mov esp, ebp
pop ebp
ret
Function at 0x410a60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5f3fcc]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
mov esi, ecx
push edi
push ecx
mov dword [esi + 0x20], 0
mov word [esi + 0x28], 0
call fcn.00401fa0
add esp, 4
mov byte [esi + 0x20], al
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x410b14
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x410ac5
lea eax, [esi + 8]
push eax
lea eax, [esi + 4]
push eax
push esi
call ecx
xor eax, eax
mov word [esi + 0xa], ax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x410af6
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push str._System_Info______MajorVer:__d__MinorVer:__d__BuildNumber:__d___Is64:_d__n
push dword [0x5fd6d0]
call fcn.0040b090
add esp, 0x18
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x10]
movaps xmmword [esp + 0x10], xmm0
push eax
movaps xmmword [esp + 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
movzx eax, word [esp + 0x10]
push edx
push ecx
push eax
push str._CPU_Info______wProcessorArchitecture:__d__dwProcessorType:__d__nums:__d_n
push dword [0x5fd6d0]
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], ecx
mov dword [esi + 0x18], eax
call fcn.0040b090
add esp, 0x14
mov ecx, esi
call fcn.00410b90
mov ecx, esi
call fcn.00410db0
mov ecx, dword [esp + 0x4c]
mov eax, esi
pop edi
mov dword [0x5fd6f0], esi
pop esi
xor ecx, esp
call fcn.00567879
mov esp, ebp
pop ebp
ret
Function at 0x412d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588a78
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5f3fcc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 4]
test eax, eax
jne 0x412d47
xor al, al
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
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push ecx
push 0
push ebx
push eax
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x412d31
lea eax, [ebp + 0xb]
push eax
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
inc eax
push eax
call fcn.0040b2c0
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push 0
push ebx
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x412da8
xor bl, bl
jmp 0x412dc3
mov eax, dword [ebp - 0x10]
cmp word [esi + eax*2], 0
je 0x412db8
xor ecx, ecx
mov word [esi + eax*2], cx
mov ecx, dword [ebp + 0xc]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
test esi, esi
je 0x412df3
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x412de9
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412e09
push ecx
push esi
call fcn.00567d94
add esp, 8
mov al, bl
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
call fcn.0056d4c2
int3