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

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46738c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46736d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46737c
or bl, 4
test esi, 0x20000000
je 0x467387
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46da34
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46da46
add esp, 0xfffffff0
call fcn.00403b24
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f864
mov eax, dword [0x4a0b5c]
mov dword [eax + 4], ebx
mov dword [eax], 0x46ddd8
mov eax, dword [0x4a0b6c]
mov dword [eax + 4], ebx
mov dword [eax], 0x46dde4
mov eax, ebx
call fcn.0046ddf0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004037d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004037d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004037d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004037d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004037d0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x46a20c
push eax
push 0
push 0
mov eax, dword [0x4a0ddc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42132c]
call fcn.00422b40
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42132c]
call fcn.00422b40
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42132c]
call fcn.00422b40
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046e210
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e0ec
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e0ec
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46e0ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46db83
call fcn.00403b7c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46ded0
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46e07b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46e05c
mov dl, 1
mov eax, dword [0x416c7c]
call fcn.004037d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46e04b
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045b54c
test al, al
je 0x46e03e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46e08c
lea eax, [ebp - 0x254]
call fcn.00409afc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46e03e
xor eax, eax
push ebp
push 0x46e037
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46e0c4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46e020
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404844
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46e020
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e03e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46df41
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b41c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e082
lea eax, [ebp - 0x260]
call fcn.004045d4
ret

Function at 0x46e9b0
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4a2bec]
cmp byte [eax + 0xa5], 0
jne 0x46ea21
cmp dword [0x4a2c04], 0
jne 0x46e9e2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46e96c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a2c04], eax
cmp dword [0x4a2c00], 0
jne 0x46e9fd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a2c00], eax
cmp dword [0x4a2c08], 0
jne 0x46ea21
push esp
push 0
push 0
push 0x46e910
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a2c08], eax
pop edx
ret
Function at 0x46eb18
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46eb2f
add esp, 0xfffffff0
call fcn.00403b24
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f864
mov eax, dword [0x4a0dac]
cmp word [eax + 2], 0
jne 0x46eb57
mov eax, dword [0x4a0dac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00470208
mov eax, dword [0x4a0f00]
cmp word [eax + 2], 0
jne 0x46eb71
mov eax, dword [0x4a0f00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00470400
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416618]
call fcn.004037d0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416618]
call fcn.004037d0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421eac]
call fcn.00429ae0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46ecf8
mov eax, dword [0x4a0c20]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429eb0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4709b0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a0c20]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d72c
test eax, eax
je 0x46ec66
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004094dc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d754
test eax, eax
je 0x46ec7a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404844
mov eax, dword [0x4a09c0]
cmp byte [eax], 0
jne 0x46ecae
mov eax, ebx
call fcn.0046ee20
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00470b8c
mov eax, ebx
call fcn.00471550
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46ecee
call fcn.00403b7c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46f0a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a2bec]
cmp dword [eax + 0x30], 0
je 0x46f14a
cmp dword [ebx + 0x94], 0
jne 0x46f144
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46f030
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46f144
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46f10a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46f144
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418d28
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46f119
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46fcac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46fce1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004046c4
jmp 0x46fcee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404628
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x470d68
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470da9
mov eax, esi
call fcn.00456ad0
test al, al
je 0x470da9
mov eax, dword [ebx + 0x84]
call fcn.004567cc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470da9
push 0
mov eax, dword [ebx + 0x84]
call fcn.004567cc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x47f288
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47f290
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47f482
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x47f498
mov eax, esi
call fcn.0047d114
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404628
lea ecx, [ebp - 0x10]
mov edx, 0x47f4ac
mov eax, esi
call fcn.0047d114
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404628
lea ecx, [ebp - 0x14]
mov edx, 0x47f4c4
mov eax, esi
call fcn.0047d114
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404628
lea ecx, [ebp - 0x18]
mov edx, 0x47f4e0
mov eax, esi
call fcn.0047d114
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404628
lea ecx, [ebp - 0x1c]
mov edx, 0x47f4fc
mov eax, esi
call fcn.0047d114
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404628
lea ecx, [ebp - 0x24]
mov edx, 0x47f514
mov eax, esi
call fcn.0047d114
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408984
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408f1c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x47f52c
mov eax, esi
call fcn.0047d114
mov eax, dword [ebp - 0x28]
call fcn.00476bec
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x47f53c
mov eax, esi
call fcn.0047d114
mov eax, dword [ebp - 0x2c]
call fcn.00476bec
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x47f554
mov eax, esi
call fcn.0047d114
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408f1c
inc eax
je 0x47f425
lea ecx, [ebp - 0x34]
mov edx, 0x47f554
mov eax, esi
call fcn.0047d114
mov eax, dword [ebp - 0x34]
call fcn.00408ee0
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a798
fstp qword [ebp - 0x3c]
wait
call fcn.0040aafc
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47f440
lea ecx, [ebp - 0x40]
mov edx, 0x47f554
mov eax, esi
call fcn.0047d114
mov eax, dword [ebp - 0x40]
call fcn.00476bec
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x47f564
mov eax, esi
call fcn.0047d114
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404628
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47f489
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004045f8
ret
Function at 0x486214
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48626e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00486204
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00475858
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00475458
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486275
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x489b40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415ba0]
call fcn.00405004
xor eax, eax
push ebp
push 0x489c84
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a088c], 0
jne 0x489b93
mov ecx, dword [0x4a09ec]
mov dl, 1
mov eax, dword [0x407abc]
call fcn.0040c918
call fcn.00403f8c
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030ac
mov eax, ebx
call fcn.00404e64
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x489c94
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040609c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e74
test eax, eax
jle 0x489c2b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x489c24
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040485c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404844
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408914
test eax, eax
jne 0x489c24
mov ebx, 0x15
jmp 0x489c30
mov ebx, 0x10
jmp 0x489c30
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a088c]
call fcn.00489a98
mov eax, dword [ebp - 8]
call fcn.00489a98
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004060b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489c8b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 0x10]
mov edx, dword [0x415ba0]
call fcn.004050d4
ret
Function at 0x496d84
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404a84
xor eax, eax
push ebp
push 0x496ed3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.00408770
mov edx, dword [ebp - 0x2c]
mov eax, 0x496eec
call fcn.00404bd8
test eax, eax
jne 0x496ddd
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x496eec
call fcn.004048e0
mov byte [ebp - 9], 0
push 4
lea eax, [ebp - 8]
push eax
push 2
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0
push 0
push 0x496ef4
call sub.wininet.dll_InternetOpenA
mov ebx, eax
test ebx, ebx
je 0x496eb0
mov edi, 1
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404a94
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlA
mov esi, eax
test esi, esi
jne 0x496e52
inc edi
call sub.kernel32.dll_GetLastError_1
cmp edi, 5
jg 0x496e52
cmp eax, 0x2ee2
jne 0x496e52
cmp eax, 0x2f78
jne 0x496e52
push 2
call sub.kernel32.dll_Sleep
jmp 0x496e10
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0xa
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
push 0x13
push esi
call sub.wininet.dll_HttpQueryInfoA
lea edi, [ebp - 0x28]
lea eax, [ebp - 0x30]
mov edx, edi
call fcn.004047cc
mov eax, dword [ebp - 0x30]
mov edx, 0x194
call fcn.00408f1c
add eax, 0xfffffe70
sub eax, 0x33
jae 0x496e9c
mov byte [ebp - 9], 0
jmp 0x496ea0
mov byte [ebp - 9], 1
test esi, esi
je 0x496eaa
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x496eda
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.004045f8
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x498d00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x498d38]
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d16
or bl, 1
push 0x11
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d25
or bl, 4
push 0x12
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x498d34
or bl, 2
mov eax, ebx
pop ebx
ret

Function at 0x49a0d4
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4a0ebc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x49a0fa
push 0
mov eax, dword [0x4a0ebc]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret
Function at 0x425443
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x425452
pop dword [ebp - 0x34]
mov eax, 0x8daf5638
add eax, 0x7292fe1a
sub dword [ebp - 0x34], eax
push 0x40
push 0x1000
push 0x4d7f6
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x34]
call dword [eax]
mov ecx, 0xf0cf81c8
sub ecx, 0xf0cf43d7
mov edx, eax
mov esi, 0xc3bcb2ff
sub esi, 0xc37434ff
add esi, dword [ebp - 0x34]
mov ebx, 0x6aca609e
add ebx, 0xf7497e89
sub dword [ebp - 0x24], 0xb45990ba
mov edi, dword [esi]
sub dword [ebp - 0x24], 0xdd1ea6ee
xor edi, ebx
xor dword [ebp - 4], 0xc97a1d3f
mov dword [edx], edi
mov dword [ebp - 0x1c], 0xf262c2ad
add edx, 4
add esi, 0x19292248
add esi, 0xe6d6ddbc
loop 0x4254ac
add eax, 0x9b34c2c
add eax, 0xf64d9e6b
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x43fcae
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46b5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x43fcf1
push str.SystemFunction040
push dword [0x46b5d8]
call edi
push str.SystemFunction041
push dword [0x46b5d8]
mov dword [0x46b5e0], eax
call edi
mov dword [0x46b5e4], eax
jmp 0x43fcf6
mov eax, dword [0x46b5e4]
cmp dword [0x46b5e0], 0
je 0x43fd07
test eax, eax
jne 0x43fdae
push 0x46b5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x43fdb8
push str.CryptProtectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e0], 0
mov dword [0x46b5e8], eax
jne 0x43fd6c
test eax, eax
jne 0x43fd6c
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fd56
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fd5d
mov esi, 0x80004005
push esi
push 0x28
push str.cryputil.cpp
call fcn.00403821
jmp 0x43fdb8
push str.CryptUnprotectMemory
push dword [0x46b5dc]
call edi
cmp dword [0x46b5e4], 0
mov dword [0x46b5ec], eax
jne 0x43fdae
test eax, eax
jne 0x43fdae
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x43fda2
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x43fda9
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x43fd60
mov dword [0x46b5f0], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x40df10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x40df32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40df39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40df28
mov eax, 1
add ebx, ebx
jne 0x40df4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40df40
jne 0x40df5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40df40
xor ecx, ecx
sub eax, 3
jb 0x40df70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40dfe2
mov ebp, eax
add ebx, ebx
jne 0x40df7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40df88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40dfac
inc ecx
add ebx, ebx
jne 0x40df98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40df8d
jne 0x40dfa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40df8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40dfcc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40dfbd
jmp 0x40df2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40dfcc
add edi, ecx
jmp 0x40df2e
pop esi
mov edi, esi
mov ecx, 0xce
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40dfea
cmp byte [edi], 6
jne 0x40dfea
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 0x40dfef
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40e05e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf3dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xf418]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e01c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xf41c]
or eax, eax
je 0x40e058
mov dword [ebx], eax
add ebx, 4
jmp 0x40e039
call dword [esi + 0xf424]
mov ebp, dword [esi + 0xf420]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x40e092
sub esp, 0xffffff80
jmp 0x403861