joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ac77
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0x280
and byte [esi], 0
push dword [ebp - 4]
call sub.MSVCRT.dll_malloc
mov ebx, eax
pop ecx
test ebx, ebx
je 0x40acc1
push dword [ebp - 4]
push 0
push ebx
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ebx
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40accd
push ebx
call sub.MSVCRT.dll_free
pop ecx
jmp 0x40ac8c
push str.GetMA:_could_not_malloc
call fcn.0040ad3c
jmp 0x40acdd
test eax, eax
je 0x40ace3
push eax
push str.getMA:_GetAdaptersInfo
call fcn.0040ae98
pop ecx
and byte [esi], 0
pop ecx
jmp 0x40ad38
push edi
xor esi, esi
mov al, byte [0x444170]
lea edi, [ebp - 0xb]
mov byte [ebp - 0xc], al
xor eax, eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
movzx eax, byte [esi + ebx + 0x194]
test esi, esi
push eax
jbe 0x40ad0b
push str.__.2X
jmp 0x40ad10
push str._.2X
lea eax, [ebp - 0xc]
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_strcat
inc esi
pop ecx
cmp esi, 6
pop ecx
jb 0x40ace6
push ebx
call sub.MSVCRT.dll_free
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40ad52
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa04
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push 0x400
push dword [ebp + 0x10]
push esi
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
je 0x40ae1f
cmp dword [ebp + 0xc], esi
je 0x40ad9e
push dword [ebp + 8]
lea eax, [ebp - 0x204]
push 0x40f0c8
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0xc
jmp 0x40adbb
push dword [ebp - 4]
lea eax, [ebp - 0x204]
push dword [ebp + 0x10]
push dword [ebp + 8]
push str._s___d_:__s
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0x14
lea eax, [ebp - 0xa04]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0040ae22
pop ecx
lea eax, [ebp - 0xa04]
pop ecx
push dword [0x444b04]
push eax
push dword [ebp + 0xc]
push dword [0x444b00]
push 0x40f060
push 0x5b
call fcn.0040b52c
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x404]
push eax
call sub.MSVCRT.dll_sprintf
add esp, 0x18
lea eax, [ebp - 0x604]
push esi
push esi
push 0x200
push eax
lea eax, [ebp - 0x404]
push eax
push esi
call sub.urlmon.dll_URLDownloadToCacheFileA
pop esi
leave
ret

Function at 0x40aeab
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push ebx
push ebx
push ebx
lea eax, [ebp + 8]
push ebx
push eax
push ebx
push ebx
push 0x441d54
mov byte [esi], bl
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
jne 0x40aedd
push str.getHDS:_get_vol_info
call fcn.0040ad3c
pop ecx
mov byte [esi], bl
push dword [ebp + 8]
push 0x40f0cc
push esi
call sub.MSVCRT.dll_sprintf
add esp, 0xc
pop esi
pop ebx
pop ebp
ret
Function at 0x40aef2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10008
call fcn.00409bf0
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], 0xffff
mov byte [esi], bl
call fcn.0040afa5
test eax, eax
jne 0x40af43
lea eax, [ebp + 8]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftCryptography
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x40af47
push eax
push str.getMSCG:_open_crypto_key
call fcn.0040ae98
pop ecx
pop ecx
mov byte [esi], bl
jmp 0x40afa1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10008]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push str.MachineGuid
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40af83
push eax
push str.getMSCG:_query_machine_guid
call fcn.0040ae98
pop ecx
mov byte [esi], bl
pop ecx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40afa1
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10008]
push eax
push 0x40f0c8
push esi
call sub.MSVCRT.dll_sprintf
add esp, 0xc
pop esi
pop ebx
leave
ret

Function at 0x40aff1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov eax, 0x200
push edi
push eax
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], eax
call sub.MSVCRT.dll_malloc
mov esi, dword [ebp + 8]
mov edi, eax
pop ecx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push 0x80000002
mov byte [esi], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x40b048
push eax
push str.getWID:_Open_Windows_key
call fcn.0040ae98
pop ecx
mov byte [esi], bl
pop ecx
jmp 0x40b097
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
push ebx
push str.ProductId
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40b07e
push eax
push str.getWID:_Get_product_id
call fcn.0040ae98
pop ecx
mov byte [esi], bl
pop ecx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40b097
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push esi
call sub.MSVCRT.dll_strcpy
push edi
call sub.MSVCRT.dll_free
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b09c
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10008
call fcn.00409bf0
push ebx
mov ebx, dword [ebp + 8]
push esi
lea eax, [ebp + 8]
and byte [ebx], 0
push edi
push eax
push 0x20019
push 0
mov edi, 0xffff
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b0eb
push eax
push str.getCPUI:_Open_CPU_key
call fcn.0040ae98
pop ecx
pop ecx
jmp 0x40b1e7
lea eax, [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x10008]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.Identifier
push dword [ebp + 8]
call esi
test eax, eax
je 0x40b11b
push eax
push str.getCPUI:_Query_identifier
jmp 0x40b1a6
lea eax, [ebp - 0x10008]
push eax
push str._s_r_n
push ebx
call sub.MSVCRT.dll_sprintf
add esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10008]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.VendorIdentifier
push dword [ebp + 8]
call esi
test eax, eax
je 0x40b15a
push eax
push str.getCPUInfo:_Query_vendor_id
jmp 0x40b1a6
lea eax, [ebp - 0x10008]
push eax
push ebx
call sub.MSVCRT.dll_strcat
push 0x40f1f4
push ebx
call sub.MSVCRT.dll_strcat
add esp, 0x10
mov dword [ebp - 4], edi
call fcn.0040afa5
test eax, eax
jne 0x40b1de
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10008]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.ProcessorNameString
push dword [ebp + 8]
call esi
test eax, eax
je 0x40b1af
push eax
push str.getCPUI:_Get_processor_name_string
call fcn.0040ae98
pop ecx
pop ecx
jmp 0x40b1de
lea eax, [ebp - 0x10008]
push 0x40f1b8
push eax
call sub.MSVCRT.dll_strspn
mov cl, byte [ebp + eax - 0x10008]
lea eax, [ebp + eax - 0x10008]
neg cl
sbb ecx, ecx
and ecx, eax
push ecx
push ebx
call sub.MSVCRT.dll_strcat
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40b1ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREClickSpring
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40b228
push str.setUID:_RegCreateKeyEx
call fcn.0040ad3c
pop ecx
xor eax, eax
jmp 0x40b266
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [ebp + 8]
push 1
push esi
push str.UUID
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40b258
push str.setUID:_RegSetValueEx
call fcn.0040ad3c
pop ecx
jmp 0x40b25b
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x40b269
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 1
pop esi
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREClickSpring
push 0x80000002
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40b2a0
xor eax, eax
jmp 0x40b2de
push edi
push dword [ebp - 4]
call sub.MSVCRT.dll_malloc
mov edi, eax
pop ecx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push edi
push eax
push 0
push str.UUID
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40b2cb
xor esi, esi
push edi
call sub.MSVCRT.dll_free
pop ecx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x40b3e3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp byte [0x444b08], bl
je 0x40b3fe
push 0x444b08
call fcn.0040b1ec
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWAREClickSpring
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40b430
push str.setUID:_RegCreateKeyEx
call fcn.0040ad3c
pop ecx
jmp 0x40b436
cmp dword [ebp - 8], 2
je 0x40b43a
xor eax, eax
jmp 0x40b46f
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push ebx
push 0x40f30c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40b461
push str.setUID:_RegQueryValueEx
call fcn.0040ad3c
pop ecx
jmp 0x40b464
push 1
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop ebx
leave
ret

Function at 0x40b472
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWAREClickSpring
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40b4ae
push str.set_pid_list:_RegCreateKeyEx
call fcn.0040ad3c
pop ecx
xor eax, eax
jmp 0x40b4ec
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [ebp + 8]
push 1
push esi
push 0x40f30c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40b4de
push str.set_pid_list:_RegSetValueEx
call fcn.0040ad3c
pop ecx
jmp 0x40b4e1
push 1
pop esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret
Function at 0x40b52c
Capabilities:
Encode data using xor

Disassembly:
push ecx
cmp dword [0x4463a8], 0
push esi
push edi
mov edi, 0x446190
jne 0x40b54e
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4463a8], 1
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [esp + 0x10]
and dword [esp + 8], 0
test esi, esi
jle 0x40b5aa
mov eax, dword [0x448bc4]
push ebx
push ebp
push 0x14
cdq
pop ebx
mov ecx, dword [esp + 0x1c]
idiv ebx
mov edi, esi
sub edi, ecx
shl edx, 9
lea ebx, [edx + 0x4463ac]
lea eax, [edi + ecx]
push 0x20
cdq
pop ebp
idiv ebp
mov al, byte [edx + 0x40f370]
mov edx, dword [esp + 0x10]
xor al, byte [ecx]
inc dword [esp + 0x10]
inc ecx
cmp dword [esp + 0x10], esi
mov byte [ebx + edx], al
jl 0x40b580
pop ebp
mov edi, 0x446190
pop ebx
mov eax, dword [0x448bc4]
push 0x14
cdq
pop ecx
idiv ecx
push edi
shl edx, 9
and byte [edx + esi + 0x4463ac], 0
inc dword [0x448bc4]
lea esi, [edx + 0x4463ac]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x40c9e3
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
push 0
push esi
call sub.MSVCRT.dll_memset
and dword [esi + 0x44], 0
and dword [esi + 0x40], 0
add esp, 0xc
mov dword [esi + 0x48], 0x67452301
mov dword [esi + 0x4c], 0xefcdab89
mov dword [esi + 0x50], 0x98badcfe
mov dword [esi + 0x54], 0x10325476
mov eax, esi
pop esi
ret
Function at 0x40d114
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov eax, 0x40d528
call fcn.00409c40
sub esp, 0x42c
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
call esi
cmp dword [ebp - 0x10], ebx
je 0x40d1c8
push 1
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
push dword [ebp + 0xc]
mov edi, eax
call sub.MSVCRT.dll_strlen
pop ecx
lea eax, [edi + eax + 0x20]
pop ecx
push eax
call sub.MSVCRT.dll_calloc
mov edi, eax
push 0x40f52c
push 7
mov dword [ebp - 0x18], edi
call fcn.0040b52c
push eax
push edi
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
push edi
call sub.MSVCRT.dll_strcat
push 0x40f534
push edi
call sub.MSVCRT.dll_strcat
push dword [ebp + 0xc]
push edi
call sub.MSVCRT.dll_strcat
add esp, 0x30
push ebx
push ebx
push ebx
push ebx
push edi
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp + 8], eax
call esi
cmp dword [ebp + 8], ebx
jne 0x40d1cf
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call sub.MSVCRT.dll_free
pop ecx
call esi
jmp 0x40d2b1
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 1
mov byte [ebp - 0x28], al
call fcn.0040b69c
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x438]
push 0x400
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call edi
test eax, eax
je 0x40d26b
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jbe 0x40d26b
mov dword [ebp + 0xc], eax
mov al, byte [ebp + 0xb]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x38], al
call fcn.0040b69c
push dword [ebp + 0xc]
lea eax, [ebp - 0x438]
lea ecx, [ebp - 0x38]
push eax
call fcn.0040b81d
push dword [0x40f3f0]
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.0040d2c0
push 1
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call fcn.0040b69c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x438]
push 0x400
push eax
push dword [ebp + 8]
jmp 0x40d201
call esi
mov eax, dword [ebp - 0x24]
cmp eax, ebx
jne 0x40d279
mov eax, 0x40f3ec
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call sub.MSVCRT.dll__snprintf
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
add esp, 0xc
push dword [ebp + 8]
call esi
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x18]
call sub.MSVCRT.dll_free
or dword [ebp - 4], 0xffffffff
pop ecx
push 1
lea ecx, [ebp - 0x28]
call fcn.0040b69c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x100257e
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001210
call fcn.01002398
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x10025b9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10025b9
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x10025d1
cmp eax, 0x20b
je 0x10025be
mov dword [ebp - 0x1c], edi
jmp 0x10025e5
cmp dword [ecx + 0x84], 0xe
jbe 0x10025b9
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x10025df
cmp dword [ecx + 0x74], 0xe
jbe 0x10025b9
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004014], 0xffffffff
or dword [0x1004018], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004010]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x100400c]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x100401c], eax
call fcn.01002716
cmp dword [section..data], edi
jne 0x1002640
push fcn.01002716
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002704
push 0x1001150
push 0x100114c
call sub.msvcrt.dll__initterm
mov eax, dword [0x1004008]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push dword [0x1004004]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x30], eax
push 0x1001148
push 0x1001144
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x24]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.01001268
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x1c], edi
jne 0x10026b7
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x10026ec
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.010023d1
ret
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x419fb1
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0041a030
jae 0x419fbd
xor ecx, ecx
call fcn.0041a030
jae 0x419fe7
xor eax, eax
call fcn.0041a030
jae 0x419ff8
mov al, 0x10
call fcn.0041a030
adc al, al
jae 0x419fd9
jne 0x41a025
stosb byte es:[edi], al
jmp 0x419fbe
call fcn.0041a03c
dec ecx
loop 0x41a004
mov eax, ebp
call fcn.0041a03a
jmp 0x41a026
lodsb al, byte [esi]
shr eax, 1
je 0x41a04c
adc ecx, 2
mov ebp, eax
jmp 0x41a026
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0041a03a
cmp eax, 0x7d00
jae 0x41a024
cmp eax, 0x500
jae 0x41a025
cmp eax, 0x7f
ja 0x41a026
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x419fbe
pop ebp
ret 8
Function at 0x48752a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004876da
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x487628
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4875cb
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x48760e
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4875e2
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4875fd
test al, 0x40
je 0x4875f4
mov ecx, dword [edi + 0x20]
jmp 0x4875fb
test al, 0x80
je 0x48760e
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x48760e
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x48759a
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x4adc1c
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
call fcn.004ac1c4
cmp dword [0xcc], 1
jne 0x4add3b
call fcn.004add3f
mov eax, dword [0xec]
cmp dword [0x88], eax
jge 0x4add31
mov dword [0xf0], 1
call fcn.004adec9
push 0x50f51
push dword [0xb8]
push 0x5afb5
mov ecx, 3
call fcn.00487a3d
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x4adc8f
mov eax, 0x15a3a
push eax
push 0x10005
push 0x16014b22
push 0x5201327b
push 2
mov ebx, 0x530
call fcn.004db30c
add esp, 0x1c
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4adcc1
push ebx
call fcn.004db306
add esp, 4
call fcn.004ae365
call fcn.004ae8da
call fcn.004ae937
call fcn.004ae9aa
push 1
call fcn.004a62a1
call fcn.004abf67
cmp dword [0xd8], 0
jle 0x4add0e
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
push 0x3e8
call fcn.0049d9ed
call fcn.004af12a
jmp 0x4adce4
mov dword [0xf0], 0
mov dword [0xd0], 0
mov dword [0xcc], 0
jmp 0x4add3b
mov eax, dword [0x88]
mov dword [0xec], eax
mov esp, ebp
pop ebp
ret
Function at 0x417306
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x417327
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x41731e
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x417316
mov eax, ebx
leave
ret

Function at 0x41734d
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x4173ac
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x4173d9
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x4173c8
xor ecx, eax
xor edx, ebx
dec edi
jne 0x4173b9
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x4173ff
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x4173a0
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8