joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1022e22
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10e607c]
mov ecx, dword [ebp + 0xc]
push 0x10e7e98
push 0x14
lea edx, [ebp - 0x2c]
push edx
push 0x100210c
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jle 0x1022e9c
lea eax, [ebp - 0x2c]
push esi
push eax
call dword [sym.imp.msvcrt.dll__wcslwr]
pop ecx
mov esi, eax
jmp 0x1022e66
inc esi
inc esi
cmp word [esi], 0x20
je 0x1022e64
push 0x10042c4
push esi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
test eax, eax
pop ecx
lea eax, [ebp + 0x10]
push eax
je 0x1022e8c
push 0x10042bc
add esi, 4
jmp 0x1022e91
push 0x10042b4
push esi
call dword [sym.imp.msvcrt.dll_swscanf]
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
call fcn.01078836
leave
ret 0xc
Function at 0x10243ae
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jne 0x1024469
push 0x1004af4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 4], eax
je 0x1024463
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1004ad4
push eax
call edi
push 0x1004ab4
push dword [esi + 4]
mov dword [esi + 8], eax
call edi
push 0x1004a94
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push 0x1004a74
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push 0x1004a50
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
push 0x1004a28
push dword [esi + 4]
mov dword [esi + 0x18], eax
call edi
push 0x1004a04
push dword [esi + 4]
mov dword [esi + 0x1c], eax
call edi
cmp dword [esi + 8], ebx
mov dword [esi + 0x20], eax
pop edi
je 0x1024457
cmp dword [esi + 0xc], ebx
je 0x1024457
cmp dword [esi + 0x10], ebx
je 0x1024457
cmp dword [esi + 0x14], ebx
je 0x1024457
cmp dword [esi + 0x18], ebx
je 0x1024457
cmp eax, ebx
je 0x1024457
cmp dword [esi + 0x1c], ebx
jne 0x1024463
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 4], ebx
mov dword [esi], 1
pop esi
pop ebx
ret

Function at 0x10249e9
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
cmp dword [ebp + 0xc], 0
mov eax, dword [0x10e607c]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
mov edi, ecx
je 0x1024a4f
push 0x100
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1024a30
lea eax, [ebp - 0x204]
push esi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x204]
push eax
mov ecx, edi
call fcn.01024935
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01078836
leave
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1024a77
test ah, 4
je 0x1024a77
push 0x100
lea eax, [ebp - 0x204]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x1024a30
xor eax, eax
jmp 0x1024a41
Function at 0x1024cc3
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x838
mov eax, dword [0x10e607c]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x828]
push eax
push dword [0x10e46a0]
push 0x80000002
call ebx
test eax, eax
je 0x1024d05
xor eax, eax
jmp 0x1024d92
push esi
push edi
xor esi, esi
mov eax, dword [esi + 0x1004780]
mov edi, dword [esi + 0x1004784]
lea ecx, [ebp - 0x82c]
push ecx
push eax
push dword [ebp - 0x828]
mov dword [ebp - 0x830], 0x820
call ebx
test eax, eax
jne 0x1024d79
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x838]
push eax
push 0
push edi
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1024d6d
mov ecx, dword [ebp - 0x834]
lea eax, [ebp - 0x824]
push eax
call fcn.01024bc5
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 8
cmp esi, 0x50
jb 0x1024d09
push dword [ebp - 0x828]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01078836
leave
ret 4

Function at 0x1024da4
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10d312d
call fcn.0107a498
sub esp, 0x22c
mov eax, dword [0x10e607c]
push ebx
push esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x234], eax
lea eax, [ebp - 0x220]
push eax
push dword [0x10e467c]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1024e29
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x238]
push eax
push 0
push 0x1004b18
push dword [ebp - 0x220]
mov dword [ebp - 0x22c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1024e44
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.01078836
pop edi
pop esi
pop ebx
leave
ret 4
and word [ebp - 0x16], 0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov dword [ebp - 0x230], eax
lea eax, [eax + eax + 0x1e]
push eax
mov dword [ebp - 0x224], eax
call sub.MFC42u.dll_operatornew
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
mov dword [ebp - 0x228], ebx
je 0x1024e29
push 7
pop ecx
mov esi, str._GlobalRoot
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x230]
lea esi, [ebp - 0x21c]
lea edi, [ebx + 0x1c]
rep movsw word es:[edi], word [esi]
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x234]
and word [eax + ebx - 2], 0
and dword [ebp - 4], 0
push ebx
call fcn.01024bc5
or dword [ebp - 4], 0xffffffff
push ebx
call sub.MFC42u.dll_operatordelete
xor eax, eax
pop ecx
inc eax
jmp 0x1024e2b
Function at 0x1024eea
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10d3152
call fcn.0107a498
sub esp, 0x884
mov eax, dword [0x10e607c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], eax
push 0x410
lea eax, [ebp - 0x834]
push eax
push 0x1004b94
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
jne 0x1024f39
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x1004b38
call dword [sym.imp.msvcrt.dll_wprintf]
pop ecx
pop ecx
jmp 0x1024f90
lea ecx, [ebp - 0x860]
call fcn.0102481c
xor edi, edi
lea eax, [ebp - 0x860]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x838], edi
mov dword [ebp - 0x83c], edi
mov byte [ebp - 4], 1
call fcn.01024da4
cmp eax, edi
jne 0x1024f71
lea ecx, [ebp - 0x860]
jmp 0x1024f87
lea eax, [ebp - 0x860]
push eax
call fcn.01024cc3
cmp eax, edi
lea ecx, [ebp - 0x860]
jne 0x1024f97
or dword [ebp - 4], 0xffffffff
call fcn.0102483d
xor eax, eax
jmp 0x1025099
lea eax, [ebp - 0x834]
push eax
call fcn.01024bc5
lea ecx, [ebp - 0x890]
call fcn.01024387
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 2
call fcn.010243ae
lea ecx, [ebp - 0x890]
call fcn.01024b69
lea eax, [ebp - 0x838]
push eax
push 1
lea ecx, [ebp - 0x890]
call fcn.01024491
mov ebx, eax
cmp ebx, edi
mov dword [ebp - 0x83c], ebx
jne 0x1025004
lea ecx, [ebp - 0x890]
call fcn.010246fd
lea ecx, [ebp - 0x890]
mov byte [ebp - 4], 1
call fcn.01024b44
jmp 0x1025078
push ebx
lea ecx, [ebp - 0x860]
call fcn.01024bc5
mov esi, dword [ebp - 0x838]
cmp word [esi], di
je 0x1025034
push esi
lea ecx, [ebp - 0x860]
call fcn.01024bc5
push esi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea esi, [esi + eax*2]
jmp 0x1025016
push ebx
call sub.MFC42u.dll_operatordelete
pop ecx
push dword [ebp - 0x838]
call sub.MFC42u.dll_operatordelete
pop ecx
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0x838], edi
jmp 0x1024fc8
lea ecx, [ebp - 0x860]
mov dword [ebp - 4], edi
call fcn.01024a80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
mov esi, eax
call fcn.0102483d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.01078836
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10272a6
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10e607c]
push ebx
mov ebx, dword [ebp + 8]
push esi
push ebx
mov dword [ebp - 4], eax
call fcn.010354d9
mov esi, eax
test esi, esi
je 0x102731e
push edi
mov edi, 0x103
cmp esi, edi
jle 0x10272d6
mov esi, edi
push esi
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
lea eax, [ebp + esi*2 - 0x20c]
and word [eax], 0
add esp, 0xc
cmp esi, edi
pop edi
jge 0x1027306
push 0x1003824
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
inc ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x1027320
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01078836
leave
ret 4

Function at 0x1027333
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x10e607c]
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
mov dword [ebp - 4], eax
call fcn.010354d9
mov edi, eax
test edi, edi
je 0x10273de
and dword [ebp - 0x210], 0
push esi
mov esi, 0x103
cmp edi, esi
jle 0x102736e
mov edi, esi
push edi
lea eax, [ebp - 0x20c]
push ebx
push eax
call dword [sym.imp.msvcrt.dll_wcsncpy]
add esp, 0xc
xor ebx, ebx
lea eax, [ebp + edi*2 - 0x20c]
cmp edi, esi
mov word [eax], bx
pop esi
jge 0x102739f
push 0x1003824
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x10273de
cmp eax, 5
jne 0x10273d9
push ebx
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test byte [ebp - 0x20e], 8
jne 0x10273de
xor eax, eax
inc eax
jmp 0x10273e0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop ebx
call fcn.01078836
leave
ret 4
Function at 0x10273f3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x10d3323
call fcn.0107a498
push esi
mov esi, dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1027460
test al, 0x10
je 0x10274a7
mov eax, dword [esi]
mov eax, dword [eax - 8]
push edi
lea edi, [eax - 1]
push edi
mov ecx, esi
call fcn.010204f8
cmp ax, 0x5c
je 0x1027447
push edi
mov ecx, esi
call fcn.010204f8
cmp ax, 0x5c
je 0x1027447
push 0x1003824
mov ecx, esi
call sub.MFC42u.dll_CString::operator_1
push 0x1004d10
mov ecx, esi
call sub.MFC42u.dll_CString::operator_1
push dword [ebp + 0xc]
mov ecx, esi
call sub.MFC42u.dll_CString::operator_2
pop edi
jmp 0x10274a7
push 0x5c
mov ecx, esi
call sub.MFC42u.dll_CString::ReverseFind
cmp eax, 0xffffffff
mov ecx, esi
je 0x102749d
push eax
lea eax, [ebp + 8]
push eax
call sub.MFC42u.dll_CString::Left
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.01078b5e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call sub.MFC42u.dll_CString::CString
push dword [ebp + 0xc]
push esi
call fcn.010273f3
jmp 0x10274a7
push 0x100210c
call sub.MFC42u.dll_CString::operator
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x10280bf
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10e607c]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x10]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push 0x20
push 2
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp dword [ebp - 0x10], ebx
je 0x1028129
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x1028120
mov dword [ebp - 0x14], ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop ebx
call fcn.01078836
leave
ret 4
Function at 0x10285b3
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x10d33f6
call fcn.0107a498
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100503c
cmp dword [esi + 0x11c], 0
mov dword [ebp - 4], 5
jne 0x10285f5
push 0x3e8
push dword [esi + 0x168]
mov dword [esi + 0x118], 1
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x168]
test eax, eax
je 0x1028611
cmp dword [esi + 0x11c], 0
jne 0x1028611
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
push dword [esi + 0x108]
mov edi, dword [sym.imp.msvcrt.dll_free]
call edi
push dword [esi + 0x10c]
call edi
push dword [esi + 0x110]
call edi
add esp, 0xc
lea eax, [esi + 0xe8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esi + 0x168]
test eax, eax
pop edi
je 0x1028652
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi + 0x170]
call fcn.010284fd
lea ecx, [esi + 0x124]
mov byte [ebp - 4], 4
call sub.MFC42u.dll_CAnimateCtrl::CAnimateCtrl
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 3
call sub.MFC42u.dll_CString::CString
lea ecx, [esi + 0xe0]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CButton::CButton
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0
call sub.MFC42u.dll_CButton::CButton
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call sub.MFC42u.dll_CDialog::CDialog
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x102990e
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x10d368e
call fcn.0107a498
sub esp, 0x688
mov eax, dword [0x10e607c]
push ebx
push esi
push edi
push 0xd
mov edx, ecx
pop ecx
xor ebx, ebx
push ebx
push 1
mov dword [ebp - 0x10], eax
xor eax, eax
push 0x2001
lea edi, [ebp - 0x694]
rep stosd dword es:[edi], eax
lea edi, [edx + 0x150]
push 0x10
lea eax, [ebp - 0x420]
mov esi, 0x104
push 0x10
mov ecx, edi
mov dword [ebp - 0x62c], edx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], esi
mov dword [ebp - 0x680], eax
call sub.MFC42u.dll_CImageList::Create
test eax, eax
je 0x1029aac
mov ecx, dword [ebp - 0x62c]
push 1
add ecx, 0xe8
push edi
mov dword [ebp - 0x62c], ecx
call fcn.010298de
lea eax, [ebp - 0x640]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
jmp 0x1029a99
inc dword [ebp - 0x634]
cmp word [ebp - 0x218], 0x2e
mov dword [ebp - 0x694], 0xb
mov dword [ebp - 0x630], esi
jne 0x1029a7b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x660]
call fcn.0103de75
push esi
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x660]
mov dword [ebp - 4], ebx
call fcn.0103d733
lea ecx, [ebp - 0x660]
mov dword [ebp - 0x68c], ebx
call fcn.0103d6e4
push eax
mov ecx, edi
call fcn.0102923d
mov ecx, dword [ebp - 0x62c]
mov dword [ebp - 0x678], eax
lea eax, [ebp - 0x694]
push eax
call fcn.0102919a
mov dword [ebp - 0x638], eax
push esi
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x660]
call fcn.0103d76a
mov ecx, dword [ebp - 0x62c]
lea eax, [ebp - 0x628]
push eax
push 1
push dword [ebp - 0x638]
call sub.MFC42u.dll_CListCtrl::SetItemText
inc dword [ebp - 0x690]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x660]
call fcn.0103d663
lea eax, [ebp - 0x640]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x634]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10299b6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01078836
leave
ret
Function at 0x102c023
Capabilities:
Check if file exists
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x45c
mov eax, dword [0x10e607c]
and word [ebp - 0x20c], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
lea eax, [ebp - 0x20c]
push 0x10055f4
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x102c0b0
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0108b57d
test ax, ax
je 0x102c0ab
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
dec eax
dec eax
neg eax
sbb eax, eax
add eax, 7
mov dword [esi], eax
mov ax, 1
jmp 0x102c10e
xor ax, ax
jmp 0x102c10e
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp ebx, 2
je 0x102c10a
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
inc ecx
test eax, eax
je 0x102c0ff
cmp eax, 2
je 0x102c0ee
jbe 0x102c10a
cmp eax, 4
ja 0x102c10a
xor eax, eax
cmp ebx, 0x6f9
setne al
dec eax
and eax, 0xfffffffd
add eax, 5
mov dword [esi], eax
jmp 0x102c105
cmp ebx, 0x15
jne 0x102c0fb
mov dword [esi], 3
jmp 0x102c105
mov dword [esi], ecx
jmp 0x102c105
mov dword [esi], 4
mov ax, cx
jmp 0x102c10d
xor ax, ax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01078836
leave
ret 8
Function at 0x102c242
Capabilities:
Get disk information

Disassembly:
mov eax, 0x10d3aa2
call fcn.0107a498
sub esp, 0x20c
mov eax, dword [0x10e607c]
push ebx
push esi
mov dword [ebp - 0x10], eax
call fcn.01050a95
xor ebx, ebx
test eax, eax
je 0x102c320
call fcn.01022d6e
add eax, 0xa2
push eax
lea ecx, [ebp - 0x214]
call sub.MFC42u.dll_CString::CString_3
mov esi, 0x1003824
push esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 4], ebx
call sub.MFC42u.dll_CString::Find_1
cmp eax, 0xffffffff
lea ecx, [ebp - 0x214]
je 0x102c2ce
inc eax
push eax
lea eax, [ebp - 0x218]
push eax
call sub.MFC42u.dll_CString::Left
push eax
lea ecx, [ebp - 0x214]
mov byte [ebp - 4], 1
call fcn.01078b5e
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], bl
call sub.MFC42u.dll_CString::CString
jmp 0x102c2d4
push esi
call sub.MFC42u.dll_CString::operator_1
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x102c302
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
mov word [0x10e81c0], 1
call sub.MFC42u.dll_CString::CString
jmp 0x102c3a0
push dword [ebp - 0x214]
push edi
call dword [sym.imp.msvcrt.dll_wcscpy]
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp - 0x214]
call sub.MFC42u.dll_CString::CString
call fcn.01022d6e
cmp word [eax + 0xb88], 2
push 0xff
lea eax, [ebp - 0x210]
push eax
je 0x102c342
push 0xfa3
jmp 0x102c347
push 0xe000
call fcn.0106abf7
push 1
push ebx
push 0x40
push 4
push 0xbd2
lea eax, [ebp - 0x210]
push eax
call fcn.01056d87
cmp eax, 6
jne 0x102c397
push edi
push 0xbc5
call fcn.0108c10c
pop ecx
pop ecx
push 1
push ebx
push 0x30
push ebx
mov esi, eax
push esi
push 0xfa0
call fcn.01056de7
push esi
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov ax, 0x8008
jmp 0x102c3a4
mov word [0x10e81c0], 1
mov ax, 0x8007
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.01078836
leave
ret
Function at 0x103baeb
Capabilities:
Create directory
Delete file
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10e607c]
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x214], eax
mov ebx, ecx
xor eax, eax
mov ecx, 0x82
lea edi, [ebp - 0x20c]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x1005e8c
xor esi, esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0x5c
push dword [ebp - 0x214]
call dword [sym.imp.msvcrt.dll_wcsrchr]
test eax, eax
pop ecx
pop ecx
je 0x103bb9f
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcscat]
mov edi, dword [sym.imp.msvcrt.dll_wcschr]
push 0x5c
add ebx, 2
push ebx
call edi
add esp, 0x10
test eax, eax
je 0x103bb9f
push 7
lea ebx, [eax + 2]
push 0x1005e7c
push ebx
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x103bb92
inc esi
push 0x5c
push ebx
call edi
xor edi, edi
cmp eax, edi
pop ecx
pop ecx
jne 0x103bba3
xor eax, eax
jmp 0x103bc07
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push edi
push 0x2000000
add eax, 2
neg si
push 4
push edi
push edi
push eax
sbb esi, esi
add esi, 0x80000003
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, edi
jne 0x103bc04
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSaveKeyW]
push dword [ebp - 0x210]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01078836
leave
ret 4