joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45c3c8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x498f90]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
push 0x30
push eax
push ecx
mov ecx, esi
call fcn.00438179
xor eax, eax
lea edi, [esi + 0x88]
mov dword [esi], vtable.PropertyPageBase.0
mov dword [esp + 0x38], eax
mov dword [edi + 4], eax
mov dword [edi], vtable.CBitmap.0
lea ebp, [esi + 0x90]
mov dword [ebp + 4], eax
mov dword [ebp], vtable.CBitmap.0
lea ebx, [esi + 0x98]
mov dword [ebx + 4], eax
mov dword [ebx], vtable.CBitmap.0
mov dword [esi + 0xa4], eax
mov dword [esi + 0xa0], vtable.CBrush.0
movzx edx, byte [esp + 0x48]
mov byte [esp + 0x38], 4
mov dword [esi + 0xa8], edx
call fcn.00430400
mov eax, dword [eax + 0xc]
push 0x96
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.00430bfc
xor eax, eax
cmp dword [esi + 0xa8], eax
setne al
add eax, 0xa4
mov edi, eax
call fcn.00430400
mov eax, dword [eax + 0xc]
movzx ecx, di
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, ebx
call fcn.00430bfc
mov edi, dword [esi + 0xa8]
neg edi
sbb edi, edi
add edi, 0x9e
call fcn.00430400
mov eax, dword [eax + 0xc]
movzx edx, di
push edx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, ebp
call fcn.00430bfc
mov ecx, dword [esi + 0x8c]
mov edi, dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
mov dword [esi + 0xac], edx
mov edx, dword [esi + 0x94]
push 0x18
push edx
mov dword [esi + 0xb0], eax
call edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 5
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esi + 0xa4], eax
call fcn.004382b0
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4038c4
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x48], edi
push 0x83
mov byte [esp + 0x3c], 5
call fcn.004382a5
test eax, eax
je 0x4038fa
push 0x83
push eax
lea ecx, [esp + 0x50]
call fcn.00401ad0
mov edi, dword [esp + 0x48]
push str.1.13.0
lea ebx, [esi + 0xbc]
push edi
push ebx
call fcn.0043f254
add esp, 0xc
mov ecx, esi
call fcn.00436c75
or dword [eax + 4], 8
add eax, 4
mov ecx, esi
call fcn.00436c75
mov dword [eax + 0x14], ebx
lea eax, [edi - 0x10]
mov byte [esp + 0x38], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403948
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0xc
Function at 0x414170
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45ea6b
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push esi
mov eax, dword [0x498f90]
xor eax, esp
push eax
lea eax, [esp + 0x454]
mov dword fs:[0], eax
mov eax, ecx
mov esi, dword [esp + 0x464]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov ecx, dword [eax]
cmp byte [eax + 8], bl
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0x3ff
mov ecx, dword [ecx + 4]
je 0x4141e5
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x64]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x4141ff
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push ebx
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x64]
push edx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
je 0x414257
push 0x1b
mov esi, 0xf
push str.Couldnt_enumerate_registry
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00402040
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x468], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401d70
push 0x470a38
lea edx, [esp + 0x30]
push edx
call fcn.0043e8af
lea eax, [esp + 0x50]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
jmp 0x414270
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x414270
sub eax, edx
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, esi
call fcn.00402040
mov eax, esi
mov ecx, dword [esp + 0x454]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.0043ec69
add esp, 0x454
ret 4
Function at 0x4142c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45eaab
mov eax, dword fs:[0]
push eax
sub esp, 0x448
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x444], eax
push ebx
push esi
mov eax, dword [0x498f90]
xor eax, esp
push eax
lea eax, [esp + 0x454]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
xor ebx, ebx
cmp eax, ebx
je 0x414311
mov ecx, dword [esi + 4]
cmp ecx, 0xffffffff
je 0x414311
add ecx, 1
mov dword [esi + 4], ecx
cmp byte [esi + 8], bl
mov dword [esp + 0xc], 0x3ff
mov eax, dword [eax + 4]
lea ecx, [esp + 0xc]
je 0x41433c
push ebx
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x64]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
jmp 0x414355
lea edx, [esp + 0x48]
push edx
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x64]
push edx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, 0x103
jne 0x41438b
mov dword [esi + 4], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x454]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x444]
xor ecx, esp
call fcn.0043ec69
add esp, 0x454
ret
cmp eax, ebx
je 0x414363
push 0x25
mov esi, 0xf
push str.Couldnt_advance_enumeration_iterator
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00402040
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x468], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401d70
push 0x470a38
lea eax, [esp + 0x30]
push eax
call fcn.0043e8af
int3

Function at 0x4143f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x45eae8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
mov eax, dword [0x498f90]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
mov edx, dword [eax]
mov eax, dword [ecx]
cmp dword [eax + 0x20], 0x10
mov esi, dword [edx - 0xc]
jb 0x41442b
mov ecx, dword [eax + 0xc]
jmp 0x41442e
lea ecx, [eax + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, 1
push esi
push edx
push 1
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x41449b
push 0x1c
mov esi, 0xf
push str.Failed_to_write_string_value
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00402040
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00401d70
push 0x470a38
lea edx, [esp + 0x2c]
push edx
call fcn.0043e8af
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x44
ret 4
Function at 0x4144b0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x45eb18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
mov eax, dword [0x498f90]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
cmp dword [eax + 0x18], 0x10
mov esi, dword [eax + 0x14]
jb 0x4144e7
mov edx, dword [eax + 4]
jmp 0x4144ea
lea edx, [eax + 4]
mov eax, dword [ecx]
cmp dword [eax + 0x20], 0x10
jb 0x4144f7
mov ecx, dword [eax + 0xc]
jmp 0x4144fa
lea ecx, [eax + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
add esi, 1
push esi
push edx
push 1
xor ebx, ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
je 0x414567
push 0x1c
mov esi, 0xf
push str.Failed_to_write_string_value
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.00402040
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
call fcn.00401d70
push 0x470a38
lea edx, [esp + 0x2c]
push edx
call fcn.0043e8af
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x44
ret 4

Function at 0x414580
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45eb4b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push esi
mov eax, dword [0x498f90]
xor eax, esp
push eax
lea eax, [esp + 0x44c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x45c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [ecx]
mov dword [esp + 0xc], 0x3ff
cmp dword [eax + 0x20], 0x10
jb 0x4145db
mov ecx, dword [eax + 0xc]
jmp 0x4145de
lea ecx, [eax + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x4c]
push edx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x414650
push 0x1b
mov esi, 0xf
push str.Failed_to_read_string_value
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00402040
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x460], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401d70
push 0x470a38
lea ecx, [esp + 0x30]
push ecx
call fcn.0043e8af
lea eax, [esp + 0x48]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x414664
sub eax, edx
push eax
lea edx, [esp + 0x4c]
push edx
mov ecx, esi
call fcn.00402040
mov eax, esi
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0043ec69
add esp, 0x44c
ret 4
Function at 0x414890
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45ec1b
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x43c], eax
push ebx
push esi
mov eax, dword [0x498f90]
xor eax, esp
push eax
lea eax, [esp + 0x44c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x45c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov eax, dword [ecx]
mov dword [esp + 0xc], 0x3ff
cmp dword [eax + 0x20], 0x10
jb 0x4148eb
mov ecx, dword [eax + 0xc]
jmp 0x4148ee
lea ecx, [eax + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + 4]
lea edx, [esp + 0xc]
push edx
lea edx, [esp + 0x4c]
push edx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x414960
push 0x1b
mov esi, 0xf
push str.Failed_to_read_string_value
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
call fcn.00402040
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x460], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], ebx
mov byte [esp + 0x3c], bl
call fcn.00401d70
push 0x470a38
lea ecx, [esp + 0x30]
push ecx
call fcn.0043e8af
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.004147f0
mov eax, esi
mov ecx, dword [esp + 0x44c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x43c]
xor ecx, esp
call fcn.0043ec69
add esp, 0x44c
ret 4
Function at 0x41b980
Capabilities:
Get file version info

Disassembly:
sub esp, 0x114
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x124]
mov ebx, ecx
push 0x34
lea ebp, [ebx + 4]
push 0
push ebp
mov word [ebx + 0x3a], 0x4e4
call fcn.0043f310
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x41b9cc
test esi, esi
je 0x41b9cc
xor eax, eax
jmp 0x41ba77
push 0x104
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x41b9c5
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jbe 0x41b9c5
push esi
call fcn.0042f7db
add esp, 4
push eax
push esi
push 0
lea ecx, [esp + 0x24]
push ecx
mov dword [ebx + 0x58], eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x41b9c5
mov ecx, dword [ebx + 0x58]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x468d1c
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41b9c5
mov esi, dword [esp + 0xc]
push edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, 0xd
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x58]
push str.VarFileInfoTranslation
push ecx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
pop edi
je 0x41ba6b
cmp dword [esp + 0x10], 4
jb 0x41ba6b
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
mov dword [ebx + 0x38], eax
xor eax, eax
cmp dword [ebp], 0xfeef04bd
sete al
mov ecx, dword [esp + 0x11c]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043ec69
add esp, 0x114
ret 4

Function at 0x41bcf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x45ff98
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
mov eax, dword [0x498f90]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, dword [esp + 0x40]
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea eax, [esp + 0x10]
push eax
push str.FileVersion
mov dword [esp + 0x40], ebx
call fcn.0041bc40
test al, al
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
je 0x41bd7b
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00401d70
cmp dword [esp + 0x28], 0x10
jb 0x41bd9d
mov edx, dword [esp + 0x14]
push edx
jmp 0x41bd95
push 0x14
push str.Unknown_file_version
mov ecx, esi
call fcn.00402040
cmp dword [esp + 0x28], 0x10
jb 0x41bd9d
mov eax, dword [esp + 0x14]
push eax
call fcn.0042f7d6
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0043ec69
add esp, 0x30
ret 4
Function at 0x41bdc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x6c
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
mov ebx, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x78]
lea eax, [esp + 8]
push edi
push eax
call fcn.00424510
push 0x24
lea ecx, [esp + 0x14]
push 0x468d68
push ecx
call fcn.00424540
mov edi, dword [esp + 0x90]
push edi
lea edx, [esp + 0x20]
push esi
push edx
call fcn.00424540
push 0x24
lea eax, [esp + 0x2c]
push 0x468d68
push eax
call fcn.00424540
push edi
lea ecx, [esp + 0x38]
push esi
push ecx
call fcn.00424540
push 0x24
lea edx, [esp + 0x44]
push 0x468d68
push edx
call fcn.00424540
lea eax, [esp + 0x4c]
add esp, 0x40
push eax
call fcn.00424650
add esp, 4
xor ecx, ecx
xor eax, eax
lea esp, [esp]
movzx edx, byte [esp + eax + 0x67]
movzx esi, byte [esp + eax + 0x66]
add edx, edx
xor edx, esi
movzx esi, byte [esp + eax + 0x64]
add edx, edx
xor edx, esi
movzx esi, byte [esp + eax + 0x65]
xor edx, esi
add eax, 4
xor ecx, edx
cmp eax, 0x10
jl 0x41be50
mov eax, 0x10624dd3
mul ecx
shr edx, 6
imul edx, edx, 0x3e8
sub ecx, edx
push ecx
push 0x468d8c
push ebx
call fcn.0043f254
mov ecx, dword [esp + 0x80]
add esp, 0xc
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043ec69
add esp, 0x6c
ret
Function at 0x422350
Capabilities:
Delete registry value
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x300
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x2fc], eax
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x17c]
push str.SOFTWAREIAR_SystemsInstalled_Products
push eax
call fcn.0043f254
add esp, 8
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
lea edx, [esp + 0x188]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4223d5
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0xf003f
push 0
push 0x462f68
push 0
lea edx, [esp + 0x198]
push edx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x422590
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
push str.1234
push 1
push 0
push str.TestEntry
push eax
call ebx
test eax, eax
jne 0x42249e
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.TestEntry
push eax
mov dword [esp + 0x2c], 0x63
call ebp
test eax, eax
jne 0x42249e
mov edi, str.1234
lea esi, [esp + 0x1c]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42249e
mov eax, dword [esp + 0x10]
push 4
push str.5678
push 1
push edx
push str.TestEntry
push eax
call ebx
test eax, eax
jne 0x42249e
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push str.TestEntry
push eax
mov dword [esp + 0x2c], 0x63
call ebp
test eax, eax
jne 0x42249e
mov edi, str.5678
lea esi, [esp + 0x1c]
mov ecx, 5
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x42249e
mov eax, dword [esp + 0x10]
push str.TestEntry
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x4224b0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x422599
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x422590
push 0xc7
lea eax, [esp + 0x248]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x422590
lea ecx, [esp + 0x244]
push ecx
lea edx, [esp + 0x84]
push str._sDZWUM3A8.TXT
push edx
call fcn.0043f254
lea eax, [esp + 0x8c]
push 0x465cd8
push eax
call fcn.00440279
add esp, 0x14
test eax, eax
je 0x422544
push eax
call fcn.0043ffea
lea ecx, [esp + 0x84]
push 0x1ff
push ecx
call fcn.0044207a
add esp, 0xc
test eax, eax
jne 0x422590
lea edx, [esp + 0x80]
push edx
call fcn.004411e8
add esp, 4
test eax, eax
jne 0x422590
lea eax, [esp + 0x80]
push 0x468fb0
push eax
call fcn.00440279
add esp, 8
test eax, eax
je 0x422590
push eax
call fcn.0043ffea
lea ecx, [esp + 0x84]
push 0x1ff
push ecx
call fcn.0044207a
add esp, 0xc
test eax, eax
jne 0x422590
lea edx, [esp + 0x80]
push edx
call fcn.004411e8
add esp, 4
test eax, eax
je 0x422594
xor eax, eax
jmp 0x422599
mov eax, 1
mov ecx, dword [esp + 0x30c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0043ec69
add esp, 0x300
ret
Function at 0x4225c0
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
sub esp, 0x94
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x90], eax
push esi
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xc], 0x12c
lea ecx, [esp + 0x30]
xor eax, eax
lea ebx, [ebx]
mov dl, byte [eax + 0x469008]
xor dl, 0xc3
mov byte [ecx], dl
add eax, 1
add ecx, 1
cmp eax, 0x29
jb 0x4225f0
mov byte [ecx], 0
lea ecx, [esp + 0x10]
xor eax, eax
nop
mov dl, byte [eax + 0x469034]
xor dl, 0xc3
mov byte [ecx], dl
add eax, 1
add ecx, 1
cmp eax, 0xe
jb 0x422610
lea eax, [esp + 4]
push eax
push 0x20019
mov byte [ecx], 0
push 0
lea ecx, [esp + 0x3c]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4226c1
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
push esi
lea eax, [esp + 0x10]
push eax
push 0
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4226c1
cmp dword [esp + 8], 1
jne 0x4226c1
cmp byte [esi], 0
mov eax, esi
je 0x422680
add eax, 1
cmp byte [eax], 0
jne 0x422678
xor ecx, ecx
mov dl, byte [ecx + 0x469044]
xor dl, 0xca
mov byte [eax], dl
add ecx, 1
add eax, 1
cmp ecx, 0x28
jb 0x422682
mov byte [eax], 0
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.0043ec69
add esp, 0x94
ret
mov ecx, dword [esp + 4]
push ecx
mov byte [esi], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x94]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0043ec69
add esp, 0x94
ret

Function at 0x4229a0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esp + 8]
push edi
push 0x46906c
push eax
call fcn.00440279
mov edi, eax
add esp, 8
test edi, edi
jne 0x4229c0
lea eax, [edi + 4]
pop edi
pop ecx
ret
push edi
push 1
push 0x40
push 0x49ac58
call fcn.00442383
add esp, 0x10
cmp eax, 1
je 0x4229e8
push edi
call fcn.0043ffea
add esp, 4
mov eax, 2
pop edi
pop ecx
ret
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, ebx
shr esi, 3
and esi, 0x1ffff
push 0
lea ecx, [esi + 0x258]
push ecx
push edi
call fcn.0043feb1
add esp, 0xc
test eax, eax
push edi
jne 0x422a27
push 1
lea edx, [esp + 0x17]
push 1
push edx
call fcn.00442383
add esp, 0x10
cmp eax, 1
push edi
je 0x422a39
call fcn.0043ffea
add esp, 4
pop esi
pop ebx
mov eax, 2
pop edi
pop ecx
ret
call fcn.0043ffea
add esi, 0x208
push esi
lea edi, [esp + 0x17]
call fcn.00422900
mov ecx, ebx
and ecx, 7
mov eax, 1
shl eax, cl
movsx ecx, byte [esp + 0x17]
add esp, 8
and eax, ecx
neg eax
pop esi
sbb eax, eax
pop ebx
neg eax
pop edi
pop ecx
ret

Function at 0x422f40
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x423460
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
lea edi, [esp + 8]
mov eax, 0x10
mov ecx, edi
mov esi, ebx
call fcn.00423420
xor eax, eax
mov cl, byte [eax + 0x4692ac]
xor cl, 0x8b
mov byte [esi], cl
add eax, 1
add esi, 1
cmp eax, 0x1c
jb 0x423484
xor eax, eax
lea esp, [esp]
test eax, eax
jne 0x4234a9
mov byte [esi], 0x7b
jmp 0x4234c0
cmp eax, 8
je 0x4234bd
cmp eax, 0xc
je 0x4234bd
cmp eax, 0x10
je 0x4234bd
cmp eax, 0x14
jne 0x4234c3
mov byte [esi], 0x2d
add esi, 1
mov dl, byte [edi]
mov byte [esi], dl
add eax, 1
add esi, 1
add edi, 1
cmp eax, 0x20
jl 0x4234a0
mov ecx, dword [esp + 0x3c]
mov byte [esi], 0x7d
add esi, 1
mov eax, esi
pop edi
mov byte [esi], 0
pop esi
xor ecx, esp
sub eax, ebx
call fcn.0043ec69
add esp, 0x38
ret

Function at 0x423500
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov eax, dword [0x498f90]
xor eax, esp
mov dword [esp + 0x34], eax
push esi
push edi
lea edi, [esp + 8]
mov eax, 0x10
mov ecx, edi
mov esi, ebx
call fcn.00423420
xor eax, eax
mov cl, byte [eax + 0x4692c8]
xor cl, 0x9a
mov byte [esi], cl
add eax, 1
add esi, 1
cmp eax, 0x1c
jb 0x423524
xor eax, eax
lea esp, [esp]
test eax, eax
jne 0x423549
mov byte [esi], 0x7b
jmp 0x423560
cmp eax, 8
je 0x42355d
cmp eax, 0xc
je 0x42355d
cmp eax, 0x10
je 0x42355d
cmp eax, 0x14
jne 0x423563
mov byte [esi], 0x2d
add esi, 1
mov dl, byte [edi]
mov byte [esi], dl
add eax, 1
add esi, 1
add edi, 1
cmp eax, 0x20
jl 0x423540
mov ecx, dword [esp + 0x3c]
mov byte [esi], 0x7d
add esi, 1
mov eax, esi
pop edi
mov byte [esi], 0
pop esi
xor ecx, esp
sub eax, ebx
call fcn.0043ec69
add esp, 0x38
ret