joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10159a2
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3d0
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDllDirectoryW]
call fcn.01015828
test eax, eax
jl 0x1015b7e
push 0x101978c
mov esi, 0x1006bb8
push esi
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call fcn.01011906
test eax, eax
jne 0x1015b7e
push 0x1019c48
push esi
mov ebx, reloc.ACLUI.dll_CreateSecurityPage
push ebx
call fcn.01011906
test eax, eax
jne 0x1015b7e
push 0x1019780
push 0x1006b58
push edi
call fcn.01011906
test eax, eax
jne 0x1015b7e
push 0x1019754
mov esi, 0x1001ca4
push esi
push dword [0x101978c]
call fcn.01011906
test eax, eax
jne 0x1015b7e
push 0x1019750
push esi
push dword [0x1019c48]
call fcn.01011906
test eax, eax
jne 0x1015b7e
push 0x1019788
mov esi, 0x1006b08
push esi
push edi
call fcn.01011906
test eax, eax
jne 0x1015b7e
push 0x1019784
push esi
push ebx
call fcn.01011906
test eax, eax
jne 0x1015b7e
mov edi, dword [ebp + 8]
push 0x50
push 0x1019ba8
xor ebx, ebx
inc ebx
push ebx
push edi
mov dword [0x1019774], edi
call dword [sym.imp.USER32.dll_LoadStringW]
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 0x11c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1015b1d
cmp dword [ebp - 0x10c], 2
jne 0x1015b1d
movzx ecx, byte [ebp - 0x114]
xor eax, eax
mov ah, byte [ebp - 0x118]
movzx eax, ax
or eax, ecx
cmp eax, 0x501
mov dword [0x1019778], eax
jne 0x1015adf
cmp word [ebp - 8], bx
jb 0x1015aed
jmp 0x1015ae6
cmp eax, 0x505
ja 0x1015aed
or dword [0x1019770], 2
cmp byte [ebp - 2], bl
jne 0x1015b09
test byte [ebp - 3], 2
je 0x1015b00
or dword [0x1019770], ebx
jmp 0x1015b1d
or byte [0x1019771], 4
jmp 0x1015b1d
or byte [0x1019771], 8
test byte [ebp - 4], 0x10
je 0x1015b1d
or byte [0x1019771], 0x10
mov esi, 0x104
push esi
push 0x1019798
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1015b7e
push esi
mov esi, 0x10199a0
push esi
push 0x1004444
call fcn.010157d7
test eax, eax
je 0x1015b7e
or dword [ebp - 0x3cc], 0xffffffff
push 0x4010
push 0x2b4
lea eax, [ebp - 0x3d0]
push eax
push 0x10
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov eax, dword [ebp - 0x3cc]
mov dword [0x101977c], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, ebx
jmp 0x1015b80
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x1016361
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x70
push 0x1006df0
call fcn.01016594
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
or edi, 0xffffffff
mov dword [ebp - 4], edi
cmp word [0x1000000], 0x5a4d
jne 0x10163b4
mov eax, dword [0x100003c]
lea eax, [eax + 0x1000000]
cmp dword [eax], 0x4550
jne 0x10163b4
movzx ecx, word [eax + 0x18]
cmp ecx, 0x10b
je 0x10163cc
cmp ecx, 0x20b
je 0x10163b9
mov dword [ebp - 0x1c], ebx
jmp 0x10163e0
cmp dword [eax + 0x84], 0xe
jbe 0x10163b4
xor ecx, ecx
cmp dword [eax + 0xf8], ebx
jmp 0x10163da
cmp dword [eax + 0x74], 0xe
jbe 0x10163b4
xor ecx, ecx
cmp dword [eax + 0xe8], ebx
setne cl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 1
push 2
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
mov dword [0x1019c5c], edi
mov dword [0x1019c60], edi
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1019c58]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1019c54]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1019c64], eax
call fcn.01016604
cmp dword [0x1019590], ebx
jne 0x101643d
push fcn.01016604
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.010165f2
push 0x1001508
push 0x1001504
call sub.msvcrt.dll__initterm
mov eax, dword [0x1019c50]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1019c4c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x38], eax
push 0x1001500
push 0x10014fc
call sub.msvcrt.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp byte [eax], 0x22
jne 0x10164c8
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x10164a8
cmp cl, 0x22
jne 0x1016499
cmp byte [eax], 0x22
jne 0x10164b1
inc eax
mov dword [ebp - 0x20], eax
mov cl, byte [eax]
cmp cl, bl
je 0x10164bc
cmp cl, 0x20
jbe 0x10164ad
test byte [ebp - 0x54], 1
je 0x10164d3
movzx ecx, word [ebp - 0x50]
jmp 0x10164d6
cmp byte [eax], 0x20
jbe 0x10164b1
inc eax
mov dword [ebp - 0x20], eax
jmp 0x10164c8
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call fcn.01015f86
mov esi, eax
mov dword [ebp - 0x3c], esi
cmp dword [ebp - 0x1c], ebx
jne 0x10164f4
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], edi
jmp 0x1016530
mov eax, esi
jmp 0x1016544
call fcn.010165cf
ret
Function at 0x405d40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x55c
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x55c], ecx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ecx, dword [ebp - 0x55c]
mov dword [ecx + 0xa4], eax
mov dword [ebp - 0x130], 0x128
push 0x124
push 0
lea edx, [ebp - 0x12c]
push edx
call fcn.004463a0
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x55c]
call fcn.00405ef0
mov dword [ebp - 4], eax
jmp 0x405dba
lea ecx, [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x55c]
call fcn.00405f40
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405eda
push 0x400
push 0
lea edx, [ebp - 0x550]
push edx
call fcn.004463a0
add esp, 0xc
mov dword [ebp - 0x150], 0
push 0x5c
lea eax, [ebp - 0x10c]
push eax
call fcn.00405be0
add esp, 8
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jne 0x405e12
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x150], ecx
jmp 0x405e21
mov edx, dword [ebp - 0x150]
add edx, 1
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push 0x464910
lea edx, [ebp - 0x550]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x550]
push eax
call fcn.0044561c
add esp, 4
push eax
lea ecx, [ebp - 0x14c]
call fcn.00405ba0
push 0
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14c]
call fcn.004045a0
cmp eax, 0xffffffff
je 0x405eca
cmp dword [ebp + 0xc], 1
jne 0x405ead
mov edx, dword [ebp - 0x128]
push edx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x554], eax
cmp dword [ebp - 0x554], 0
je 0x405ead
push 1
mov eax, dword [ebp - 0x554]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x558], 1
lea ecx, [ebp - 0x14c]
call fcn.00405310
mov eax, dword [ebp - 0x558]
jmp 0x405edc
lea ecx, [ebp - 0x14c]
call fcn.00405310
jmp 0x405da5
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret 8
Function at 0x405f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4591c8
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x150], 0
lea ecx, [ebp - 0x2c]
call fcn.004052c0
mov dword [ebp - 4], 0
mov dword [ebp - 0x144], str.SOFTWAREMicrosoftInternet_Explorer
mov dword [ebp - 0x14c], 0
lea eax, [ebp - 0x14c]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x144]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x406059
push 0x46493c
lea ecx, [ebp - 0x2c]
call fcn.004050a0
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405060
mov eax, dword [ebp - 0x150]
or eax, 1
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405310
mov eax, dword [ebp + 8]
jmp 0x40615b
mov byte [ebp - 0x13c], 0
push 0x103
push 0
lea ecx, [ebp - 0x13b]
push ecx
call fcn.004463a0
add esp, 0xc
mov dword [ebp - 0x148], 0x104
mov dword [ebp - 0x30], 1
lea edx, [ebp - 0x148]
push edx
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0
push 0x464944
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
je 0x406105
push str.unknow
lea ecx, [ebp - 0x2c]
call fcn.004050a0
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405060
mov edx, dword [ebp - 0x150]
or edx, 1
mov dword [ebp - 0x150], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405310
mov eax, dword [ebp + 8]
jmp 0x40615b
mov eax, dword [ebp - 0x14c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x464954
lea ecx, [ebp - 0x2c]
call fcn.004050a0
lea ecx, [ebp - 0x13c]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404580
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405060
mov eax, dword [ebp - 0x150]
or eax, 1
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405310
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.00441f6e
mov esp, ebp
pop ebp
ret 4
Function at 0x4062f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x260
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x24c], ecx
cmp dword [ebp + 0xc], 0
jne 0x406316
xor eax, eax
jmp 0x4064dc
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x130], 0
push 0x124
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.004463a0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x406369
xor eax, eax
jmp 0x4064dc
mov dword [ebp - 0x130], 0x128
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4064bf
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044399e
add esp, 4
mov dword [ebp - 0x250], eax
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0044399e
add esp, 4
mov dword [ebp - 0x254], eax
mov edx, dword [ebp - 0x254]
mov al, byte [edx]
mov byte [ebp - 0x255], al
mov ecx, dword [ebp - 0x250]
cmp al, byte [ecx]
jne 0x406413
cmp byte [ebp - 0x255], 0
je 0x406407
mov edx, dword [ebp - 0x254]
mov al, byte [edx + 1]
mov byte [ebp - 0x256], al
mov ecx, dword [ebp - 0x250]
cmp al, byte [ecx + 1]
jne 0x406413
add dword [ebp - 0x254], 2
add dword [ebp - 0x250], 2
cmp byte [ebp - 0x256], 0
jne 0x4063b5
mov dword [ebp - 0x25c], 0
jmp 0x40641e
sbb edx, edx
sbb edx, 0xffffffff
mov dword [ebp - 0x25c], edx
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x406498
mov ecx, dword [ebp - 0x128]
push ecx
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x13c], eax
mov edx, dword [ebp + 8]
push edx
push 8
mov eax, dword [ebp - 0x13c]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x248], 0
push 0x103
push 0
lea edx, [ebp - 0x247]
push edx
call fcn.004463a0
add esp, 0xc
mov eax, dword [ebp - 0x138]
jmp 0x4064dc
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x40638e
mov dword [ebp - 0x138], 1
jmp 0x4064c9
mov dword [ebp - 0x138], 0
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret 8
Function at 0x4081f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x459968
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], 0
push 0x460c1a
lea ecx, [ebp - 0x10]
call fcn.00402580
mov dword [ebp - 4], 0
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea eax, [ebp - 0x11b]
push eax
call fcn.004463a0
add esp, 0xc
mov dword [ebp - 0x124], 0
lea ecx, [ebp - 0x124]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x40832b
mov dword [ebp - 0x12c], 0x104
mov dword [ebp - 0x128], 1
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x128]
push edx
push 0
push str.Version
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x40831c
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
mov ecx, dword [ebp + 8]
call fcn.00402580
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403140
mov eax, dword [ebp + 8]
jmp 0x40839f
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40835a
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004033a0
mov edx, dword [ebp - 0x130]
or edx, 1
mov dword [ebp - 0x130], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403140
mov eax, dword [ebp + 8]
jmp 0x40839f
lea eax, [ebp - 0x11c]
push eax
push 0x464fa8
lea ecx, [ebp - 0x10]
push ecx
call fcn.00402860
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.004033a0
mov eax, dword [ebp - 0x130]
or eax, 1
mov dword [ebp - 0x130], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00403140
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret 8
Function at 0x408c20
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x20], ecx
call fcn.00405c30
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x408c3e
xor al, al
jmp 0x408d1d
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x408d17
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408d11
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x408d0b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x408cfb
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x408ceb
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x408d1d
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x408d1d
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x408d1d
xor al, al
jmp 0x408d1d
xor al, al
jmp 0x408d1d
xor al, al
jmp 0x408d1d
mov esp, ebp
pop ebp
ret 0xc

Function at 0x408d80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push 1
push 0
push str.SOFTWAREqdccbePass2000_FT11
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408dcd
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x408e21
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 1
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0x465020
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408e10
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x408e21
lea ecx, [ebp - 0x120]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret 4
Function at 0x408e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x11c]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftwindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408e96
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x408ef0
mov dword [ebp - 8], 0x104
mov dword [ebp - 4], 1
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push str.ProgramFilesDir
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x408edf
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x408ef0
lea ecx, [ebp - 0x118]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret 4
Function at 0x409980
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4598bb
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x30], 0x46418c
mov dword [ebp - 0x38], 0
push 0x4641a4
lea ecx, [ebp - 0x34]
call fcn.00402580
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040b430
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 0x30]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x409b25
mov dword [ebp - 0x148], 0
mov byte [ebp - 0x144], 0
push 0x103
push 0
lea edx, [ebp - 0x143]
push edx
call fcn.004463a0
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x144]
push eax
call fcn.004463a0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x38]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x409ab5
lea ecx, [ebp - 0x144]
push ecx
lea ecx, [ebp - 0x150]
call fcn.00402580
mov byte [ebp - 4], 2
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040b4f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x150]
call fcn.00403140
mov eax, dword [ebp - 0x148]
add eax, 1
mov dword [ebp - 0x148], eax
jmp 0x409ab7
jmp 0x409ac4
mov ecx, 1
test ecx, ecx
jne 0x409a34
mov dword [ebp - 0x14c], 0
jmp 0x409adf
mov edx, dword [ebp - 0x14c]
add edx, 1
mov dword [ebp - 0x14c], edx
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x148]
jae 0x409b1b
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x14c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040b4c0
push eax
call fcn.0040b410
add esp, 8
movzx eax, al
test eax, eax
je 0x409b19
mov dword [ebp - 0x10], 1
jmp 0x409b1b
jmp 0x409ad0
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x154], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.0040b4a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00403140
mov eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret
Function at 0x40e2f0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0xefcdab89
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0x98badcfe
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0x10325476
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0xc3d2e1f0
pop ebp
ret

Function at 0x4103c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4f0
mov eax, dword [0x4724e4]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x4738b4
mov eax, dword [ebp + 8]
push eax
call fcn.00443125
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4103f7
mov eax, 1
jmp 0x41049f
lea ecx, [ebp - 0xf0]
push ecx
call fcn.0040e2f0
add esp, 4
mov edx, dword [ebp - 8]
push edx
push 0x400
push 1
lea eax, [ebp - 0x4f0]
push eax
call fcn.004433dc
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x410445
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x4f0]
push edx
lea eax, [ebp - 0xf0]
push eax
call fcn.004100c0
add esp, 0xc
jmp 0x410406
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xf0]
push edx
call fcn.004101c0
add esp, 8
push 0xdc
push 0
lea eax, [ebp - 0xf0]
push eax
call fcn.004463a0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
call fcn.00443dd1
add esp, 4
test eax, eax
je 0x410491
mov edx, dword [ebp - 8]
push edx
call fcn.00443470
add esp, 4
mov eax, 2
jmp 0x41049f
mov eax, dword [ebp - 8]
push eax
call fcn.00443470
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00441f6e
mov esp, ebp
pop ebp
ret

Function at 0x410760
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov ecx, dword [ebp - 4]
mov dl, byte [ebp + 8]
mov byte [ecx], dl
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4107bd
cmp dword [0x488b38], 0
je 0x4107b2
push str.Wow64DisableWow64FsRedirection
mov edx, dword [0x488b38]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x48695c], eax
mov eax, dword [ebp - 4]
add eax, 4
push eax
call dword [0x48695c]
jmp 0x4107bd
push 0x463634
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4