joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ce8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x494494]
jne 0x405cf2
repz ret
jmp fcn.0040b256

Function at 0x41578e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040f4b8
and dword [ebp - 4], 0
cmp dword [0x49ffe4], 0
mov ebx, eax
jne 0x41583f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4158f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4158f0
push eax
call fcn.0040f446
mov dword [esp], 0x47cb00
push edi
mov dword [0x49ffe4], eax
call esi
push eax
call fcn.0040f446
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x49ffe8], eax
call esi
push eax
call fcn.0040f446
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x49ffec], eax
call esi
push eax
call fcn.0040f446
pop ecx
mov dword [0x49fff4], eax
test eax, eax
je 0x41583f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040f446
pop ecx
mov dword [0x49fff0], eax
mov eax, dword [0x49fff0]
cmp eax, ebx
je 0x415897
cmp dword [0x49fff4], ebx
je 0x415897
push eax
call fcn.0040f4c1
push dword [0x49fff4]
mov esi, eax
call fcn.0040f4c1
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415897
test edi, edi
je 0x415897
call esi
test eax, eax
je 0x41588e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41588e
test byte [ebp - 0xc], 1
jne 0x415897
or dword [ebp + 0x10], 0x200000
jmp 0x4158d0
mov eax, dword [0x49ffe8]
cmp eax, ebx
je 0x4158d0
push eax
call fcn.0040f4c1
pop ecx
test eax, eax
je 0x4158d0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4158d0
mov eax, dword [0x49ffec]
cmp eax, ebx
je 0x4158d0
push eax
call fcn.0040f4c1
pop ecx
test eax, eax
je 0x4158d0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49ffe4]
call fcn.0040f4c1
pop ecx
test eax, eax
je 0x4158f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4158f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41c678
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [esp + 4], 9
je 0x41c683
xor eax, eax
jmp 0x41c6ae
push dword [ecx + 4]
call fcn.00424b45
pop ecx
test eax, eax
je 0x41c69b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x4c]
test al, 2
jne 0x41c67f
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movzx eax, ax
xor eax, 0x8000
shr eax, 0xf
ret 4

Function at 0x41d0bc
Capabilities:
Log keystrokes via polling

Disassembly:
push 4
mov eax, 0x478419
call fcn.0044e060
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
push edi
call fcn.0041c678
test eax, eax
je 0x41d0fa
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
call fcn.0041cce8
xor eax, eax
inc eax
jmp 0x41d1fd
push dword [esi + 4]
call fcn.00424b45
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41d1a3
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x41d1a3
cmp edi, 0x25
je 0x41d130
cmp edi, 0x27
je 0x41d13e
cmp edi, 0x26
je 0x41d130
cmp edi, 0x28
jne 0x41d1a3
cmp edi, 0x27
je 0x41d13e
cmp edi, 0x28
je 0x41d13e
push 2
jmp 0x41d140
push 3
pop edi
mov ecx, ebx
jmp 0x41d152
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, esi
test eax, eax
jne 0x41d18e
push edi
call fcn.0041d8cd
mov esi, eax
test esi, esi
jne 0x41d145
cmp edi, 3
setne al
mov ecx, ebx
push eax
call fcn.0041d3ae
mov ecx, eax
jmp 0x41d17e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x34]
mov ecx, esi
test eax, eax
jne 0x41d18e
push edi
call fcn.0041d8cd
mov esi, eax
test esi, esi
jne 0x41d170
jmp 0x41d0f2
push 0
call fcn.0041d3aa
mov ecx, dword [ebp - 0x10]
push eax
call fcn.0041c7c6
jmp 0x41d0f2
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x12
call esi
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push 0x11
call esi
lea ecx, [ebp + 8]
shr eax, 0xf
and al, 1
movzx eax, al
push eax
push edi
call fcn.0042a5b0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 8]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.0041cfc8
test al, al
je 0x41d1ef
inc esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004351db
mov eax, esi
call fcn.0044e0ff
ret 4

Function at 0x41ebb4
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x2c]
push dword [esp + 0x10]
lea eax, [esi + 0x54]
push dword [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x41ec1f
push edi
push 1
push 2
xor edi, edi
push edi
mov ecx, esi
call fcn.0041e297
mov eax, dword [esi + 0xd0]
cmp eax, edi
je 0x41ec06
cmp word [eax], di
je 0x41ec06
push 1
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x41ec1e
cmp dword [esi + 0x4c], edi
jne 0x41ec17
mov eax, dword [esi + 0x50]
cmp dword [eax - 8], edi
je 0x41ec1e
cmp eax, edi
je 0x41ec1e
mov ecx, esi
call fcn.0041e04c
pop edi
pop esi
ret 0xc
Function at 0x424360
Capabilities:
Get system information on windows

Disassembly:
push 0x4c
push 0x48f400
call fcn.0040cf00
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x58]
mov edi, eax
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
push 4
push 0x2000
shl eax, 0xa
push eax
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call esi
cmp eax, ebx
je 0x424464
mov dword [ebp - 0x1c], edi
push 4
push 0x1000
push edi
push eax
call esi
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, ebx
je 0x424464
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.004095ea
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
jmp 0x424466
xor eax, eax
call fcn.0040cf45
ret

Function at 0x42a9e8
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x49927c]
mov edx, dword [ebp + 0xc]
and dword [ebp - 4], 0
push esi
mov esi, dword [ebp + 8]
mov dword [esi], eax
movzx eax, dx
cmp eax, 0x24
jg 0x42aa5b
je 0x42aa51
mov ecx, eax
sub ecx, 0xd
je 0x42aa47
sub ecx, 0xe
je 0x42aa3d
sub ecx, 6
je 0x42aa33
dec ecx
je 0x42aa29
dec ecx
jne 0x42aa84
push 0x47e5a4
jmp 0x42ab6f
push str.PageDown
jmp 0x42ab6f
push str.PageUp
jmp 0x42ab6f
push 0x47e578
jmp 0x42ab6f
push str.Enter
jmp 0x42ab6f
push str.Home
jmp 0x42ab6f
mov ecx, eax
sub ecx, 0x25
je 0x42ab6a
dec ecx
je 0x42ab63
dec ecx
je 0x42ab5c
dec ecx
je 0x42ab55
sub ecx, 5
je 0x42ab4e
cmp dx, 0x30
jb 0x42aa90
cmp dx, 0x39
jbe 0x42aa99
lea ecx, [edx - 0x41]
cmp cx, 0x19
ja 0x42aaa6
push edx
mov ecx, esi
call fcn.0042a99b
jmp 0x42ab76
lea ecx, [edx - 0x60]
cmp cx, 9
ja 0x42aaba
add eax, 0xffffffa0
push eax
push str.Num__d
jmp 0x42aafc
cmp dx, 0x6a
jne 0x42aaca
push str.Num_
jmp 0x42ab6f
cmp dx, 0x6b
jne 0x42aada
push 0x47e538
jmp 0x42ab6f
cmp dx, 0x6e
jne 0x42aaea
push str.Num_Del
jmp 0x42ab6f
add edx, 0xffffff90
cmp dx, 0xb
ja 0x42ab07
add eax, 0xffffff91
push eax
push 0x47e520
push esi
call fcn.0042482f
add esp, 0xc
jmp 0x42ab76
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
movsx ecx, al
cmp ecx, 0x3d
jg 0x42ab30
je 0x42ab3f
cmp ecx, 0x27
je 0x42ab3f
cmp ecx, 0x2b
jle 0x42ab76
cmp ecx, 0x2f
jle 0x42ab3f
cmp ecx, 0x3b
je 0x42ab3f
jmp 0x42ab76
cmp ecx, 0x5b
jl 0x42ab76
cmp ecx, 0x5d
jle 0x42ab3f
cmp ecx, 0x60
jne 0x42ab76
cbw
movzx eax, ax
push eax
mov ecx, esi
call fcn.0042a986
jmp 0x42ab76
push str.Insert
jmp 0x42ab6f
push str.Down
jmp 0x42ab6f
push str.Right
jmp 0x42ab6f
push 0x47e4f0
jmp 0x42ab6f
push 0x47e4e4
mov ecx, esi
call fcn.004017f0
mov eax, esi
pop esi
leave
ret 8
Function at 0x430e16
Capabilities:
Log keystrokes via polling

Disassembly:
cmp dword [esp + 4], 0xd
push esi
mov esi, ecx
jne 0x430e49
test dword [esi + 0x378], 0x1000
jne 0x430e49
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x430e49
push 0
mov ecx, esi
call fcn.0041d8c0
jmp 0x430e64
mov eax, dword [esi + 0x384]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x48]
mov edx, dword [ecx]
push 0
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop esi
ret 0xc

Function at 0x430e68
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
sub eax, 9
mov esi, ecx
je 0x430ec5
dec eax
je 0x430ea7
sub eax, 3
je 0x430ea7
test dword [esi + 0x378], 0x2000
je 0x430ee0
push edi
call fcn.00416452
pop ecx
test eax, eax
jne 0x430ee0
cmp edi, 0x2d
je 0x430ee0
cmp edi, 0x2e
je 0x430ee0
cmp edi, 0x2c
jne 0x430efb
jmp 0x430ee0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x430ee0
test dword [esi + 0x378], 0x1000
jmp 0x430ede
test byte [esi + 0x37c], 0x80
jne 0x430ee0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
je 0x430efb
mov eax, dword [esi + 0x384]
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0x48]
mov edx, dword [ecx]
push 0
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
ret 0xc

Function at 0x44088d
Capabilities:
Get system information on windows

Disassembly:
push 0x4c
push 0x490460
call fcn.0040cf00
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x58]
mov edi, eax
mov dword [ebp - 0x34], edi
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
push 4
push 0x2000
shl eax, 0xa
push eax
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call esi
cmp eax, ebx
je 0x440991
mov dword [ebp - 0x1c], edi
push 4
push 0x1000
push edi
push eax
call esi
mov esi, eax
mov dword [ebp - 0x28], esi
cmp esi, ebx
je 0x440991
mov dword [ebp - 4], ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0040c3a5
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
jmp 0x440993
xor eax, eax
call fcn.0040cf45
ret
Function at 0x4428c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x12
mov dword [esp + 0x14], ecx
call esi
movzx edi, ax
mov ebx, 0x8000
push 0x11
and edi, ebx
call esi
movzx ebp, ax
push 0x10
and ebp, ebx
call esi
and eax, ebx
test edi, edi
jne 0x442905
test ebp, ebp
jne 0x442914
test eax, eax
jne 0x442927
inc eax
xor ecx, ecx
jmp 0x442960
test ebp, ebp
jne 0x442933
test eax, eax
jne 0x44292f
push 8
pop eax
push 4
jmp 0x44295f
test eax, eax
jne 0x44291f
push 4
pop eax
push 2
jmp 0x44295f
test ebp, ebp
jne 0x44294d
test eax, eax
je 0x442958
push 2
xor ecx, ecx
pop eax
inc ecx
jmp 0x442960
test ebp, ebp
je 0x442942
test eax, eax
jne 0x44293e
push 0x40
pop eax
push 6
jmp 0x44295f
test ebp, ebp
jne 0x442958
test eax, eax
je 0x442958
push 0x20
pop eax
push 5
jmp 0x44295f
test eax, eax
je 0x442958
push 0x10
pop eax
push 3
jmp 0x44295f
mov eax, 0x80
push 7
pop ecx
mov edx, dword [esp + 0x10]
pop edi
pop esi
mov word [edx + 0x15c], cx
mov ecx, edx
pop ebp
pop ebx
test word [ecx + 0x160], ax
je 0x442988
mov ax, word [ecx + 0x162]
mov word [ecx + 0x15c], ax
pop ecx
ret

Function at 0x442d9c
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x168], 0
je 0x442e25
movzx eax, word [esi + 0x15e]
movzx ecx, ax
push ebp
mov ebp, dword [esp + 0xc]
cmp ebp, ecx
jne 0x442dc4
and dword [esi + 0x168], 0
jmp 0x442e24
push ebx
push edi
test ax, ax
jne 0x442dfe
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x10
call edi
mov ebx, 0x8000
mov ecx, ebx
test cx, ax
jne 0x442dfe
push 0x12
call edi
mov ecx, ebx
test cx, ax
jne 0x442dfe
push 0x11
call edi
test bx, ax
jne 0x442dfe
and dword [esi + 0x168], 0
jmp 0x442e0d
cmp ebp, 0x10
je 0x442e0d
cmp ebp, 0x12
je 0x442e0d
cmp ebp, 0x11
jne 0x442e22
mov ecx, esi
call fcn.004428c8
mov ecx, esi
call fcn.00442b71
mov ecx, esi
call fcn.0041e318
pop edi
pop ebx
pop ebp
pop esi
ret 0xc

Function at 0x4452d1
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x445341
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov edi, dword [esp + 0xc]
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x44530b
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
jmp 0x44533f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [edi]
push ecx
mov ecx, dword [ecx - 8]
inc ecx
push ecx
push eax
call fcn.00417b73
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
ret 4
Function at 0x4463de
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push esi
push 1
mov esi, ecx
call fcn.00445d51
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4463f6
pop esi
ret
push edi
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x446422
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, esi
call fcn.004462fc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, esi
call fcn.00445dc3
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
pop edi
inc eax
pop esi
ret

Function at 0x44bec4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x44beeb
xor eax, eax
jmp 0x44bfa8
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x44bee4
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
mov dword [ebp - 4], edi
cmp edi, ebx
je 0x44bee4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 8], eax
cmp eax, ebx
jne 0x44bf26
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x44bee4
push dword [ebp + 0x10]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
call fcn.00405d00
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea eax, [ebp + 0xc]
push eax
push 1
push edi
mov dword [ebp + 0xc], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push ebx
push dword [ebp + 0xc]
call fcn.0044b7aa
pop ecx
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
pop ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x44bfa0
mov ecx, dword [eax + 8]
mov dword [eax + 8], ebx
cmp ecx, ebx
je 0x44bfa0
mov ecx, dword [esi + 8]
cmp ecx, ebx
je 0x44bf9d
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 8], ebx
xor eax, eax
cmp dword [esi + 8], ebx
setne al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x45f640
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x45f679
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x45f71a
push 0
push closesocket
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x45f6a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x45f71a
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
sub edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x45f6fc
cmp dword [ebp - 0x10], 0
jbe 0x45f6e8
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax]
jae 0x45f6f8
cmp dword [ebp - 0x10], 0
jne 0x45f6fa
jmp 0x45f6fc
jmp 0x45f6b7
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x460820
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x494494]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x10]
push eax
push 0x47b5d0
push 1
push 0
push 0x47b5e0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x460869
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x46095e
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x50]
call edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x220]
push ecx
call fcn.00407253
add esp, 8
push 0x5c
lea edx, [ebp - 0x220]
push edx
call fcn.00405ca0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4608c5
xor eax, eax
mov ecx, dword [ebp - 4]
mov word [ecx], ax
lea edx, [ebp - 0x220]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 0x24]
call eax
cmp dword [ebp + 0x10], 0
je 0x4608dd
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [eax + 0x2c]
call edx
cmp dword [ebp + 0x14], 0
je 0x4608f7
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 0x44]
call ecx
lea edx, [ebp - 8]
push edx
push 0x47b5f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x460920
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
jmp 0x46095e
push 2
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00405ce8
mov esp, ebp
pop ebp
ret
Function at 0x460970
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x494494]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x460aa9
mov dword [ebp - 0x10], 1
xor eax, eax
mov word [ebp - 0x220], ax
push 0x1fe
push 0
lea ecx, [ebp - 0x21e]
push ecx
call fcn.004067d0
add esp, 0xc
mov dword [ebp - 0x14], 0x200
mov dword [ebp - 0x224], 2
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x228], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x228]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 0
cmp dword [ebp - 4], 0
jne 0x460a9a
cmp dword [ebp - 4], 0xea
je 0x460a9a
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x220]
push eax
call fcn.004094be
add esp, 8
test eax, eax
jne 0x460a58
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
jmp 0x460a9a
mov dword [ebp - 0x14], 0x200
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x22c], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp - 0x22c]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
jmp 0x460a27
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x460ab5
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00405ce8
mov esp, ebp
pop ebp
ret

Function at 0x460cc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x494494]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.00407253
add esp, 8
push 0x5c
lea edx, [ebp - 0x210]
push edx
call fcn.00405ca0
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
test edx, edx
je 0x460d21
push 0x4869b8
lea eax, [ebp - 0x210]
push eax
call fcn.00407225
add esp, 8
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.00407225
add esp, 8
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405ce8
mov esp, ebp
pop ebp
ret