joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10046930
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1005600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100b2c60]
xor edx, edx
push esi
push 0xc1301
mov eax, dword [ecx + 0x3e48]
mov byte [eax + 0xa8], 1
or dword [ecx + 0x46f8], 0x43
mov dword [ecx + 0x4708], 0
mov dword [ecx + 0x470c], 0
mov dword [ecx + 0x4710], 0
mov dword [ecx + 0x4714], 0
mov dword [ecx + 0x46fc], 1
mov dword [ecx + 0x4718], 0x44f00000
mov dword [ecx + 0x471c], 0x44870000
mov dword [ecx + 0x4700], 1
mov dword [ecx + 0x474c], 0
mov ecx, str.overlay
call fcn.1000e330
add esp, 4
cmp byte [0x100b2c8e], 0
je 0x100469e5
movd xmm0, dword [0x10056234]
cvtdq2ps xmm0, xmm0
movss dword [0xb7cb64], xmm0
cmp byte [0x100b2c99], 0
mov eax, dword [0x10056290]
je 0x100469fa
mov byte [eax], 1
mov al, 1
jmp 0x100469ff
mov byte [eax], 0
xor al, al
cmp byte [0x100b2c92], 0
mov byte [0x100b2c99], al
mov eax, dword [0x10056230]
je 0x10046a19
mov byte [eax], 1
mov al, 1
jmp 0x10046a1e
mov byte [eax], 0
xor al, al
cmp byte [0x100b2c80], 0
mov byte [0x100b2c92], al
mov eax, dword [0x100562a4]
je 0x10046a38
mov byte [eax], 1
mov al, 1
jmp 0x10046a3d
mov byte [eax], 0
xor al, al
cmp byte [0x100b2c7f], 0
mov byte [0x100b2c80], al
mov eax, dword [0x1005621c]
je 0x10046a57
mov byte [eax], 1
mov al, 1
jmp 0x10046a5c
mov byte [eax], 0
xor al, al
cmp byte [0x100b2c85], 0
mov byte [0x100b2c7f], al
je 0x10046b55
push 0x78
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x10046b55
mov esi, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
push 0xc7dec8
push dword [0x100b2c88]
call esi
push 0
push 4
lea eax, [ebp - 0x10]
push eax
push 0xc7decc
push dword [0x100b2c88]
call esi
push 0
push 4
lea eax, [ebp - 0x14]
push eax
push 0xc7ded0
push dword [0x100b2c88]
call esi
push 0
push 4
lea eax, [ebp - 0x1c]
push eax
push 0xb6f5f0
push dword [0x100b2c88]
call esi
push 0
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0x14
push eax
push dword [0x100b2c88]
call esi
push 0
push 4
lea eax, [ebp - 8]
push eax
push 0xc7deea
push dword [0x100b2c88]
call esi
cmp dword [ebp - 8], 0
je 0x10046b55
mov esi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0xc]
push 0
push 4
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x30
push eax
push dword [0x100b2c88]
call esi
push 0
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x34
push eax
push dword [0x100b2c88]
call esi
push 0
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x38
push eax
push dword [0x100b2c88]
call esi
cmp byte [0x100b2c86], 0
je 0x10046b84
push 0x79
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x10046b84
mov eax, dword [0xb6f5f0]
mov edx, dword [0xba67bc]
mov ecx, dword [eax + 0x14]
mov eax, dword [0xba67b8]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], edx
cmp byte [0x100b2c83], 0
je 0x10046ba5
movd xmm0, dword [0x10056238]
mov eax, dword [0xb6f5f0]
cvtdq2ps xmm0, xmm0
movss dword [eax + 0x560], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10049846
mov esp, ebp
pop ebp
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, reloc.winhttp.dll_WinHttpOpenRequest
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x4065e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5819d8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x406620
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40662c
mov al, 1
jmp 0x4067cf
mov dword [ebp - 0x10], 8
call fcn.00407f80
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00407f80
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00407f30
add esp, 8
movzx eax, al
test eax, eax
je 0x40666f
xor al, al
jmp 0x4067cf
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00406130
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.00401590
mov ecx, eax
call fcn.00406980
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00405290
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401590
mov ecx, eax
call fcn.00406980
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.00406c20
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4066ea
cmp dword [ebp - 0x6c], 1
je 0x4066f1
cmp dword [ebp - 0x6c], 3
je 0x40678b
jmp 0x4067a3
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00401590
mov ecx, eax
call fcn.00406980
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x406754
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.00401590
mov ecx, eax
call fcn.00406980
push eax
call fcn.004b7d59
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x406754
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404950
mov al, byte [ebp - 0x61]
jmp 0x4067cf
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x406777
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404950
mov al, byte [ebp - 0x62]
jmp 0x4067cf
cmp dword [ebp - 0x38], 0
jne 0x406789
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.004027c0
jmp 0x4067bb
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404950
mov al, byte [ebp - 0x63]
jmp 0x4067cf
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404950
mov al, byte [ebp - 0x64]
jmp 0x4067cf
jmp 0x406682
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x40ebd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov cl, byte [eax + 0x100]
mov byte [ebp - 2], cl
mov edx, dword [ebp + 0x10]
mov al, byte [edx + 0x101]
mov byte [ebp - 1], al
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x40ec06
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
jge 0x40ecb6
movzx ecx, byte [ebp - 2]
add ecx, 1
and ecx, 0x800000ff
jns 0x40ec29
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 2], cl
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
add ecx, edx
and ecx, 0x800000ff
jns 0x40ec4d
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 1], cl
movzx eax, byte [ebp - 1]
add eax, dword [ebp - 0x10]
push eax
movzx ecx, byte [ebp - 2]
add ecx, dword [ebp - 0x10]
push ecx
call fcn.0040ece0
add esp, 8
movzx edx, byte [ebp - 2]
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + edx]
movzx edx, byte [ebp - 1]
mov eax, dword [ebp - 0x10]
movzx edx, byte [eax + edx]
add ecx, edx
and ecx, 0x800000ff
jns 0x40ec90
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 9], cl
movzx eax, byte [ebp - 9]
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + eax]
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
mov byte [edx], cl
jmp 0x40ebfd
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 2]
mov byte [eax + 0x100], cl
mov edx, dword [ebp + 0x10]
mov al, byte [ebp - 1]
mov byte [edx + 0x101], al
mov esp, ebp
pop ebp
ret
Function at 0x414b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x91c
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x10c], 0xffffffff
mov dword [ebp - 4], 0
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.004b6500
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_sConnection
lea edx, [ebp - 0x108]
push edx
call fcn.004b6c4f
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x108]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x414c82
xor edx, edx
mov word [ebp - 0x910], dx
push 0x7fe
push 0
lea eax, [ebp - 0x90e]
push eax
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x110], 0x800
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x910]
push edx
push 0
push 0
push str.PnpInstanceID
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x414c78
push 3
push 0x5acfdc
lea ecx, [ebp - 0x910]
push ecx
push 0
call dword [sym.imp.SHLWAPI.dll_StrIsIntlEqualW]
test eax, eax
je 0x414c78
mov dword [ebp - 0x91c], 0
mov dword [ebp - 0x914], 4
lea edx, [ebp - 0x914]
push edx
lea eax, [ebp - 0x91c]
push eax
push 0
push 0
push str.MediaSubType
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x918], eax
cmp dword [ebp - 0x918], 2
je 0x414c50
cmp dword [ebp - 0x918], 0
jne 0x414c5c
cmp dword [ebp - 0x91c], 1
jne 0x414c5c
mov dword [ebp - 0x10c], 0
jmp 0x414c78
cmp dword [ebp - 0x918], 0
jne 0x414c78
cmp dword [ebp - 0x91c], 2
jne 0x414c78
mov dword [ebp - 0x10c], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x423d10
Capabilities:
Get file version info

Disassembly:
sub esp, 8
push esi
push edi
push 0
push str.kernel32.dll
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jbe 0x423db9
push ebx
push esi
call fcn.0046e810
add esp, 4
mov ebx, eax
push ebx
push esi
push 0
push str.kernel32.dll
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
or edi, 0xffffffff
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x423da8
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
push 0x5ad908
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x423da8
mov ecx, dword [esp + 0xc]
movzx eax, word [ecx + 0xa]
movzx ecx, word [ecx + 8]
cmp eax, 5
jne 0x423d8e
test ecx, ecx
jle 0x423da8
xor edi, edi
jmp 0x423da8
cmp eax, 6
jne 0x423da0
xor edx, edx
cmp ecx, 2
setge dl
inc edx
mov edi, edx
jmp 0x423da8
cmp eax, 0xa
jne 0x423da8
lea edi, [eax - 7]
push ebx
call fcn.004b5f6c
add esp, 4
pop ebx
mov eax, edi
cmp edi, 0xffffffff
jne 0x423dbe
mov eax, 4
pop edi
pop esi
add esp, 8
ret

Function at 0x424430
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push eax
call fcn.004b5fc4
add esp, 4
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046e810
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004b5fa5
add esp, 8
mov byte [ebp - 1], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x42449a
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [ebp - 8]
jg 0x424508
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2]
cmp ecx, 0x5c
jne 0x424506
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov cx, word [eax + edx*2]
mov word [ebp - 0x18], cx
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2], dx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4244ef
push 0
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4244ef
mov byte [ebp - 1], 0
jmp 0x424508
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov ax, word [ebp - 0x18]
mov word [edx + ecx*2], ax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x424491
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004b5f6c
add esp, 4
movzx eax, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x425f50
Capabilities:
Check if file exists
Get common file path
Get program files directory
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsIEXPLORE.EXE
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x425f95
xor eax, eax
jmp 0x426094
xor ecx, ecx
mov word [ebp - 0x220], cx
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 4], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x220]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push 0x585c7c
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426072
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [ebp - 0x428], ax
push 0x206
push 0
lea ecx, [ebp - 0x426]
push ecx
call fcn.004b6500
add esp, 0xc
push 0
push 0x26
lea edx, [ebp - 0x428]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Internet_Exploreriexplore.exe
lea eax, [ebp - 0x428]
push eax
call fcn.004b5f77
add esp, 8
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426058
xor eax, eax
jmp 0x426094
lea edx, [ebp - 0x428]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b5fa5
add esp, 8
mov eax, 1
jmp 0x426094
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004b5fa5
add esp, 8
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4260b0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x448], ax
push 0x206
push 0
lea ecx, [ebp - 0x446]
push ecx
call fcn.004b6500
add esp, 0xc
xor edx, edx
mov word [ebp - 0x220], dx
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x44c], 1
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push 0x585cc0
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x426183
xor eax, eax
jmp 0x4262e0
lea edx, [ebp - 0x22c]
push edx
push 0x20019
push 0
push 0x585ccc
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4261b6
xor eax, eax
jmp 0x4262e0
lea ecx, [ebp - 0x234]
push ecx
push 0x20019
push 0
push 0x585cd8
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4261ec
xor eax, eax
jmp 0x4262e0
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 8], 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x585cf4
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x448]
push eax
call fcn.004b7737
add esp, 4
mov dword [ebp - 0x224], eax
push 0x585cf8
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00428fd0
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x426279
xor eax, eax
jmp 0x4262e0
mov edx, dword [ebp - 0x450]
add edx, 2
mov dword [ebp - 0x224], edx
mov eax, dword [ebp - 0x224]
mov dword [ebp - 0x238], eax
push 0x585cfc
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.00428fd0
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x4262bb
xor eax, eax
jmp 0x4262e0
xor edx, edx
mov eax, dword [ebp - 0x450]
mov word [eax], dx
mov ecx, dword [ebp - 0x238]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4262db
xor eax, eax
jmp 0x4262e0
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret
Function at 0x4264d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x5e5e08]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x440], ax
push 0x206
push 0
lea ecx, [ebp - 0x43e]
push ecx
call fcn.004b6500
add esp, 0xc
xor edx, edx
mov word [ebp - 0x220], dx
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.004b6500
add esp, 0xc
mov dword [ebp - 0x10], 0x104
mov dword [ebp - 0x444], 1
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push 0
push str.htmlfile
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4265a3
xor eax, eax
jmp 0x426697
lea edx, [ebp - 0x22c]
push edx
push 0x20019
push 0
push str.shell
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x4265d6
xor eax, eax
jmp 0x426697
lea ecx, [ebp - 0x234]
push ecx
push 0x20019
push 0
push str.opencommand
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x42660c
xor eax, eax
jmp 0x426697
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x440]
push ecx
lea edx, [ebp - 0xc]
push edx
push 0
push 0x585d84
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x440]
push eax
call fcn.004b7737
add esp, 4
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x224]
push edx
call fcn.00428fd0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x426692
xor eax, eax
jmp 0x426697
mov eax, 1
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004b645d
mov esp, ebp
pop ebp
ret