joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4138fb
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x45fd72
call fcn.00437048
mov eax, 0x2960
call fcn.00437670
mov al, byte [ebp + 8]
push ebx
xor ebx, ebx
cmp al, bl
mov byte [ebp - 0xd], bl
jne 0x413921
call fcn.00413757
movsx eax, al
push eax
lea eax, [ebp - 0x25c]
push str.._c:
push eax
call fcn.00437a7b
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x413b37
push esi
push 0xc
lea eax, [ebp - 0x24]
push ebx
push eax
mov dword [ebp - 0x14], ebx
call fcn.004370b0
mov esi, 0x2710
push esi
lea eax, [ebp - 0x296c]
push ebx
push eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
call fcn.004370b0
add esp, 0x18
push ebx
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x296c]
push eax
push 0xc
lea eax, [ebp - 0x24]
push eax
push 0x2d1400
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x413b2d
cmp dword [ebp - 0x2954], esi
jae 0x413b2d
cmp dword [ebp - 0x295c], esi
jae 0x413b2d
mov eax, esi
sub eax, dword [ebp - 0x2954]
push 0x64
pop ecx
cmp eax, ecx
jle 0x4139d8
mov eax, ecx
sub esi, dword [ebp - 0x295c]
dec eax
cmp esi, ecx
mov dword [ebp - 0x18], eax
jle 0x4139e8
mov esi, ecx
push edi
xor edi, edi
inc edi
dec esi
cmp eax, edi
jl 0x413b2c
cmp esi, edi
jl 0x413b2c
push ecx
lea eax, [ebp - 0xf8]
push ebx
push eax
call fcn.004370b0
push 0x64
lea eax, [ebp - 0x15c]
push ebx
push eax
call fcn.004370b0
mov eax, dword [ebp - 0x2954]
push dword [ebp - 0x18]
lea eax, [ebp + eax - 0x296c]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.0041360d
add esp, 0x24
test eax, eax
je 0x413b2c
mov eax, dword [ebp - 0x295c]
lea eax, [ebp + eax - 0x296c]
push esi
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.00439710
movsx eax, byte [ebp - 0xf8]
push eax
call fcn.004388e2
add esp, 0x10
test eax, eax
jne 0x413a87
movsx eax, byte [ebp - 0xe5]
push eax
call fcn.004388e2
test eax, eax
pop ecx
je 0x413b2c
lea eax, [ebp - 0xf8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00401496
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 4], ebx
call fcn.00413869
pop ecx
pop ecx
mov esi, dword [ebp + 0xc]
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00401333
push ebx
push edi
lea ecx, [ebp - 0x78]
call fcn.00401050
or dword [ebp - 4], 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.00401050
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x94]
call fcn.00401496
push eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 4], 2
call fcn.00413869
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.00401333
push ebx
push edi
lea ecx, [ebp - 0x5c]
call fcn.00401050
push ebx
push edi
lea ecx, [ebp - 0x94]
call fcn.00401050
cmp dword [esi + 0x14], ebx
jne 0x413b28
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x14], ebx
je 0x413b2c
mov byte [ebp - 0xd], 1
pop edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x413b47
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2904
call fcn.00437670
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2904]
push eax
mov dword [ebp - 4], 0x2800
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x413b85
mov ecx, dword [ebp + 8]
push 0x4706f0
call fcn.00401496
jmp 0x413c3a
lea eax, [ebp - 0x2904]
xor ecx, ecx
push esi
movzx edx, byte [eax + 0x196]
movzx esi, byte [eax + 0x197]
shl edx, 8
add edx, esi
movzx esi, byte [eax + 0x198]
shl edx, 8
add edx, esi
movzx esi, byte [eax + 0x199]
shl edx, 8
add edx, esi
je 0x413c1c
cmp dword [ebp + 0xc], 0
jl 0x413bc6
cmp dword [ebp + 0xc], ecx
jne 0x413c21
movzx ecx, byte [eax + 0x199]
push ecx
movzx ecx, byte [eax + 0x198]
push ecx
movzx ecx, byte [eax + 0x197]
push ecx
movzx ecx, byte [eax + 0x196]
push ecx
movzx ecx, byte [eax + 0x195]
movzx eax, byte [eax + 0x194]
push ecx
push eax
push str._02X__02X__02X__02X__02X__02X
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.0043a242
add esp, 0x24
lea eax, [ebp - 0x104]
mov byte [ebp - 5], 0
push eax
jmp 0x413c31
cmp dword [ebp + 0xc], ecx
je 0x413c2c
mov eax, dword [eax]
inc ecx
test eax, eax
jne 0x413b8e
push 0x4706f0
mov ecx, dword [ebp + 8]
call fcn.00401496
pop esi
mov eax, dword [ebp + 8]
leave
ret

Function at 0x413c3f
Capabilities:
Get disk information

Disassembly:
mov eax, 0x45fd84
call fcn.00437048
sub esp, 0x120
push ebx
xor ebx, ebx
cmp byte [ebp + 8], bl
push edi
mov edi, dword [ebp + 0xc]
mov dword [edi], ebx
jne 0x413c65
call fcn.00413757
mov byte [ebp + 8], al
push esi
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 0xf
call fcn.00401034
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
push 1
mov dword [ebp - 4], ebx
call fcn.004047f3
push 0x476744
lea ecx, [ebp - 0x28]
call fcn.004047d6
mov esi, 0x104
push esi
lea eax, [ebp - 0x12c]
push ebx
push eax
call fcn.004370b0
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x10], 0x10
jae 0x413cb5
lea eax, [ebp - 0x24]
push ebx
push ebx
push ebx
push ebx
push edi
push esi
lea ecx, [ebp - 0x12c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
pop esi
je 0x413cdd
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x12c]
push eax
call fcn.0040145b
push ebx
lea ecx, [ebp - 0x28]
push 1
call fcn.00401050
mov ecx, dword [ebp - 0xc]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4140b1
Capabilities:
Check os version
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov eax, 0x45fe45
call fcn.00437048
sub esp, 0xf0
push ebx
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xfc], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor ebx, ebx
cmp dword [ebp - 0xf8], 5
ja 0x4140f7
jne 0x4140f2
cmp dword [ebp - 0xf4], 1
jae 0x4140f7
mov byte [ebp - 0xd], bl
jmp 0x4140fb
mov byte [ebp - 0xd], 1
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x414294
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jl 0x41428e
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x47f3dc
push 1
push ebx
push 0x47f4ac
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x41427d
mov dword [ebp - 0x14], ebx
push str.rootcimv2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040b38c
mov eax, dword [eax]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x41416b
mov edx, dword [eax]
jmp 0x41416d
xor edx, edx
push edi
mov ecx, dword [ebp - 0x18]
mov edi, dword [ecx]
lea eax, [ebp - 0x14]
push eax
mov al, byte [ebp - 0xd]
neg al
push ebx
push ebx
sbb eax, eax
and eax, 0x80
push eax
push ebx
push ebx
push ebx
push edx
push ecx
call dword [edi + 0xc]
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov edi, eax
mov byte [ebp - 4], 1
je 0x4141a0
call fcn.0040a0b0
cmp edi, ebx
pop edi
jl 0x41426d
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov eax, str.SerialNumber
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
push 3
lea eax, [ebp - 0x30]
push eax
push str.SELECT__FROM_Win32_BIOS
push dword [ebp - 0x14]
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x2c], str.Caption
mov dword [ebp - 0x28], str.Manufacturer
mov dword [ebp - 0x20], str.Model
call fcn.00413de0
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x68]
push eax
push 3
mov byte [ebp - 4], 3
call fcn.004137c2
mov ecx, dword [ebp - 0x1c]
push ebx
lea eax, [ebp - 0x4c]
push eax
call fcn.00413f7d
cmp dword [eax + 0x14], ebx
push ebx
push 1
lea ecx, [ebp - 0x4c]
sete byte [ebp - 0xd]
call fcn.00401050
cmp byte [ebp - 0xd], bl
je 0x414262
push 2
lea eax, [ebp - 0x24]
push eax
push str.SELECT__FROM_Win32_PhysicalMedia
push dword [ebp - 0x14]
lea eax, [ebp - 0x4c]
push eax
call fcn.00413de0
add esp, 0x14
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x4c]
push eax
push ebx
mov byte [ebp - 4], 4
call fcn.004137c2
push ebx
push 1
lea ecx, [ebp - 0x4c]
call fcn.00401050
push ebx
push 1
lea ecx, [ebp - 0x68]
call fcn.00401050
mov eax, dword [ebp - 0x14]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x41427d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x41428e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
xor al, al
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x41545d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
push esi
mov esi, dword [eax + 0x78]
add esi, ecx
cmp word [eax + 0x18], 0x10b
je 0x41547c
xor eax, eax
jmp 0x41549e
mov eax, dword [esi + 0x24]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [esi + 0x1c]
push edi
mov edi, dword [esi + 0x20]
add eax, ecx
add ebx, ecx
add edi, ecx
cmp dword [esi + 0x18], 0
mov dword [ebp - 8], eax
ja 0x4154a4
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
push dword [ebp + 0xc]
add eax, ecx
push eax
call fcn.004376b0
test eax, eax
pop ecx
pop ecx
je 0x4154c8
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x18]
jb 0x4154a1
jmp 0x41549a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
movzx eax, word [eax + ecx*2]
mov eax, dword [ebx + eax*4]
jmp 0x41549c

Function at 0x4154d7
Capabilities:
Check for software breakpoints
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
add eax, edx
mov ecx, dword [eax + 0x78]
add ecx, edx
cmp word [eax + 0x18], 0x10b
je 0x4154f5
xor eax, eax
leave
ret
mov eax, dword [ecx + 0x20]
push ebx
push esi
mov esi, dword [ecx + 0x1c]
push edi
mov edi, dword [ecx + 0x24]
xor ebx, ebx
add eax, edx
add esi, edx
add edi, edx
cmp dword [ecx + 0x18], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jbe 0x415589
jmp 0x415519
mov eax, dword [ebp - 8]
mov edx, dword [eax + ebx*4]
movzx eax, word [edi + ebx*2]
mov eax, dword [esi + eax*4]
add edx, dword [ebp + 8]
add eax, dword [ebp + 8]
cmp dword [0x492130], 0
jne 0x415543
cmp byte [eax], 0xb8
jne 0x41557d
cmp byte [eax + 9], 0xcd
jne 0x41557d
cmp byte [eax + 0xa], 0x2e
jmp 0x41556d
cmp dword [0x492130], 1
jne 0x41557d
cmp byte [eax], 0xb8
jne 0x41557d
cmp byte [eax + 5], 0xba
jne 0x41557d
cmp byte [eax + 6], 0
jne 0x41557d
cmp byte [eax + 7], 3
jne 0x41557d
cmp byte [eax + 8], 0xfe
jne 0x41557d
cmp byte [eax + 9], 0x7f
jne 0x41557d
mov eax, dword [eax + 1]
cmp eax, dword [ebp + 0x10]
jae 0x41557d
mov ebx, dword [ebp + 0xc]
mov dword [ebx + eax*4], edx
mov ebx, dword [ebp - 4]
inc ebx
cmp ebx, dword [ecx + 0x18]
mov dword [ebp - 4], ebx
jb 0x415516
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x415591
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.RtlAnsiStringToUnicodeString
push edi
call esi
push str.RtlInitAnsiString
push edi
mov dword [0x49212c], eax
call esi
push str.RtlInitUnicodeString
push edi
mov dword [0x492128], eax
call esi
push str.RtlFreeUnicodeString
push edi
mov dword [0x492124], eax
call esi
push str.NtOpenSection
push edi
mov dword [0x492120], eax
call esi
push str.NtMapViewOfSection
push edi
mov dword [0x49211c], eax
call esi
push str.NtUnmapViewOfSection
push edi
mov dword [0x492118], eax
call esi
push str.ZwQuerySystemInformation
push edi
mov dword [0x492114], eax
call esi
xor ecx, ecx
cmp dword [0x49212c], ecx
pop edi
mov dword [0x492110], eax
pop esi
je 0x415652
cmp dword [0x492128], ecx
je 0x415652
cmp dword [0x492124], ecx
je 0x415652
cmp dword [0x492120], ecx
je 0x415652
cmp dword [0x49211c], ecx
je 0x415652
cmp dword [0x492118], ecx
je 0x415652
cmp dword [0x492114], ecx
je 0x415652
cmp eax, ecx
je 0x415652
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x415a6c
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x45ffce
call fcn.00437048
push ecx
xor eax, eax
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x30]
call fcn.004010bd
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00415a30
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41636f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4163d1
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProgramFilesDir
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4163cf
cmp esi, ebx
je 0x4163c8
mov byte [edi + esi - 1], bl
mov dword [ebp - 8], 1
pop edi
pop esi
cmp dword [ebp - 4], ebx
pop ebx
je 0x4163e0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x416444
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x460077
call fcn.00437048
sub esp, 0x124
push esi
xor esi, esi
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], 0xf
call fcn.00401034
push 1
push 0x26
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
lea eax, [ebp - 0x130]
je 0x416494
push eax
lea ecx, [ebp - 0x28]
call fcn.0040145b
jmp 0x4164d0
push edi
mov edi, 0x104
push edi
push eax
call fcn.0041636f
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x130]
jne 0x4164bf
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x4164c2
lea eax, [ebp - 0x130]
push eax
jmp 0x4164c7
push 0x476b84
lea ecx, [ebp - 0x28]
call fcn.0040145b
pop edi
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x28]
push eax
call fcn.00404da1
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401050
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4166f7
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x416720
push ebx
push edi
movzx edi, byte [edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x491c38]
inc edx
dec esi
jne 0x416708
pop edi
pop ebx
mov dword [ecx], eax
pop esi
ret 8
Function at 0x416868
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x46014a
call fcn.00437048
sub esp, 0x164
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], esi
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], 0xf
call fcn.00401034
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 4], esi
jb 0x4168a4
mov eax, dword [eax + 4]
jmp 0x4168a7
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp + 0x10]
xor ebx, ebx
inc ebx
cmp dword [eax + 0x18], 0x10
mov byte [ebp - 4], bl
mov dword [ebp + 0xc], 0xff
mov dword [ebp - 0x18], ebx
jb 0x4168db
mov eax, dword [eax + 4]
jmp 0x4168de
add eax, 4
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x170]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, esi
je 0x416910
mov dword [ebp - 0x1c], str.Unable_to_get_the_value_from_the_registry
push 0x485544
lea eax, [ebp - 0x1c]
jmp 0x416992
lea eax, [ebp - 0x170]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040145b
push dword [ebp - 0x14]
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
call fcn.00404da1
push esi
push ebx
lea ecx, [ebp - 0x38]
call fcn.00401050
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push eax
call fcn.00437067
int3

Function at 0x41699e
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x46015c
call fcn.00437048
sub esp, 0x128
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x1c], 0xf
call fcn.00401034
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 4], edi
jb 0x4169d5
mov eax, dword [eax + 4]
jmp 0x4169d8
add eax, 4
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push edi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x18], 0xff
mov dword [ebp - 0x10], 1
jb 0x416a0a
mov eax, dword [eax + 4]
jmp 0x416a0d
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x134]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push edi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea ecx, [ebp - 0x34]
je 0x416a35
push 0x4706f0
jmp 0x416a3c
lea eax, [ebp - 0x134]
push eax
call fcn.0040145b
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.00404da1
push edi
push 1
lea ecx, [ebp - 0x34]
call fcn.00401050
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x416a73
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x46016e
call fcn.00437048
sub esp, 0x148
and dword [ebp - 0x1c], 0
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.004167e8
test al, al
je 0x416b26
cmp dword [esi + 0x3c], 0x10
jb 0x416aab
mov esi, dword [esi + 0x28]
jmp 0x416aae
add esi, 0x28
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x416abc
mov eax, dword [eax + 4]
jmp 0x416abf
add eax, 4
push esi
push 0xff
lea ecx, [ebp - 0x154]
push ecx
push 0x4706f0
push eax
push str.SKUInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x154]
push eax
call fcn.00436470
test eax, eax
pop ecx
jle 0x416b11
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x154]
push eax
call fcn.00401496
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], str.Unable_to_get_the_value_from_the_ini_file
push 0x485544
lea eax, [ebp - 0x14]
jmp 0x416b6b
mov dword [ebp - 0x18], str._file_not_found:_SKUInfo.ini
push 0x485544
lea eax, [ebp - 0x18]
jmp 0x416b6b
push eax
call fcn.00437067
int3
Function at 0x4194fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push ebx
push edi
push 0x41
pop ecx
xor ebx, ebx
push 0x41
xor eax, eax
mov byte [ebp - 0x230], bl
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
pop ecx
mov byte [ebp - 0x128], bl
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push ebx
push str.SoftwareWildTangentCDA_
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], 0x104
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41955f
xor eax, eax
jmp 0x419651
push esi
push 5
pop eax
push ebx
push ebx
push eax
push ebx
mov dword [ebp - 0x10], eax
mov edi, str.FileName_d_d_d_d
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
call fcn.00437a7b
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 4]
mov byte [ebp - 0x24], bl
call esi
test eax, eax
jne 0x419633
push dword [ebp - 4]
inc dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
push 9
pop eax
cmp dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jle 0x4195ef
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
jle 0x4195ef
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
jle 0x4195ef
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ebx
jg 0x419643
push dword [ebp - 8]
lea eax, [ebp - 0x128]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push edi
push eax
call fcn.00437a7b
add esp, 0x18
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 4]
mov byte [ebp - 0x24], bl
call esi
test eax, eax
je 0x4195b4
cmp dword [ebp - 0x18], ebx
jne 0x419637
xor eax, eax
jmp 0x419650
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x4199c8
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jbe 0x4199f1
push ebx
push edi
movzx edi, byte [edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4921a8]
inc edx
dec esi
jne 0x4199d9
pop edi
pop ebx
mov dword [ecx], eax
pop esi
ret 8

Function at 0x419a9c
Capabilities:
Check for time delay via gettickcount
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x419b0b
push ebx
push edi
push dword [esi + 0x94]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
jmp 0x419acd
cmp dword [esi + 0x40], 0
je 0x419b09
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, ebx
cmp eax, dword [esp + 0x10]
jb 0x419abf
lea edi, [esi + 8]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x40]
test eax, eax
je 0x419afe
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x40], 0
push edi
mov byte [esi + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop esi
ret 4

Function at 0x419c38
Capabilities:
Clear file content

Disassembly:
push esi
push edi
push 0x14
mov esi, edx
push 0
push esi
mov edi, ecx
call fcn.004370b0
and dword [esi + 4], 0
add esp, 0xc
mov dword [esi], 1
mov dword [esi + 8], 0x14
call fcn.00438713
mov edx, esi
mov ecx, edi
mov dword [esi + 0xc], eax
call fcn.00419b50
test al, al
je 0x419c7a
push edi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov al, 1
pop edi
pop esi
ret

Function at 0x419c9a
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0x10
push esi
push edi
jb 0x419caa
mov eax, dword [ebx + 0x24]
jmp 0x419cad
lea eax, [ebx + 0x24]
push 0
mov edi, 0x80
push edi
push 3
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x419d02
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x419cfd
cmp dword [ebx + 0x38], 0x10
jb 0x419ce4
mov ecx, dword [ebx + 0x24]
jmp 0x419ce7
lea ecx, [ebx + 0x24]
push edi
push 2
push 3
mov edx, 0xc0000000
call fcn.0041fa5e
mov esi, eax
cmp esi, 0xffffffff
jne 0x419d02
or eax, 0xffffffff
jmp 0x419d1e
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.00419b0f
test al, al
jne 0x419d1c
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.00419c38
mov eax, esi
pop edi
pop esi
pop ebx
ret 4