joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4231e0]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
xor bl, bl
push str.kernel32.dll
mov byte [esp + 0x17], bl
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push str.Wow64DisableWow64FsRedirection
push esi
call edi
push str.Wow64RevertWow64FsRedirection
push esi
mov ebp, eax
call edi
test ebp, ebp
mov esi, eax
je 0x401fc0
test esi, esi
je 0x401fc0
lea eax, [esp + 0x14]
push eax
call ebp
test eax, eax
je 0x401fc0
push 0x104
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
jmp 0x401eb0
mov cl, byte [esp + eax + 0x18]
mov byte [esp + eax + 0x11c], cl
add eax, 1
test cl, cl
jne 0x401eb0
lea eax, [esp + 0x18]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401ed0
mov edx, dword [str.OpenAL32.dll]
mov ecx, dword [0x41e450]
mov dword [eax], edx
mov edx, dword [0x41e454]
mov dword [eax + 4], ecx
mov cx, word [0x41e458]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
lea eax, [esp + 0x11c]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
test cl, cl
jne 0x401f10
cmp byte [0x424265], 1
mov edx, dword [str.wrap_oal.dll]
mov ecx, dword [0x41e434]
mov dword [eax], edx
mov edx, dword [0x41e438]
mov dword [eax + 4], ecx
mov cx, word [0x41e43c]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
jne 0x401fb9
cmp byte [0x424267], 0
lea ecx, [esp + 0x18]
jne 0x401fa6
movzx eax, byte [0x424266]
lea edx, [esp + 0x13]
push edx
mov edx, dword [0x424268]
push eax
mov eax, dword [0x424278]
push ecx
push edx
push eax
call fcn.00401140
movzx edx, byte [0x424266]
lea ecx, [esp + 0x27]
push ecx
mov ecx, dword [0x42427c]
push edx
mov edx, dword [0x424290]
lea eax, [esp + 0x138]
push eax
push ecx
push edx
call fcn.00401140
mov bl, byte [esp + 0x3b]
add esp, 0x28
jmp 0x401fb9
lea eax, [esp + 0x11c]
push eax
push ecx
call fcn.00401b90
add esp, 8
mov bl, al
mov edx, dword [esp + 0x14]
push edx
call esi
mov ecx, dword [esp + 0x220]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.004064d4
add esp, 0x214
ret
Function at 0x4064d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4231e0]
jne 0x4064de
repz ret
jmp fcn.0040a2d7

Function at 0x408c94
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4234a0]
je 0x408caf
inc edi
cmp edi, 0x17
jb 0x408ca0
cmp edi, 0x17
jae 0x408e2f
push ebp
push 3
call fcn.0040f68b
cmp eax, 1
pop ecx
je 0x408dfb
push 3
call fcn.0040f68b
test eax, eax
pop ecx
jne 0x408ce3
cmp dword [0x4231f0], 1
je 0x408dfb
cmp ebx, 0xfc
je 0x408e2e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x424450
push ebp
call fcn.0040c296
add esp, 0xc
test eax, eax
je 0x408d19
push esi
push esi
push esi
push esi
push esi
call fcn.0040929e
add esp, 0x14
push 0x104
mov esi, 0x424469
push esi
push 0
mov byte [0x42456d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x408d5d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040c296
add esp, 0xc
test eax, eax
je 0x408d5d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040929e
add esp, 0x14
push esi
call fcn.0040f600
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x408da2
push esi
call fcn.0040f600
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x424764
push 0x41ed04
sub ecx, eax
push ecx
push eax
call fcn.0040f548
add esp, 0x14
test eax, eax
je 0x408da2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040929e
add esp, 0x14
jmp 0x408da4
xor esi, esi
push 0x41ed00
push ebx
push ebp
call fcn.0040f4d7
add esp, 0xc
test eax, eax
je 0x408dc4
push esi
push esi
push esi
push esi
push esi
call fcn.0040929e
add esp, 0x14
push dword [edi*8 + 0x4234a4]
push ebx
push ebp
call fcn.0040f4d7
add esp, 0xc
test eax, eax
je 0x408de6
push esi
push esi
push esi
push esi
push esi
call fcn.0040929e
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0040f31a
add esp, 0xc
jmp 0x408e2e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x408e2e
cmp ebp, 0xffffffff
je 0x408e2e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4234a4]
push dword [esi]
call fcn.0040f600
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x40f31a
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040bd0b
xor ebx, ebx
cmp dword [0x424c2c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40f3f0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40f4d0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41f010
push edi
call esi
cmp eax, ebx
je 0x40f4d0
push eax
call fcn.0040bc9d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x424c2c], eax
call esi
push eax
call fcn.0040bc9d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x424c30], eax
call esi
push eax
call fcn.0040bc9d
mov dword [0x424c34], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004088ff
test eax, eax
pop ecx
pop ecx
je 0x40f3be
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040929e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40f3f0
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040bc9d
cmp eax, ebx
pop ecx
mov dword [0x424c3c], eax
je 0x40f3f0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040bc9d
pop ecx
mov dword [0x424c38], eax
mov eax, dword [0x424c38]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40f475
cmp dword [0x424c3c], ecx
je 0x40f475
push eax
call fcn.0040bd14
push dword [0x424c3c]
mov esi, eax
call fcn.0040bd14
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40f475
cmp edi, ebx
je 0x40f475
call esi
cmp eax, ebx
je 0x40f442
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40f442
test byte [ebp - 0x18], 1
jne 0x40f475
lea eax, [ebp - 0x10]
push eax
call fcn.004089ae
test eax, eax
pop ecx
je 0x40f45d
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040929e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x40f46c
or dword [ebp + 0x10], 0x200000
jmp 0x40f4b0
or dword [ebp + 0x10], 0x40000
jmp 0x40f4b0
mov eax, dword [0x424c30]
cmp eax, dword [ebp - 8]
je 0x40f4b0
push eax
call fcn.0040bd14
cmp eax, ebx
pop ecx
je 0x40f4b0
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40f4b0
mov eax, dword [0x424c34]
cmp eax, dword [ebp - 8]
je 0x40f4b0
push eax
call fcn.0040bd14
cmp eax, ebx
pop ecx
je 0x40f4b0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x424c2c]
call fcn.0040bd14
cmp eax, ebx
pop ecx
je 0x40f4d0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40f4d2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4084e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x4436d4], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408521
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x4084fe
mov dword [edx*4 + 0x4436d0], eax
inc edx
cmp edx, 0x100
jne 0x4084f7
mov eax, dword [ebp + 8]
not eax
jmp 0x40853b
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x4436d0]
test ebx, ebx
jne 0x408528
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40ef4e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x40ef5d
pop dword [ebp - 0x18]
mov eax, 0x40ef5d
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x3f3dab55
sub dword [ebp - 0x28], 0xf0eb660a
mov dword [ebp - 0x24], 0xf7479290
sub dword [ebp - 0x24], 0xc514464b
mov dword [ebp - 0x20], 0x607a007b
add dword [ebp - 0x20], 0xebd243b3
mov dword [ebp - 0x1c], 0x638d5433
add dword [ebp - 0x1c], 0x9c72abcd
lea eax, [ebp - 0x28]
push eax
mov eax, 0xde314b97
add eax, 0x2210e4dd
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x650f47c6
add dword [ebp - 0x28], 0xf632190
mov dword [ebp - 0x24], 0xe3a6dda7
add dword [ebp - 0x24], 0x5dc583ce
mov dword [ebp - 0x20], 0x2d0aeebe
sub dword [ebp - 0x20], 0xc99b8252
mov dword [ebp - 0x1c], 0x95bf9ca2
sub dword [ebp - 0x1c], 0x95bf9ca2
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0x998af364
sub eax, 0x9948c240
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x43682
push 0
call eax
mov ecx, 0x2d4c60f7
sub ecx, 0x2d4c021e
xor ebx, ebx
add ebx, eax
mov edi, 0x160e91a8
add edi, 0xea34b258
add edi, dword [ebp - 0x18]
mov edx, 0x613e43af
add edx, 0xa8d5fb3e
sub dword [ebp - 4], edx
mov esi, dword [edi]
add esi, edx
xor dword [ebp - 0x10], edi
mov dword [ebx], esi
add ebx, 0xf089decf
sub ebx, 0xf089decb
add edi, 0xc5591d6b
add edi, 0x3aa6e299
loop 0x40f07c
add eax, 0xc5d42c6b
sub eax, 0xc5d2be34
xor ebx, ebx
add ebx, eax
add eax, 0x3c4b10c2
sub eax, 0x3c4b10bd
mov ecx, 0x4b6bf101
sub ecx, 0x4b2bf101
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x4196ac
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x427533
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b0
push edi
mov dword [ebp - 0x1bc], ecx
mov dword [ebp - 0x1b8], 0
mov byte [ebp - 0x1a4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0xa0], 0
mov ecx, 0x24
xor eax, eax
lea edi, [ebp - 0x9c]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x1a8]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 4], 1
mov dword [ebp - 0xa0], 0x94
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x90], 2
jne 0x4197cc
lea ecx, [ebp - 0x1b0]
push ecx
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4197ca
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x1ac], eax
cmp dword [ebp - 0x1ac], 0
je 0x4197ca
push str.SHGetFolderPathA
mov edx, dword [ebp - 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1b4], eax
cmp dword [ebp - 0x1b4], 0
je 0x4197bd
lea eax, [ebp - 0x1a4]
push eax
push 0
mov ecx, dword [ebp - 0x1b0]
push ecx
push 5
call fcn.00401118
mov ecx, eax
call fcn.004010e6
push eax
call dword [ebp - 0x1b4]
mov edx, dword [ebp - 0x1ac]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4197ea
push 0
push 5
lea eax, [ebp - 0x1a4]
push eax
call fcn.00401118
mov ecx, eax
call fcn.004010e6
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea ecx, [ebp - 0x1a4]
push ecx
lea ecx, [ebp - 0x1a8]
call fcn.00420f6a
lea edx, [ebp - 0x1a8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00420ea4
mov eax, dword [ebp - 0x1b8]
or al, 1
mov dword [ebp - 0x1b8], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a8]
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 4
Function at 0x41b467
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4278c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push edi
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x120]
call sym.PcMFStation.exe_public:_void___thiscall_CMfsInfo::constructor_void_
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 2
push str.PcMfsCfgInit.ini
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x120]
call sym.PcMFStation.exe_public:_class_CString___thiscall_CMfsInfo::GetInstPath_void_
mov dword [ebp - 0x23c], eax
mov ecx, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x240]
push edx
lea eax, [ebp - 0x230]
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x248], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x248]
push edx
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x230]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x22c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 0x224], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x223]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x10], 0x104
mov byte [ebp - 0x114], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea ecx, [ebp - 0x118]
call fcn.00401307
push eax
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x114]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.DefaultData
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::Empty
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x228]
call fcn.00420f6a
lea edx, [ebp - 0x228]
push edx
mov ecx, dword [ebp + 8]
call fcn.00420ea4
mov eax, dword [ebp - 0x234]
or al, 1
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x228]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x120]
call sym.PcMFStation.exe_public_virtual:_void___thiscall_CMfsInfo::destructor_void_
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x41b6ea
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
push 0
push 0
push 5
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x41b71b
xor eax, eax
jmp 0x41b7af
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41b79f
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
push 5
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x41b79f
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_atol]
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
je 0x41b792
cmp dword [ebp - 8], 2
je 0x41b792
cmp dword [ebp - 8], 0x32
jl 0x41b777
cmp dword [ebp - 8], 0x3c
jl 0x41b792
cmp dword [ebp - 8], 0x1f4
jl 0x41b789
cmp dword [ebp - 8], 0x258
jl 0x41b792
mov dword [ebp - 0x18], 1
jmp 0x41b799
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x41bb52
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], 0
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
cmp dword [ebp + 8], 0
je 0x41bb95
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
cmp dword [ebp + 0xc], 0
je 0x41bba3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret 8

Function at 0x41bbad
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x41bbe8
cmp dword [ebp + 0x10], 0
je 0x41bbe8
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x41bbe8
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ef81
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x41f019
cmp dword [ebp + 8], 0
je 0x41efd1
mov ecx, dword [ebp - 0xc]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f00b
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x41f00b
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41f00b
mov dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
je 0x41f019
mov ecx, dword [ebp - 0xc]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x41f022
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x41f0c8
cmp dword [ebp + 0x18], 0
je 0x41f0c8
cmp dword [ebp + 8], 0
je 0x41f07c
mov ecx, dword [ebp - 0xc]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f0ba
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x41f0ba
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f0ba
mov dword [ebp - 8], 1
cmp dword [ebp + 0x1c], 0
je 0x41f0c8
mov ecx, dword [ebp - 0xc]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41f0d1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x41f18f
cmp dword [ebp + 0xc], 0
je 0x41f18f
cmp dword [ebp + 0x14], 0
je 0x41f18f
cmp dword [ebp + 8], 0
je 0x41f143
mov ecx, dword [ebp - 0x10]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f181
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0
je 0x41f181
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f181
mov dword [ebp - 8], 1
cmp dword [ebp + 0x1c], 0
je 0x41f18f
mov ecx, dword [ebp - 0x10]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x18

Function at 0x41f198
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x41f224
cmp dword [ebp + 8], 0
je 0x41f224
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f21c
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x41f21c
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_SHQueryInfoKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f21c
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41f22d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x41f2c1
cmp dword [ebp + 8], 0
je 0x41f2c1
cmp dword [ebp + 0x10], 0
je 0x41f2c1
cmp dword [ebp + 0x14], 0
je 0x41f2c1
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x20019
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f2b9
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x41f2b9
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHEnumKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f2b9
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x41f2ca
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 8], 0
je 0x41f350
cmp dword [ebp + 8], 0
je 0x41f350
cmp dword [ebp + 0xc], 0
je 0x41f350
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0xf003f
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f348
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x41f348
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f348
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0xc]
call sym.PcMFStation.exe_private:_void___thiscall_CRegOpe::CloseKeyProc_void_
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8