joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4157c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4157de
test al, 0x10
je 0x4157de
mov eax, 1
ret 4
xor eax, eax
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x4798ba
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x34]
push eax
push 0x92
call fcn.0043fec5
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CJieChuDlg.0
lea ebp, [esi + 0x74]
call fcn.00434e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416013
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x20], 1
lea edi, [esi + 0x78]
call fcn.00434e50
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416044
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
mov eax, vtable.CBrush.0
mov dword [esi + 0x90], ebx
mov dword [esi + 0x8c], eax
mov dword [esi + 0x98], ebx
mov dword [esi + 0x94], eax
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, edi
mov byte [esp + 0x24], 4
call fcn.00401b60
mov edx, dword [esp + 0x2c]
push edx
mov ecx, ebp
call fcn.00401b60
mov eax, dword [esp + 0x30]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], 1
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41618c
test al, 0x10
je 0x41618c
mov eax, 1
ret 4
xor eax, eax
ret 4

Function at 0x4161a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x44]
mov eax, dword [esi]
push edi
push eax
mov edi, 1
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x4161df
mov esi, dword [esi]
push edi
xor eax, eax
push eax
push eax
push esi
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov eax, edi
pop edi
pop esi
add esp, 0x3c
ret 8
mov edx, dword [esi]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x18], str.open
mov dword [esp + 0x28], 5
mov dword [esp + 0x1c], edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
pop edi
mov dword [ecx], edx
pop esi
add esp, 0x3c
ret 8
Function at 0x4170f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x479b20
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
call fcn.00434e50
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x417137
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
push str..hjm
push ecx
lea edx, [ebp + 8]
push edx
mov dword [ebp - 4], ebx
call fcn.00401d00
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401b60
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41718d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [ebp - 0x14]
lea ecx, [ebp + 8]
push ecx
push esi
mov ecx, 0x4aaa3c
mov byte [ebp - 4], 2
mov dword [ebp + 8], 0xffffffff
call fcn.0040dc30
cmp eax, ebx
je 0x4171d0
mov edx, dword [ebp + 8]
push edx
call fcn.0040a6e0
add esp, 4
push esi
mov ecx, 0x4aaa3c
call fcn.0040f930
jmp 0x4171d0
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4171fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 4
Function at 0x41bb20
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x47a2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor esi, esi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push ecx
push esi
push 0x2001f
push esi
push esi
push esi
push 0x485308
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x54], esi
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x41bc54
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
mov edx, dword [esp + 0x14]
sub eax, 0x10
push eax
mov dword [esp + 0x20], edx
call fcn.00401180
add eax, 0x10
add esp, 4
mov dword [esp + 0x18], eax
mov ebp, dword [eax - 0xc]
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
xor edi, edi
call fcn.0041b9d0
cmp ebp, esi
mov ebx, dword [esp + 0x18]
jle 0x41bc20
test esi, esi
jl 0x41bc5b
cmp esi, dword [ebx - 0xc]
jg 0x41bc5b
movsx ecx, byte [esi + ebx]
fld qword [0x485300]
sub ecx, 0x41
mov dword [esp + 0x38], ecx
fild dword [esp + 0x38]
call fcn.0045f950
test edi, edi
mov dword [esp + 0x38], edi
fild dword [esp + 0x38]
jge 0x41bbf5
fadd qword [0x4852f8]
fnstcw word [esp + 0x38]
movzx eax, word [esp + 0x38]
or eax, 0xc00
faddp st(1)
mov dword [esp + 0x20], eax
add esi, 1
cmp esi, ebp
fldcw word [esp + 0x20]
fistp qword [esp + 0x20]
mov edi, dword [esp + 0x20]
fldcw word [esp + 0x38]
jl 0x41bbb8
mov esi, dword [esp + 0x14]
push 4
lea edx, [esp + 0x3c]
push edx
push 4
push 0
push str.NoViewOnDrive
push esi
mov dword [esp + 0x50], edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41bc65
push esi
call edi
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x41bc69
xor eax, eax
jmp 0x41bcf2
push 0x80070057
call fcn.00401000
mov esi, dword [esp + 0x1c]
push str.param.ini
lea eax, [esp + 0x3c]
push 0x4aa924
push eax
call fcn.00401d00
mov eax, dword [eax]
add esp, 0xc
push eax
push ebx
push str.Disable
push str.DRIVER
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bcb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageA]
add ebx, 0xfffffff0
mov byte [esp + 0x30], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bce6
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
test esi, esi
je 0x41bced
push esi
call edi
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x41bd10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x47a2f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ebp, [ecx + 8]
push 0
push 0x481930
mov ecx, ebp
mov dword [esp + 0x24], ebp
call fcn.00401910
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
push 0
call edi
mov esi, eax
lea eax, [esi + 1]
push eax
call fcn.0043379c
add esp, 4
mov ebx, eax
push ebx
push esi
call edi
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41bd71
sub eax, edx
mov esi, eax
mov dword [esp + 0x20], esi
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41bd9c
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
test esi, esi
mov dword [esp + 0x2c], 0
ja 0x41be04
push ebx
call fcn.00433797
lea eax, [edi - 0x10]
add esp, 4
mov dword [esp + 0x2c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41bde5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov ebp, dword [esp + 0x1c]
test ebx, ebx
jne 0x41be0c
xor eax, eax
jmp 0x41be1c
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41be11
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x20]
call fcn.00401910
mov edi, dword [esp + 0x18]
mov esi, dword [edi - 0xc]
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, esi
or eax, ecx
jge 0x41be4d
push esi
lea ecx, [esp + 0x1c]
call fcn.00401510
mov edi, dword [esp + 0x18]
lea ecx, [esi + 1]
push ecx
push edi
call fcn.0045f8ef
push eax
call fcn.0040c030
add esp, 0xc
test esi, esi
jl 0x41bef0
cmp esi, dword [edi - 8]
jg 0x41bef0
mov dword [edi - 0xc], esi
mov byte [esi + edi], 0
cmp dword [edi - 0xc], 0
jl 0x41bef0
mov eax, dword [ebp]
mov ebp, dword [eax - 0xc]
mov dl, byte [edi]
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
lea esi, [ebp + 1]
sub eax, esi
or eax, ecx
mov byte [esp + 0x17], dl
jge 0x41bea8
mov ecx, dword [esp + 0x1c]
push esi
call fcn.00401510
test esi, esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dl, byte [esp + 0x17]
mov byte [eax + ebp], dl
jl 0x41bef0
mov eax, dword [ecx]
cmp esi, dword [eax - 8]
jg 0x41bef0
mov dword [eax - 0xc], esi
mov eax, dword [ecx]
mov ecx, dword [esp + 0x20]
lea ebx, [ebx + ecx + 1]
mov byte [esi + eax], 0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41bed6
sub eax, edx
mov dword [esp + 0x20], eax
jne 0x41be00
jmp 0x41bdb8
push 0x80070057
call fcn.00401000
int3
Function at 0x41bf00
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x24
mov eax, dword [0x4a9128]
xor eax, esp
mov dword [esp + 0x20], eax
xor eax, eax
push esi
push str.param.ini
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
mov byte [esp + 0x26], al
lea eax, [esp + 8]
push 0x4aa924
push eax
mov esi, ecx
call fcn.00401d00
mov ecx, dword [eax]
add esp, 0xc
push ecx
push 0x1a
lea edx, [esp + 0x10]
push edx
push 0x481930
push str.Hide
push str.DRIVER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41bf8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41bf91
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00401910
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
call fcn.0045d22c
add esp, 0x24
ret

Function at 0x41bfc0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x24
mov eax, dword [0x4a9128]
xor eax, esp
mov dword [esp + 0x20], eax
xor eax, eax
push esi
push str.param.ini
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
mov byte [esp + 0x26], al
lea eax, [esp + 8]
push 0x4aa924
push eax
mov esi, ecx
call fcn.00401d00
mov ecx, dword [eax]
add esp, 0xc
push ecx
push 0x1a
lea edx, [esp + 0x10]
push edx
push 0x481930
push str.Disable
push str.DRIVER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c04a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41c051
sub eax, edx
push eax
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 4]
call fcn.00401910
mov ecx, dword [esp + 0x24]
pop esi
xor ecx, esp
call fcn.0045d22c
add esp, 0x24
ret
Function at 0x41c330
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x47a366
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4a9128]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov dword [esp + 0x20], ecx
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c389
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x238]
movsx esi, bl
push esi
lea ecx, [esp + 0x18]
push str._c:_
push ecx
mov dword [esp + 0x23c], 0
call fcn.00401c20
push 0x200
lea edx, [esp + 0x34]
push 0
push edx
call fcn.0045d2b0
mov edi, dword [esp + 0x2c]
add esp, 0x18
push 0x200
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointA]
test eax, eax
je 0x41c508
call fcn.00434e50
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41c409
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea ecx, [esp + 0x1c]
push 0x48534c
push ecx
mov byte [esp + 0x23c], 1
call fcn.00401c20
push str.param.ini
lea edx, [esp + 0x2c]
push 0x4aa924
push edx
call fcn.00401d00
mov eax, dword [eax]
mov esi, dword [esp + 0x30]
add esp, 0x18
push eax
lea eax, [esp + 0x28]
push eax
push esi
push str.DRIVER
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or ebp, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
test eax, eax
je 0x41c4e3
mov ecx, dword [esp + 0x20]
push 1
push ebx
call fcn.0041c080
lea eax, [esi - 0x10]
mov byte [esp + 0x230], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c4bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x230], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41c4dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41c52d
lea eax, [esi - 0x10]
mov byte [esp + 0x230], 0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c50b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41c50b
or ebp, 0xffffffff
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
mov dword [esp + 0x230], ebp
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x41c52b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0045d22c
add esp, 0x220
ret 4
Function at 0x41c5d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47a3ab
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x4a9128]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0045d2b0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 0xc]
call fcn.00402cf0
mov edx, dword [esp + 8]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
mov dword [esp + 0x11c], 0
jge 0x41c66b
push esi
lea ecx, [esp + 0xc]
call fcn.00401510
mov edx, dword [esp + 8]
lea eax, [esi + 1]
push eax
push edx
call fcn.0045f8ef
push eax
call fcn.0040c030
add esp, 0xc
test esi, esi
jl 0x41c6a0
mov eax, dword [esp + 8]
cmp esi, dword [eax - 8]
jg 0x41c6a0
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 8]
mov byte [esi + ecx], 0
mov eax, dword [esp + 8]
cmp dword [eax - 0xc], 0
jge 0x41c6aa
push 0x80070057
call fcn.00401000
mov cl, byte [eax]
cmp cl, byte [esp + 0x124]
jne 0x41c6f5
push 0
push 0
push 0x485350
call fcn.00435d18
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x11c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c6ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41c71e
add eax, 0xfffffff0
mov dword [esp + 0x11c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c71c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0045d22c
add esp, 0x118
ret 4
Function at 0x41cae0
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x41caf3
push 0x80004005
call fcn.00401000
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test esi, esi
je 0x41cb5a
mov ecx, dword [edi]
test ecx, ecx
jbe 0x41cb57
mov edx, dword [esp + 0x14]
test edx, edx
jbe 0x41cb52
cmp edx, 2
jbe 0x41cb4b
cmp edx, 7
jne 0x41cb52
cmp ecx, 1
jb 0x41cb52
cmp byte [ecx + esi - 1], 0
jne 0x41cb52
cmp ecx, 1
jbe 0x41cb5a
cmp byte [ecx + esi - 2], 0
jmp 0x41cb50
cmp byte [ecx + esi - 1], 0
je 0x41cb5a
mov eax, 0xd
mov byte [esi], 0
pop esi
pop edi
ret 0xc
Function at 0x41e3c0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push str.uxtheme.dll
mov dword [esi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x14], eax
je 0x41e426
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.IsThemeActive
push eax
call edi
mov dword [esi], eax
mov eax, dword [esi + 0x14]
push str.OpenThemeData
push eax
call edi
mov ecx, dword [esi + 0x14]
push str.CloseThemeData
push ecx
mov dword [esi + 4], eax
call edi
mov edx, dword [esi + 0x14]
push str.GetThemeBackgroundContentRect
push edx
mov dword [esi + 8], eax
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push str.DrawThemeBackground
push eax
call edi
mov dword [esi + 0x10], eax
pop edi
mov eax, esi
pop esi
ret
Function at 0x421560
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47ad78
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4a9128]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x10], esi
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], 0x66
mov byte [esp + 0x16], 0x65
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x63
call fcn.00434e50
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4215ce
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], esi
movsx ecx, byte [esp + esi + 0x14]
push ecx
lea edx, [esp + 0x14]
push str._c:Computer..F_77_01_091_606666888_1682526688_1708537768_1009Z_H_JYJ_760921_011113_3000..com8param_
push edx
call fcn.00401c20
mov edi, dword [esp + 0x1c]
push edi
call fcn.0040a6c0
add esp, 0x10
test eax, eax
jne 0x421662
add esi, 1
cmp esi, 5
jl 0x4215e2
push 0x481930
mov ecx, ebx
call fcn.00402cf0
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421640
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0045d22c
add esp, 0x1c
ret 4
lea esi, [edi - 0x10]
push esi
call fcn.00401180
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x421640
mov ecx, dword [esi]
push esi
jmp 0x421639
Function at 0x421690
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47ada8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4a9128]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push esi
push edi
mov eax, dword [0x4a9128]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x10], esi
mov byte [esp + 0x14], 0x67
mov byte [esp + 0x15], 0x66
mov byte [esp + 0x16], 0x65
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x63
call fcn.00434e50
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x4216fe
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], esi
mov ecx, dword [0x4aaaa8]
movsx edx, byte [esp + esi + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push str._c:RECYCLER_sparam_
push eax
call fcn.00401c20
mov edi, dword [esp + 0x20]
push edi
call fcn.0040a6c0
add esp, 0x14
test eax, eax
jne 0x421799
add esi, 1
cmp esi, 5
jl 0x421712
push 0x481930
mov ecx, ebx
call fcn.00402cf0
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421777
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.0045d22c
add esp, 0x1c
ret 4
lea esi, [edi - 0x10]
push esi
call fcn.00401180
add eax, 0x10
add esp, 4
mov dword [ebx], eax
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421777
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x421777