joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fa50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4d2a20]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, ecx
mov ebp, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call edi
test eax, eax
jne 0x46fbe1
push esi
push str._sConnection
push 0xffffffffffffffff
lea ecx, [esp + 0x2c]
push 0x103
push ecx
call sub.MSVCR80.dll__snprintf_s
mov ecx, dword [esp + 0x30]
add esp, 0x14
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x46fbda
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MediaSubType
push edx
call esi
test eax, eax
jne 0x46fbd3
push 0x104
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.PnpInstanceID
push ecx
call esi
test eax, eax
jne 0x46fbd3
mov esi, 1
cmp dword [esp + 0xc], esi
jne 0x46fbc3
push ebp
lea edx, [esp + 0x24]
push 0x4bf9a8
push edx
call sub.MSVCR80.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x46fb9e
xor ebp, ebp
jmp 0x46fbd3
cmp dword [esp + 0xc], esi
jne 0x46fbc3
push 3
lea eax, [esp + 0x24]
push 0x4bf9a8
push eax
call sub.MSVCR80.dll_strncmp
add esp, 0xc
test eax, eax
je 0x46fbc3
mov ebp, 2
jmp 0x46fbd3
xor ecx, ecx
cmp dword [esp + 0xc], 2
setne cl
lea ecx, [ecx + ecx + 1]
mov ebp, ecx
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0047676d
add esp, 0x11c
ret
Function at 0x473840
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49eba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
mov ebx, ecx
mov dword [ebp - 0x14], ebx
jne 0x473887
push esi
push esi
push esi
push 2
call fcn.004711e0
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push edi
call fcn.00472b70
push 2
or eax, 0xffffffff
push 0
push esi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call dword [sym.imp.MSVCR80.dll_fseek]
push esi
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push esi
mov edi, eax
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0x1c
test edi, edi
jg 0x4738e0
push 0
push 0
push 0
push 0xd
mov ecx, ebx
call fcn.004711e0
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov dword [ebp - 0x10], 0x4d67b0
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00474330
lea eax, [edi + 1]
push eax
call fcn.0047683a
push esi
push 1
mov ebx, eax
push edi
push ebx
mov byte [ebx], 0
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x473960
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 0x14]
add esp, 4
push 0
push 0
push 0
push 2
call fcn.004711e0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x4d67b0
je 0x47394b
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov byte [ebx + edi], 0
cmp byte [ebx], 0
mov eax, ebx
mov esi, ebx
je 0x4739cd
lea ecx, [ecx]
mov cl, byte [esi]
cmp cl, 0xa
jne 0x47398f
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004744a0
add esi, 1
mov eax, esi
jmp 0x4739c8
cmp cl, 0xd
jne 0x4739c5
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x4739a6
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.004744a0
push 1
lea edx, [ebp + 8]
push edx
lea ecx, [ebp - 0x10]
mov byte [ebp + 8], 0xa
call fcn.004744a0
cmp byte [esi + 1], 0xa
jne 0x473988
add esi, 2
mov eax, esi
jmp 0x4739c8
add esi, 1
cmp byte [esi], 0
jne 0x473970
sub esi, eax
je 0x4739db
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004744a0
push ebx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, esi
call eax
cmp byte [esi + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
jne 0x47393b
cmp eax, 0x4d67b0
je 0x473a21
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x4746c7
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00474606
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x474716
cmp dword [ebp - 0x1c], 5
jb 0x47472e
jmp 0x47472a
cmp dword [ebp - 0x10], 1
jne 0x47472e
cmp dword [ebp - 0x1c], 4
ja 0x47472a
jne 0x47472e
cmp dword [ebp - 0x18], 0
jbe 0x47472e
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4a90a4
call fcn.00406a26
test eax, eax
jge 0x47474f
mov byte [0x4d73e8], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0047676d
add ebp, 0x78
leave
ret

Function at 0x474c1e
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4d6874], 0
push esi
jne 0x474b91
call fcn.00474abc
test eax, eax
je 0x474bd4
mov eax, dword [0x4d6874]
cmp eax, 1
jne 0x474bb2
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x474bd4
pop esi
ret
push eax
call dword [0x4d687c]
test eax, eax
jne 0x474c1c
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x474bd8
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4d6874]
call dword [0x4d687c]
mov edi, eax
test edi, edi
je 0x474bff
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x474c1b
lea edi, [esi + 0xff0]
push esi
push dword [0x4d6874]
call dword [0x4d6878]
add esi, 0x10
cmp esi, edi
jb 0x474c05
mov eax, esi
pop edi
pop esi
ret
jmp 0x474b7e

Function at 0x4759a0
Capabilities:
Hash data with md5

Disassembly:
mov edx, dword [esp + 4]
push edi
mov ecx, 0x17
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [edx], 0x67452301
mov dword [edx + 4], 0xefcdab89
mov dword [edx + 8], 0x98badcfe
mov dword [edx + 0xc], 0x10325476
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
mov dword [edx + 0x58], eax
pop edi
ret
Function at 0x47676d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d2a20]
jne 0x476777
repz ret
jmp fcn.004770bc

Function at 0x4774a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4d71f0], 0
jne 0x477538
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [0x4d71f0], ecx
xor eax, eax
cmp dword [0x4d71f0], 0
setne al
jmp 0x47753d
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret
Function at 0x478fe0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], 0
push 0x118
push 0
lea eax, [ebp - 0x124]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x479035
mov eax, 1
jmp 0x479080
cmp dword [ebp - 0x124], 5
jne 0x47906e
cmp dword [ebp - 0x120], 1
jne 0x479056
movzx edx, word [ebp - 0x14]
cmp edx, 1
jge 0x479056
xor eax, eax
jmp 0x479080
cmp dword [ebp - 0x120], 0
jne 0x47906c
movzx eax, word [ebp - 0x14]
cmp eax, 3
jge 0x47906c
xor eax, eax
jmp 0x479080
jmp 0x47907b
cmp dword [ebp - 0x124], 5
jae 0x47907b
xor eax, eax
jmp 0x479080
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret

Function at 0x479590
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f7d3
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042845b
mov byte [ebp - 4], 1
mov ecx, dword [0x4bb7fc]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x4bb7fc]
push edx
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.0045db10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x4bb7fc]
je 0x47964a
mov ecx, dword [ebp - 0x30]
push ecx
push 0
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00428577
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00428493
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00402f4a
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.0042845b
mov dword [ebp - 0x64], eax
call fcn.00479590
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.0041478d
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x47966c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x479695
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402f4a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402f4a
mov eax, dword [ebp - 0x54]
jmp 0x4796d7
mov dword [ebp - 0x58], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402f4a
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00402f4a
mov eax, dword [ebp - 0x58]
jmp 0x4796d7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret
Function at 0x4796f0
Capabilities:
Check if file exists
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x218]
push edx
call sub.MSVCR80.dll_wcscpy
add esp, 8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x479790
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x224], esp
lea edx, [ebp - 0x218]
push edx
call fcn.00406f58
mov dword [ebp - 0x22c], eax
call fcn.00479590
add esp, 0x1c
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x220], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x228]
add ecx, 0x2c
call fcn.0041478d
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp + 0xc], 0
je 0x4797cc
mov ecx, dword [ebp - 0x228]
add ecx, 0x2c
call fcn.0041478d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret 8

Function at 0x4797f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 4], eax
mov word [ebp - 0x420], 0
push 0x410
push 0
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x420]
push ecx
push 0x208
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x2f
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR80.dll_wcsrchr
add esp, 8
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0
je 0x4798c2
push str.QMDownload
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x428], esp
lea edx, [ebp - 0x420]
push edx
call fcn.00406f58
mov dword [ebp - 0x42c], eax
call fcn.00479590
add esp, 0x1c
mov eax, dword [ebp - 0x424]
add eax, 2
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x420]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.00414777
mov eax, dword [ebp - 0x424]
add eax, 2
push eax
mov ecx, dword [ebp + 0x10]
call fcn.00414777
jmp 0x4798dc
push 0x4ad528
mov ecx, dword [ebp + 0xc]
call fcn.00414777
push 0x4ad52c
mov ecx, dword [ebp + 0x10]
call fcn.00414777
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret
Function at 0x479f50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x8c], 0
je 0x479f6c
xor eax, eax
jmp 0x47a129
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 0
jne 0x479f7c
xor eax, eax
jmp 0x47a129
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x10
call fcn.00414777
mov eax, dword [ebp - 0x20]
cmp dword [eax + 8], 0
jne 0x479fa8
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 8], 0
jne 0x479fb8
xor eax, eax
jmp 0x47a129
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x88], 0
je 0x47a010
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x88]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0
je 0x479ffc
push 1
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x24], eax
jmp 0x47a003
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x88], 0
call fcn.00478fe0
test eax, eax
je 0x47a05e
call fcn.00478fc0
cmp eax, 1
jne 0x47a05e
push 0x58
call fcn.0047683a
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47a043
mov ecx, dword [ebp - 0x14]
call fcn.004785a0
mov dword [ebp - 0x28], eax
jmp 0x47a04a
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x88], ecx
jmp 0x47a097
push 0x30
call fcn.0047683a
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47a07e
mov ecx, dword [ebp - 0x1c]
call fcn.00477e80
mov dword [ebp - 0x2c], eax
jmp 0x47a085
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x88], ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.STATIC
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x64], eax
push 0x479090
push 0xfffffffffffffffc
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x64]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x8c], 1
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0x20]
push edx
push 0x4798f0
push 0
push 0
call sub.MSVCR80.dll__beginthreadex
add esp, 0x18
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0xc], 0
jne 0x47a11d
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x8c], 0
mov ecx, dword [ebp - 0x20]
xor eax, eax
cmp dword [ecx + 0xc], 0
setne al
mov esp, ebp
pop ebp
ret 4
Function at 0x47a1e0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x47ce00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 3
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push 0x4ad6b0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x47ce5f
jmp 0x47cfcc
mov ecx, dword [ebp + 8]
push ecx
push 0x4ad700
push 0x103
lea edx, [ebp - 0x128]
push edx
call fcn.0044e720
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x47cea6
jmp 0x47cfc2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
push 0x4ad710
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x47cee6
jmp 0x47cfb8
mov dword [ebp - 0x14], 1
mov dword [ebp - 0xc], 0x103
push 0x104
push 0
lea ecx, [ebp - 0x128]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x128]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0x4ad720
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x47cf38
jmp 0x47cfb8
cmp dword [ebp - 0x18], 1
jne 0x47cf6d
push 0x4ad730
call sub.MSVCR80.dll_strlen
add esp, 4
push eax
push 0x4ad734
lea eax, [ebp - 0x128]
push eax
call sub.MSVCR80.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x47cf6d
mov dword [ebp - 8], 0
jmp 0x47cfb8
cmp dword [ebp - 0x18], 1
jne 0x47cfa2
push 0x4ad738
call sub.MSVCR80.dll_strlen
add esp, 4
push eax
push 0x4ad73c
lea ecx, [ebp - 0x128]
push ecx
call sub.MSVCR80.dll_strncmp
add esp, 0xc
test eax, eax
je 0x47cfa2
mov dword [ebp - 8], 2
jmp 0x47cfb8
cmp dword [ebp - 0x18], 2
jne 0x47cfb1
mov dword [ebp - 8], 1
jmp 0x47cfb8
mov dword [ebp - 8], 3
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret
Function at 0x47d000
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x29b4
call fcn.0049ea10
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x4ad690
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x47d07b
xor al, al
jmp 0x47d200
mov byte [ebp - 0x115], 0
mov dword [ebp - 4], 0
push 0x4ad6a0
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47d1cc
mov dword [ebp - 0x299c], 0x2880
lea edx, [ebp - 0x299c]
push edx
lea eax, [ebp - 0x2998]
push eax
call dword [ebp - 4]
test eax, eax
jne 0x47d1cc
lea ecx, [ebp - 0x2998]
mov dword [ebp - 0x29a0], ecx
mov dword [ebp - 0x29a4], 3
cmp dword [ebp - 0x29a0], 0
je 0x47d1cc
mov edx, dword [ebp - 0x29a0]
add edx, 8
push edx
call fcn.0047ce00
add esp, 4
mov dword [ebp - 0x29a8], eax
lea ecx, [ebp - 0x29ae]
call fcn.0044d8f0
push eax
mov ecx, dword [ebp + 8]
call fcn.0044e670
movzx eax, al
test eax, eax
jne 0x47d142
mov ecx, dword [ebp - 0x29a0]
cmp dword [ecx + 0x1a0], 6
jne 0x47d1b9
mov edx, dword [ebp - 0x29a4]
cmp edx, dword [ebp - 0x29a8]
jle 0x47d1b9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x29a0]
mov dl, byte [ecx + 0x194]
mov byte [eax], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x29a0]
mov dl, byte [ecx + 0x195]
mov byte [eax + 1], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x29a0]
mov dl, byte [ecx + 0x196]
mov byte [eax + 2], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x29a0]
mov dl, byte [ecx + 0x197]
mov byte [eax + 3], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x29a0]
mov dl, byte [ecx + 0x198]
mov byte [eax + 4], dl
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x29a0]
mov dl, byte [ecx + 0x199]
mov byte [eax + 5], dl
mov eax, dword [ebp - 0x29a8]
mov dword [ebp - 0x29a4], eax
mov ecx, dword [ebp - 0x29a0]
mov edx, dword [ecx]
mov dword [ebp - 0x29a0], edx
jmp 0x47d0e1
cmp dword [ebp - 0x114], 0
je 0x47d1ec
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x114], 0
lea ecx, [ebp - 0x29b4]
call fcn.0044d8f0
push eax
mov ecx, dword [ebp + 8]
call fcn.0044e6c0
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret
Function at 0x47dc60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a047d
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x4d2a20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x2c]
call fcn.00402f21
mov dword [ebp - 4], 0
mov byte [ebp - 0x2d], 0
push 0x208
push 0
lea eax, [ebp - 0x23c]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 1
movzx ecx, byte [ebp + 0xc]
neg ecx
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
lea edx, [ebp - 0x23c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x47dd85
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x258]
call fcn.00406f58
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
mov dword [ebp - 0x264], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x264]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004284a9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.00402f4a
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x47dd43
push 0x4ad780
lea ecx, [ebp - 0x2c]
call fcn.004284bf
jmp 0x47dd50
push 0x4ad7a8
lea ecx, [ebp - 0x2c]
call fcn.004284bf
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0047d690
add esp, 4
movzx edx, al
test edx, edx
jne 0x47dd74
lea eax, [ebp - 0x2c]
push eax
call fcn.0047d7f0
add esp, 4
mov byte [ebp - 0x2d], al
jmp 0x47dd78
mov byte [ebp - 0x2d], 1
push 0x4ad7cc
lea ecx, [ebp - 0x2c]
call fcn.004284bf
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0042845b
mov edx, dword [ebp - 0x25c]
or edx, 1
mov dword [ebp - 0x25c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402f4a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047676d
mov esp, ebp
pop ebp
ret