joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401878
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x4018b3
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x40189a
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x4018ab
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x4018b5
inc edi
add eax, 0x28
cmp edi, esi
jb 0x401890
xor eax, eax
pop edi
pop esi
ret

Function at 0x401ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x58]
push eax
call fcn.00401848
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004017fd
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
ror byte [ecx - 0x8b7b], cl
dec dword [ebx - 0xe0807bb]
test edx, edx
je 0x401b26
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00401838
inc edi
sbb eax, 0x458deb1e
rcl byte [eax - 0x18], 0xc5
cld
invalid

Function at 0x401ba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x5128792e
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9

Function at 0x401c00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
invalid

Function at 0x401c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
lahf
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
invalid
invalid

Function at 0x401d40
Capabilities:
Inspect section memory permissions

Disassembly:
inc eax
push 0x1000
push dword [ebp + 0xc]
push ebx
call dword [ebp - 0x88]
mov esi, eax
cmp esi, ebx
je 0x402031
push dword [ebp - 0xb4]
push dword [ebp + 0x10]
push esi
call fcn.004017a9
add esp, 0xc
cmp word [edi + 6], bx
mov dword [ebp + 0xc], ebx
jbe 0x401da8
Function at 0x402120
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x4fffff9], edx
add byte [eax], al
add byte [eax - 0x3c35b], al
inc dword [eax]
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00401848
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004017fd
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
invalid
invalid
invalid
cld
invalid

Function at 0x402520
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
cmp dword [ebp + 0xc], 1
je 0x4026f6
cmp dword [ebp + 0xc], 8
jne 0x4026be
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
stc
invalid
inc dword [eax]
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
pop es
call fcn.00401838
fsub dword [ebp - 0x5a7fc283]
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.00401838
out dx, eax
in eax, 0xe6
inc edx
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.00408afe
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.00408afe
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.00408afe
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.00408afe
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.00408afe
mov dword [0x41203c], eax
call fcn.00408afe
test eax, eax
jge 0x402550
push 8
call fcn.00408afe
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.00408afe
pop ecx
push 1
call fcn.00408afe
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.00408afe
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.00408afe
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.00408afe
jmp 0x402495

Function at 0x408afe
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x408b0d
pop dword [ebp - 4]
mov eax, 0xc358c279
sub eax, 0xc318376c
sub dword [ebp - 4], eax
push 0x40
push 0x1000
push 0x36e64
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 4]
call dword [eax]
mov ecx, 0x8c984279
add ecx, 0x7367fc52
mov esi, eax
mov edx, 0x413bc4
add edx, dword [ebp - 4]
mov ebx, 0xda0bc0f1
sub ebx, 0x77eb693c
mov edi, dword [edx]
xor edi, ebx
mov dword [esi], edi
add esi, 0x3cdf631a
add esi, 0xc3209cea
add edx, 4
loop 0x408b61
add eax, 0xedff
mov ebx, eax
add eax, 5
mov ecx, 0xae5dabdf
sub ecx, 0xae1dabdf
add ecx, dword [ebp - 4]
call ebx
leave
ret
Function at 0x4de820
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa0000]
push edi
or ebp, 0xffffffff
jmp 0x4de842
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4de849
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4de838
mov eax, 1
add ebx, ebx
jne 0x4de85b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4de86c
jne 0x4de88b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4de88b
dec eax
add ebx, ebx
jne 0x4de878
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4de850
add ebx, ebx
jne 0x4de887
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4de8dd
xor ecx, ecx
sub eax, 3
jb 0x4de8a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4de912
sar eax, 1
mov ebp, eax
jmp 0x4de8ae
add ebx, ebx
jne 0x4de8ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4de87c
inc ecx
add ebx, ebx
jne 0x4de8bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4de87c
add ebx, ebx
jne 0x4de8c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4de8be
jne 0x4de8da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4de8be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4de8fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4de8ee
jmp 0x4de83e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4de8fc
add edi, ecx
jmp 0x4de83e
pop esi
mov edi, esi
mov ecx, 0x4d24
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4de91a
cmp byte [edi], 0x13
jne 0x4de91a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4de91f
lea edi, [esi + 0xda000]
mov eax, dword [edi]
or eax, eax
je 0x4de98e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x107ea4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10805c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4de94c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x108060]
or eax, eax
je 0x4de988
mov dword [ebx], eax
add ebx, 4
jmp 0x4de969
call dword [esi + 0x108070]
mov ebp, dword [esi + 0x108064]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4de9c2
sub esp, 0xffffff80
jmp 0x48f888
Function at 0x6e302440
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x6e30249b
cmp byte [esi + ebx - 1], 0xa
je 0x6e30246f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6e303118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4010cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436004]
jne 0x4010d6
repz ret
jmp fcn.004016e5

Function at 0x4056ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x436004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004044d5
and dword [ebp - 0x14], 0
cmp dword [0x438b38], 0
mov dword [ebp - 0x18], eax
jne 0x40575e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405806
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405806
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x438b38], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x438b3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x438b40], eax
call edi
push eax
call esi
mov dword [0x438b48], eax
test eax, eax
je 0x40575e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x438b44], eax
mov eax, dword [0x438b44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4057b7
cmp dword [0x438b48], ecx
je 0x4057b7
push eax
call esi
push dword [0x438b48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4057b7
test ebx, ebx
je 0x4057b7
call edi
test eax, eax
je 0x4057ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4057ae
test byte [ebp - 8], 1
jne 0x4057b7
or dword [ebp + 0x10], 0x200000
jmp 0x4057ea
mov eax, dword [0x438b3c]
cmp eax, dword [ebp - 0x18]
je 0x4057ea
push eax
call esi
test eax, eax
je 0x4057ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4057ea
mov eax, dword [0x438b40]
cmp eax, dword [ebp - 0x18]
je 0x4057ea
push eax
call esi
test eax, eax
je 0x4057ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x438b38]
call esi
test eax, eax
je 0x405806
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405808
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010cc
leave
ret
Function at 0x42b4a0
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x42b4b4
call fcn.0042b420
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x42b4a7
pop esi
cmp ebx, 0x2d
jne 0x42b4ce
mov dword [0x829b98], 0xa62e7790
mov dword [0x829b9c], 0xffffffff
ret

Function at 0x42b4d0
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x436004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x436db8]
push ebx
mov ebx, dword [0x829b8c]
push edi
mov edi, dword [0x82770c]
call fcn.0042b470
cmp dword [0x829b8c], 0x2f
jne 0x42b53d
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.0042b4a0
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010cc
add esp, 0x24
ret
Function at 0x40125b
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
lea eax, [ebp + 0xc]
push esi
push eax
xor esi, esi
push 0x2001f
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4012e2
push edi
push esi
push esi
push esi
lea eax, [ebp + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push esi
push eax
lea eax, [ebp - 0x104]
mov dword [ebp + 8], 0x104
push eax
push esi
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x4012d8
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
jne 0x4012d8
push esi
push esi
push esi
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x104]
mov dword [ebp + 8], 0x104
push eax
push esi
push dword [ebp + 0xc]
jmp 0x4012a2
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret
Function at 0x401355
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x40153e
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10c]
push esi
push eax
call fcn.004011fd
add esp, 0xc
lea eax, [ebp - 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x40153e
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.Common
push dword [ebp - 4]
call edi
test eax, eax
jne 0x401455
lea eax, [esi + 0x10]
push eax
push str.DeviceType
push dword [ebp + 8]
call fcn.00401663
lea eax, [esi + 0x21]
push eax
push str.DeviceName
push dword [ebp + 8]
call fcn.00401663
push dword [esi + 0x4a4]
lea eax, [esi + 0xa2]
push eax
push str.DeviceConf
push dword [ebp + 8]
call fcn.0040168b
push dword [esi + 0x6b8]
push str.MSoundLev
push dword [ebp + 8]
call fcn.0040177e
lea eax, [esi + 0x4ac]
push eax
push str.PrefixDial
push dword [ebp + 8]
call fcn.00401663
add esp, 0x40
push dword [esi + 0x4a8]
push str.OptTar
push dword [ebp + 8]
call fcn.0040177e
add esp, 0xc
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x401522
lea ecx, [ebp - 0x10c]
push ecx
push eax
call fcn.0040133a
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
lea eax, [ebp + 8]
push eax
push ebx
push 0x20006
push ebx
push ebx
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call edi
test eax, eax
jne 0x401522
lea eax, [esi + 0x6c0]
push eax
push str.UserName
push dword [ebp + 8]
call fcn.00401663
push dword [esi + 0x8c4]
lea edi, [esi + 0x8c4]
push str.PWSave
push dword [ebp + 8]
call fcn.0040177e
add esp, 0x18
cmp dword [edi], ebx
je 0x40150b
lea eax, [esi + 0x7c1]
push eax
lea eax, [esi + 0x6c0]
push eax
lea eax, [ebp - 0x248]
push dword [esi + 0xc]
push eax
call fcn.00401545
add esp, 0x10
test eax, eax
jne 0x4014f2
mov byte [ebp - 0x248], bl
lea eax, [ebp - 0x248]
push eax
push str.Password
push dword [ebp + 8]
call fcn.00401663
add esp, 0xc
jmp 0x401519
push str.Password
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esi + 0xc]
push str.AccessType
push dword [ebp - 4]
call fcn.0040177e
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x401663
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x401a8b
Capabilities:
Set registry value

Disassembly:
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
neg eax
sbb eax, eax
inc eax
ret
Function at 0x401d92
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x401e35
cmp dword [ebp + 0xc], esi
je 0x401e35
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.004011fd
lea eax, [ebp - 0x108]
push 0x40d184
push eax
call sub.MSVCRT.dll_strcat
lea eax, [ebp - 0x20c]
push eax
push dword [edi + 0xc]
call fcn.0040133a
push eax
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
add esp, 0x24
lea eax, [ebp - 4]
push eax
lea eax, [ebp + 8]
push eax
push esi
push 0x20006
push esi
push esi
lea eax, [ebp - 0x108]
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401e35
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push dword [ebp + 8]
mov esi, eax
neg esi
sbb esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
leave
ret

Function at 0x402fc6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 5
push dword [esp + 0x18]
push dword [0x40e220]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x40300e
push eax
push dword [0x40e220]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
test eax, eax
mov dword [esi + edi*4 + 0x14], eax
je 0x40300e
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [esi + edi*4 + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esi + edi*4 + 0x54], eax
pop edi
pop esi
ret

Function at 0x40467e
Capabilities:
Create process on windows

Disassembly:
push esi
push 7
push str.http:__
xor esi, esi
push dword [esp + 0x10]
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x4046b6
push 1
push esi
push 0x40e228
push dword [esp + 0x14]
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb esi, esi
neg esi
mov eax, esi
pop esi
ret

Function at 0x4046f0
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
cmp dword [esi + 0xdf0], ebx
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ebp, 0x40e228
jne 0x404724
cmp byte [esi + 0xdf4], bl
lea eax, [esi + 0xdf4]
je 0x404724
push 1
push ebx
push ebp
push eax
push ebx
push ebx
call edi
cmp dword [esi + 0xe74], ebx
jne 0x40479b
test byte [esi + 0xe78], 3
je 0x404751
lea eax, [esi + 0xf7c]
push 0x41
push eax
lea eax, [esi + 0xffc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x40477a
lea eax, [esi + 0xf7c]
push 1
push eax
lea eax, [esi + 0xffc]
push eax
push dword [esp + 0x20]
push 0xfffffffffffffffa
push dword [esp + 0x28]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call fcn.00406fdb
add esp, 0x14
dec eax
je 0x404788
dec eax
jne 0x40479b
lea eax, [esi + 0xefc]
jmp 0x40478e
lea eax, [esi + 0xe7c]
cmp byte [eax], bl
je 0x40479b
push 1
push ebx
push ebp
push eax
push ebx
push ebx
call edi
pop edi
pop esi
pop ebp
pop ebx
ret