joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a61a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a6242
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004af1b0
dec eax
test eax, eax
jl 0x4a622c
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004af14c
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.004af180
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 8]
call fcn.004aef30
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x4a61f1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6249
lea eax, [ebp - 0x10]
call fcn.00407450
ret
Function at 0x564914
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
lea eax, [ebp - 0x37]
mov edx, 0x56494c
call fcn.0040b188
push 0
lea eax, [ebp - 0x37]
push eax
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
mov esp, ebp
pop ebp
ret

Function at 0x56495c
Capabilities:
Find taskbar
Hide graphical window
Hide the windows taskbar

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
lea eax, [ebp - 0x37]
mov edx, 0x564994
call fcn.0040b188
push 0
lea eax, [ebp - 0x37]
push eax
call sub.user32.dll_FindWindowA
mov dword [ebp - 4], eax
push 9
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
mov esp, ebp
pop ebp
ret

Function at 0x5670c0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x567231
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x56720c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.004057a0
lea eax, [ebp - 0x118]
mov edx, 0x567248
call fcn.0040589c
mov eax, dword [ebp - 0x118]
call fcn.00405a94
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x56717e
lea eax, [ebp - 0x111]
call fcn.0040b0c4
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004056a8
jmp 0x567185
mov eax, esi
call fcn.004055b8
cmp bl, 0x61
jae 0x5671a6
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040f680
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.0040560c
jmp 0x5671c0
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040f5f4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.0040560c
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x567254
call fcn.0040b810
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.0040560c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x567213
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x5894a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x5895f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebx + 0x54]
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [ebx + 0x54]
mov edx, dword [eax]
call dword [edx + 0xc]
test al, al
jne 0x5894f4
mov eax, dword [ebx + 0x54]
mov edx, dword [eax]
call dword [edx + 0x24]
jmp 0x5895d7
mov eax, dword [ebx + 0x60]
call fcn.0054bd28
mov eax, dword [ebx + 0x60]
call fcn.0054bd40
cmp byte [ebp - 1], 0
je 0x589514
xor edx, edx
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.0054bd34
xor edx, edx
mov eax, dword [ebx + 0x54]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebx + 0x54]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebx + 0x4c]
push eax
call sub.winmm.dll_waveOutReset
mov esi, eax
test esi, esi
je 0x589558
lea edx, [ebp - 0x10]
mov eax, 0x5888f8
call fcn.00407944
mov edx, dword [ebp - 0x10]
mov ecx, esi
mov eax, ebx
call fcn.005897e4
jmp 0x5895d7
mov eax, dword [ebx + 0x60]
call fcn.0054be7c
mov eax, dword [ebx + 0x54]
mov edx, dword [eax]
call dword [edx + 0x20]
mov eax, dword [ebx + 0x54]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edi, eax
mov eax, dword [edi + 8]
dec eax
test eax, eax
jl 0x5895ac
inc eax
mov dword [ebp - 0xc], eax
xor esi, esi
push 0x20
mov edx, esi
mov eax, edi
call fcn.0041c3c8
add eax, 8
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.winmm.dll_waveOutUnprepareHeader
mov edx, esi
mov eax, edi
call fcn.0041c3c8
call fcn.00404788
inc esi
dec dword [ebp - 0xc]
jne 0x589580
mov eax, dword [ebx + 0x54]
mov edx, dword [eax]
call dword [edx + 0x1c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebx + 0x4c]
push eax
call sub.winmm.dll_waveOutClose
mov eax, dword [ebx + 0x54]
mov edx, dword [eax]
call dword [edx + 0x24]
mov eax, dword [ebx + 0x60]
call fcn.00404788
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5895fc
lea eax, [ebp - 0x10]
call fcn.004055b8
lea eax, [ebp - 8]
call fcn.00407450
ret
Function at 0x5e0114
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e0374
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x5e0177
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.005dfbdc
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040f1e0
cmp al, 1
jne 0x5e0177
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.005dfef4
test al, al
je 0x5e0303
cmp dword [ebp - 8], 0
jge 0x5e0195
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.005dfbdc
mov eax, dword [ebp - 0x210]
call fcn.00405894
cmp ebx, eax
jge 0x5e01df
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.005dfbdc
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x65cb20]
and eax, 0xff
bt dword [edx], eax
jae 0x5e01df
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x5e01f3
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.005e00f0
cmp ebx, dword [ebp - 8]
je 0x5e02f5
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x5e021f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404990
and eax, 0x7f
movzx eax, word [eax*2 + 0x65bb60]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x5e02e2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404990
and eax, 0x7f
movzx eax, word [eax*2 + 0x65bb60]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004565d0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00404990
and eax, 0x7f
movzx eax, word [eax*2 + 0x65bb60]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004565d0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e02e9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x5e0356
cmp dword [ebp - 8], 0
jge 0x5e030e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.005dfbdc
mov eax, dword [ebp - 0x218]
call fcn.00405894
cmp eax, dword [ebp - 8]
jg 0x5e0348
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.005dfbdc
mov eax, dword [ebp - 0x21c]
call fcn.00405894
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.005e00f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e037b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004055dc
ret
Function at 0x5eadd8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
mov dword [ebp - 4], eax
push 0
push 0x1a
lea eax, [ebp - 0x10d]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x5eae15
mov ecx, 0x5eae34
mov dl, 1
mov eax, dword [0x40915c]
call fcn.0040e7d4
call fcn.00404f28
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00405828
mov esp, ebp
pop ebp
ret

Function at 0x64d4d0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00405a84
mov eax, dword [ebp - 0xc]
call fcn.00405a84
xor eax, eax
push ebp
push 0x64d60d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
jne 0x64d56e
xor eax, eax
push ebp
push 0x64d564
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4772f4]
call fcn.00477834
mov dword [ebp - 0x10], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00477480
mov ecx, dword [ebp - 8]
mov edx, 0x64d628
mov eax, dword [ebp - 0x10]
call fcn.00477990
mov eax, dword [ebp - 0x10]
call fcn.00404788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64d5ea
cmp byte [ebp + 8], 1
jne 0x64d5ea
xor eax, eax
push ebp
push 0x64d5e0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4772f4]
call fcn.00477834
mov dword [ebp - 0x10], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00477480
lea ecx, [ebp - 0x14]
mov dl, 0x22
mov eax, dword [ebp - 0xc]
call fcn.0040a18c
lea eax, [ebp - 0x14]
mov edx, 0x64d660
call fcn.0040589c
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, 0x64d674
mov eax, dword [ebp - 0x10]
call fcn.004778c8
mov eax, dword [ebp - 0x10]
call fcn.00404788
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x64d5ea
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x64d614
lea eax, [ebp - 0x14]
call fcn.004055b8
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004055dc
ret
Function at 0x4260f8
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0042617b
jae 0x426106
xor ecx, ecx
call fcn.0042617b
jae 0x426135
xor eax, eax
call fcn.0042617b
jae 0x426145
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0042617b
adc al, al
jae 0x426127
jne 0x426171
stosb byte es:[edi], al
jmp 0x426109
call fcn.00426187
sub ecx, ebx
jne 0x42614e
call fcn.00426185
jmp 0x42616d
lodsb al, byte [esi]
shr eax, 1
je 0x426197
adc ecx, ecx
jmp 0x42616a
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00426185
cmp eax, 0x7d00
jae 0x42616a
cmp ah, 5
jae 0x42616b
cmp eax, 0x7f
ja 0x42616c
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x426109
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret

Function at 0x416900
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0041698f
jae 0x41690e
xor ecx, ecx
call fcn.0041698f
jae 0x41693d
xor eax, eax
call fcn.0041698f
jae 0x41694d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0041698f
adc al, al
jae 0x41692f
jne 0x416979
stosb byte es:[edi], al
jmp 0x416911
call fcn.0041699b
sub ecx, ebx
jne 0x416956
call fcn.00416999
jmp 0x416975
lodsb al, byte [esi]
shr eax, 1
je 0x416983
adc ecx, ecx
jmp 0x416972
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.00416999
cmp eax, 0x7d00
jae 0x416972
cmp ah, 5
jae 0x416973
cmp eax, 0x7f
ja 0x416974
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416911
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40601c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x406028
push 0x406024
push 0x406020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x406028]
push dword [0x406024]
push dword [0x406020]
mov dword [0x406014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.00401938
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x404659]
lea edx, [fcn.0040199c]
sub eax, edx
push eax
push fcn.0040199c
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401326
push edi
call fcn.00401830
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.00401885
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x88]
xor eax, edi
push eax
lea eax, [0x4060e4]
or eax, edi
push eax
call fcn.0040199c
add esp, 0x18
xor eax, eax
pop edi
leave
ret

Function at 0x401938
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x120], 0
xor edi, edi
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret

Function at 0xf396c4
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor ecx, 0x28e22fa2
stc
cmc
clc
bswap ecx
ror ecx, 3
xor ebx, ecx
test di, 0x2423
add edi, ecx
jmp 0x18233c2
push eax
setb al
movzx ax, al
jmp 0x17ebde2
push edi
bswap ax
movzx edi, cx
push edx
rdtsc
push ecx
pushfd
cdq
rcl cl, 0xe8
rdtsc
push ebp
cmc
stc
clc
push esi
cmc
ror ch, cl
push ebx
bt di, ax
xchg ebx, esi
lahf
mov edx, 0
push edx
lahf
movzx ebx, sp
mov esi, dword [esp + 0x28]
btc ebp, eax
rol esi, 1
add cx, si
neg ebp
xor esi, 0x2f0e62f6
rcr ebx, cl
rcl ebp, 0x26
movzx eax, sp
bswap esi
cwde
mov bl, 0x80
ror esi, 2
inc esi
ror esi, 1
add ebp, 0x18ca736f
sal al, cl
bt edi, 0x51
neg esi
bt bx, 9
neg ch
lea esi, [esi + edx]
bswap ecx
mov ebp, esp
lea esp, [esp - 0xc0]
mov ebx, esi
sub di, 0xde8
mov eax, 0
jmp 0x187f215
push edi
ret
lea esi, [esi + 4]
xor ecx, ebx
cmp edx, esp
cmc
sub ecx, 0x19323075
jmp 0xf1fd84
sub ebx, eax
rcl edi, 0x82
cmovs ecx, eax
dec edi
lea edi, [0x187f21e]
sal cx, 0xe0
btc ecx, eax
dec ch
mov ecx, dword [esi]
jmp 0x182bcdd
Function at 0x4013d0
Capabilities:
Enumerate devices by category

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
call fcn.004017b0
push eax
push 0x43852c
push 1
push 0
push 0x439828
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x40151b
push 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x401437
mov dword [ebp - 4], 0x80040216
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0xc]
call edx
test eax, eax
jne 0x40150d
lea eax, [ebp - 0x14]
push eax
call fcn.004017b0
push eax
push 0x43853c
push 0
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x24]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x401496
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x40143e
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
lea ecx, [ebp - 0x24]
push ecx
push str.FriendlyName
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0xc]
call edx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x4014ec
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004020a0
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.00402c00
lea ecx, [ebp - 0x3c]
call fcn.004022e0
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x40143e
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x403bcd
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403c0c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403c0c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403c0c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403c0c
cmp dword [ecx + 0x74], 0xe
jbe 0x403c0c
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d2d5
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041d1e9

Function at 0x41fcc9
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f759
Function at 0x4344e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43450d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43450d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x8092a0
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8092a6
pop ebp
sub ebp, 0x44054c
lea edi, [ebp + 0x442155]
mov esi, edi
mov ecx, 0x92
xor ebx, ebx
lodsb al, byte [esi]
xor al, 0x44
sub al, bl
rol al, 2
stosb byte es:[edi], al
inc ebx
loop 0x8092bc
mov eax, dword [esp + 0x20]
inc eax
js 0x8092d9
mov dword [ebp + 0x442159], 1
cmp dword [ebp + 0x442159], 0
jne 0x8092e4
jmp 0x8092fa
push ebp
lea eax, [ebp + 0x4405c2]
push eax
mov eax, 0x30
push eax
call fcn.00809389
pop ebp
jmp 0x80930e
push ebp
lea eax, [ebp + 0x4405c2]
push eax
mov eax, 0x30
push eax
call fcn.00809616
pop ebp
mov ecx, 0x17a7
lea edi, [ebp + 0x4409ae]
mov esi, edi
lodsb al, byte [esi]
clc
jns 0x80934b
sub byte [edi], ch
invalid
aaa
stosb byte es:[edi], al
loop 0x80931b
cmp dword [ebp + 0x442159], 0
jne 0x80935a
jmp 0x809370
push ebp
lea eax, [ebp + 0x4411ce]
push eax
mov eax, 0x30
push eax
call fcn.00809389
pop ebp
jmp 0x809384
push ebp
lea eax, [ebp + 0x4411ce]
push eax
mov eax, 0x30
push eax
call fcn.00809616
pop ebp
jmp 0x809708
invalid
Function at 0x809389
Capabilities:
Check for trap flag exception

Disassembly:
mov ebp, esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x44215d]
push edi
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x442155]
mov dword [edi], 1
pushfd
or dword [esp], 0x100
popfd
xor edi, edi
add ecx, dword [ebx + 0x33020875]
fild dword [esi]
mov edx, 0x8b030001
dec ebp
add al, 3
mov edi, dword [ebp + 0xc]
push es
lea edi, [edi + 0x442155]
push es
mov dword [edi], 0
pop dword fs:[0]
add esp, 4
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x44215d]
push edi
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x442155]
mov dword [edi], 1
pushfd
or dword [esp], 0x100
popfd
xor edi, edi
add cl, byte [edx + 0x7d8b0306]
or al, 6
lea edi, [edi + 0x442155]
push es
mov dword [edi], 0
pop dword fs:[0]
add esp, 4
push ebx
push ecx
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x44215d]
push edi
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x442155]
mov dword [edi], 1
pushfd
or dword [esp], 0x100
popfd
xor edi, edi
add dh, byte [ecx + 0x7d8b0300]
or al, 6
lea edi, [edi + 0x442155]
push es
mov dword [edi], 0
pop dword fs:[0]
add esp, 4
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x44215d]
push edi
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x442155]
mov dword [edi], 1
pushfd
or dword [esp], 0x100
popfd
xor edi, edi
add dh, byte [ebx]
fild dword [ebx]
mov bx, dx
add al, 0x66
and ebx, 1
add dl, dl
jecxz 0x8094d1
xor al, bl
add esp, dword [esi - 0x2f]
loop 0x8094d9
mov bx, dx
add eax, 0xe38166
add byte [edx], 0xb5
add byte [ebx], 0x8b
jge 0x8094f2
push es
lea edi, [edi + 0x442155]
push es
mov dword [edi], 0
add byte [eax], al
pop dword fs:[0]
add esp, 4
cmp bh, ch
jne 0x809556
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x44215d]
push edi
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x442155]
mov dword [edi], 1
pushfd
or dword [esp], 0x100
popfd
xor edi, edi
add eax, 0x3f28166
add byte [ebx], 0x8b
jge 0x80954a
push es
lea edi, [edi + 0x442155]
push es
mov dword [edi], 0
add byte [eax], al
pop dword fs:[0]
add esp, 4
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x44215d]
push edi
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x442155]
mov dword [edi], 1
pushfd
or dword [esp], 0x100
popfd
xor edi, edi
add bh, dh
rol dword [edx], 0xb5
or byte [ebx], al
mov edi, dword [ebp + 0xc]
push es
lea edi, [edi + 0x442155]
push es
mov dword [edi], 0
pop dword fs:[0]
add esp, 4
cmp cl, ch
jne 0x80948d
pop ecx
pop ebx
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x44215d]
push edi
push dword fs:[0]
mov dword fs:[0], esp
mov edi, dword [ebp + 0xc]
lea edi, [edi + 0x442155]
mov dword [edi], 1
pushfd
or dword [esp], 0x100
popfd
xor edi, edi
add cl, byte [eax + 0x1460106]
inc ebx
add ecx, dword [ebx - 0x72f9f383]
mov edi, 0x442155
push es
mov dword [edi], 0
pop dword fs:[0]
add esp, 4
cmp ecx, ebx
jne 0x8093e9
mov esp, ebp
ret 8