joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e948
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45d47c]
cmp byte [eax + 0xc], 0
je 0x43eab5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43eaae
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45eb68], 0
jne 0x43e99c
push 0x43eabc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43eac4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb68], eax
cmp dword [0x45cc9c], 0
jne 0x43ea97
push 0x43ead4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45cc9c], eax
cmp dword [0x45cc9c], 0
je 0x43ea97
push 0x43eae0
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb6c], eax
push 0x43eaf0
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb70], eax
push 0x43eb04
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb74], eax
push 0x43eb1c
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb78], eax
push 0x43eb34
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb7c], eax
push 0x43eb48
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb80], eax
push 0x43eb60
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb84], eax
push 0x43eb78
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb88], eax
push 0x43eb94
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb8c], eax
push 0x43eba0
mov eax, dword [0x45cc9c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45eb90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43eab5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x442940
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040407c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44298f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004042ec
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44a0a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a0f4]
test si, 4
je 0x44a0b8
or bl, 1
test si, 8
je 0x44a0c2
or bl, 4
test si, 1
je 0x44a0cc
or bl, 8
test si, 2
je 0x44a0d6
or bl, 0x10
test si, 0x10
je 0x44a0e0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a0ef
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44a0f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44a130]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a111
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44a120
or bl, 4
test esi, 0x20000000
je 0x44a12b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4507d8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4507ea
add esp, 0xfffffff0
call fcn.00403634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f7ec
mov eax, dword [0x45d0f0]
mov dword [eax + 4], ebx
mov dword [eax], 0x450b7c
mov eax, dword [0x45d100]
mov dword [eax + 4], ebx
mov dword [eax], 0x450b88
mov eax, ebx
call fcn.00450b94
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x417a50]
call fcn.004032f8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x417a50]
call fcn.004032f8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x417a50]
call fcn.004032f8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x417a50]
call fcn.004032f8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x417a50]
call fcn.004032f8
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, 0x44cfb0
push eax
push 0
push 0
mov eax, dword [0x45d270]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421210]
call fcn.00422654
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421210]
call fcn.00422654
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421210]
call fcn.00422654
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450fb4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e90
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e90
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450e90
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450927
call fcn.0040368c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x450c74
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 0x450e1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450e00
mov dl, 1
mov eax, dword [0x417e6c]
call fcn.004032f8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040407c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x450def
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.0043eca8
test al, al
je 0x450de2
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, 0x450e30
lea eax, [ebp - 0x254]
call fcn.00408fa8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450de2
xor eax, eax
push ebp
push 0x450ddb
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 0x450e68
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x450dc4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042ec
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 0x450dc4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450de2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450ce5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b948
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 0x450e26
lea eax, [ebp - 0x260]
call fcn.0040407c
ret

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

Disassembly:
push ecx
mov eax, dword [0x45ebb4]
cmp byte [eax + 0xa5], 0
jne 0x4517c5
cmp dword [0x45ebcc], 0
jne 0x451786
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x451710
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45ebcc], eax
cmp dword [0x45ebc8], 0
jne 0x4517a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45ebc8], eax
cmp dword [0x45ebd0], 0
jne 0x4517c5
push esp
push 0
push 0
push 0x4516b4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45ebd0], eax
pop edx
ret
Function at 0x4518bc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4518d3
add esp, 0xfffffff0
call fcn.00403634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f7ec
mov eax, dword [0x45d25c]
cmp word [eax + 2], 0
jne 0x4518fb
mov eax, dword [0x45d25c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00452fa4
mov eax, dword [0x45d310]
cmp word [eax + 2], 0
jne 0x451915
mov eax, dword [0x45d310]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045319c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x417a50]
call fcn.004032f8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x417a50]
call fcn.004032f8
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 [0x4219c0]
call fcn.00427608
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x451a9c
mov eax, dword [0x45d160]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004279d8
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45374c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45d160]
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.0040c7d8
test eax, eax
je 0x451a0a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040899c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c800
test eax, eax
je 0x451a1e
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.004042ec
mov eax, dword [0x45d038]
cmp byte [eax], 0
jne 0x451a52
mov eax, ebx
call fcn.00451bc4
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.00453928
mov eax, ebx
call fcn.004542ec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x451a92
call fcn.0040368c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451e44
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45ebb4]
cmp dword [eax + 0x30], 0
je 0x451eee
cmp dword [ebx + 0x94], 0
jne 0x451ee8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451dd4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451ee8
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 0x451eae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451ee8
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.00419db8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x451ebd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x452a50
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 0x452a85
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.0040416c
jmp 0x452a92
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004040d0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453b04
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453b45
mov eax, esi
call fcn.0043a4b0
test al, al
je 0x453b45
mov eax, dword [ebx + 0x84]
call fcn.0043a250
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453b45
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043a250
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45a298
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040452c
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x45a412
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.0045a200
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.0045a220
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x45a3de
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004042ec
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00408878
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00407f78
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00407f78
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404488
je 0x45a3b8
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004042ec
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00407f78
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00407f78
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404488
jne 0x45a3cf
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.0045a240
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x45a319
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a419
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.004040a0
lea eax, [ebp - 4]
call fcn.0040407c
ret
Function at 0x45a978
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x45aa95
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x45d454]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00450f24
mov eax, 0x45aaac
call fcn.0045a298
call fcn.0045a694
lea eax, [ebp - 8]
call fcn.0045a45c
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x45aac4
call fcn.00404388
push 0
mov eax, dword [ebp - 4]
call fcn.0040453c
push eax
call sub.kernel32.dll_WinExec
push 0x1f40
call sub.kernel32.dll_Sleep
mov dl, 1
mov eax, dword [0x42cc18]
call fcn.0042cc94
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.0042cd34
mov edx, 0x45aadc
mov eax, ebx
call fcn.0042cd78
mov edx, 0x45ab40
mov eax, ebx
call fcn.0042cd78
mov edx, 0x45ab90
mov eax, ebx
call fcn.0042cd78
mov edx, 0x45aadc
mov eax, ebx
call fcn.0042cd78
mov edx, 0x45ac08
mov eax, ebx
call fcn.0042cd78
mov edx, 0x45ac38
mov eax, ebx
call fcn.0042cd78
mov edx, 0x45ac98
mov eax, ebx
call fcn.0042cd78
mov edx, 0x80000000
mov eax, ebx
call fcn.0042cd34
mov edx, 0x45acc8
mov eax, ebx
call fcn.0042cd78
mov eax, ebx
call fcn.00403328
mov eax, dword [0x45d454]
mov eax, dword [eax]
xor edx, edx
call fcn.00450f24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aa9c
lea eax, [ebp - 8]
mov edx, 2
call fcn.004040a0
ret
Function at 0x61747a
Capabilities:
Parse pe header

Disassembly:
jmp 0x647d8f
lea esp, [esp + 4]
jmp fcn.00647f07

Function at 0x6174a1
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x647ee6
lea esp, [esp + 4]
jmp fcn.00647e68

Function at 0x61a1cc
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
jmp 0x61a204
jmp 0x61a1e8
lea esp, [esp + 4]
jmp 0x61a1af
jmp 0x61a220
jmp 0x61a23c
push ebx
jmp 0x61a258
jmp 0x61a274
push ebp
jmp 0x61a290
jmp 0x61a2ac
push esi
jmp 0x61a2c8
jmp 0x64cd8a
push edi
movzx edx, byte [eax]
jmp 0x64cf0f
shl edx, 8
movzx esi, byte [eax + 1]
xor edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 3]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 5]
mov dword [ecx], edx
movzx edx, byte [eax + 4]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 7]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 9]
mov dword [ecx + 4], edx
movzx edx, byte [eax + 8]
shl edx, 8
jmp 0x64cfee
xor edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
xor edx, esi
jmp 0x64d0a3
mov dword [ecx + 0xc], edx
mov eax, edx
shr eax, 0x10
mov esi, 0xff
and eax, esi
mov eax, dword [eax*4 + 0x623b4c]
xor eax, 0x1000000
mov edi, edx
shr edi, 8
and edi, esi
mov edi, dword [edi*4 + 0x623b4c]
and edi, 0xff0000
mov ebx, dword [ecx + 4]
and eax, 0xff000000
xor eax, edi
mov edi, edx
shr edi, 0x18
movzx edi, byte [edi*4 + 0x623b4c]
xor eax, edi
jmp 0x64d592
movzx esi, byte [eax + 0xd]
mov dword [ecx + 8], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
xor edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
xor edx, esi
shl edx, 8
xor edx, eax
jmp 0x64d03d
xor ebx, eax
mov dword [edi], eax
mov eax, dword [ecx + 8]
xor eax, ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], eax
xor edx, eax
mov dword [ecx + 0x1c], edx
call fcn.00639f74
mov eax, edi
mov edx, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, esi
mov ecx, dword [ecx*4 + 0x623b4c]
shr edi, 0x10
and edi, esi
mov edi, dword [edi*4 + 0x623b4c]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, esi
mov edx, dword [edx*4 + 0x623b4c]
shr edi, 0x18
movzx edi, byte [edi*4 + 0x623b4c]
xor ecx, edi
and edx, ebp
xor ecx, edx
xor ecx, dword [ebx]
lea edi, [eax + 0x10]
xor ecx, dword [eax]
add ebx, 4
mov dword [edi], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x14], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp ebx, 0x625374
jne 0x64d41e
push 0xa
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov edi, edx
and edi, esi
mov edi, dword [edi*4 + 0x623b4c]
mov ebp, 0xff00
and edi, ebp
xor eax, edi
xor eax, dword [ecx]
lea edi, [ecx + 0x10]
jmp 0x64d405
Function at 0x61c310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x64f4df
lea esp, [esp + 4]
jmp fcn.0064f4ab
Function at 0x62136f
Capabilities:
Encode data using xor

Disassembly:
call fcn.0062129d
jmp 0x621390
pushal
jmp 0x6213ac
jmp 0x6213c8
pushfd
jmp 0x6213e4
jmp 0x621400
mov esi, dword [esp + 0x28]
jmp 0x661b15
invalid
mov ebp, eax
jb 0x661b07
std
mov ecx, 0x1abe627b
enter 0x29bd, 0x55
xor eax, 0x521ae7f0
sub dword [edi + ebx*8], 0xbac44dc
push esp
mov ecx, 0x3503f809
popal
dec edi
out 0xaf, eax
xchg esp, eax
inc ebx
in eax, dx
loop 0x661b97
sal esi, 0xcc
lea eax, [edx - 0x29ece9b4]
xchg edx, eax
add bl, byte [edx]
xchg ecx, eax
ror dword [eax - 0x34e553dc], 1
test al, 0x28
sbb dword [edi - 0x14], 0x84e796c0
xor al, 0xd2
fmul dword [edi + 0x339fee23]
sbb al, 0xbd
push 0x55
jle 0x661b53
mov ebp, 0x7c5d9f25
xchg edi, eax
mov edx, 0xbb77f095
jne 0x661bb4
imul esp, ebp, 0xfffffff0
out dx, eax
sbb bh, ch
sub byte [eax + 0x8e8cc2c], 0x95
xchg esp, eax
inc eax
xor byte [ecx + 0x76], 0xbc
cli
mov ebp, 0xc3648930
adc edi, dword [ecx]
invalid
loopne 0x661c0b
push 0xe223c0f2
je 0x661bec
mov dword [eax], esi
and esp, dword [edx]
sbb esp, dword [0x453abe78]
pop es
sub al, 0x46
jp 0x661c1e
lahf
xor byte [ecx + 0x26], bh
outsd dx, dword [esi]
xchg ecx, eax
pop edx
sub dl, byte [ecx]
push ecx
dec ecx
mov cl, 0x5e
mov ecx, 0x8b56fe99
out dx, eax
les edi, [ebp + edi*4 - 0xd610f73]
ror dh, cl
pop eax
xchg ebp, eax
out dx, al
adc byte [ebx + 0x76d642dd], ah
pop edx
push esi
push 0xdb66fe19
jl 0x661c1c
sbb dl, byte [esi]
bound ebp, qword [eax + 0x558841f8]
fsubp st(5)
clc
inc ecx
mov byte [ebp - 0x22], dl
in eax, dx
mul dword [edi + ecx - 0x76]
pushfd
sbb cl, ah
push es
invalid
inc eax
push eax
sti
fisttp dword [ebx + ebp*4]
pushal
dec eax
mov ebp, 0x206bb2fa
cmp al, byte [edi]
call [edx]
cmp al, 0x5e
add eax, 0x72f32bd4
ret
jb 0x661be1
xchg esp, eax
mov edx, 0x2447efcb
ror edx, 0x2c
dec ebp
cmc
jp 0x661c3d
inc edx
pop ebx
ja 0x661c6a
les ebp, [ecx]
invalid
in al, dx
jp 0x661c66
lea eax, fs:[ebp - 0x40]
jns 0x661c05
lea esp, es:[edi + 0x45b8b3bc]
cmc
fsubr dword [edi + 0x38]
wait
fiadd word [eax*8 + 0x7b5d003d]
ljmp 0x30f4
into
aas
and al, 0x6f
lcall 0x3ae5, 0x62b0d997
stosb byte es:[edi], al
retf 0x8832

Function at 0x63b344
Capabilities:
Enumerate pe sections

Disassembly:
call fcn.0061747a
jmp 0x61749c
Function at 0x63c82f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
call 0x61c28c
jmp 0x61c30b
Function at 0x40c630
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c40b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00460e8a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c6b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045ec00
mov eax, dword [eax]
push 0x48a1f0
push eax
call fcn.00451764
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00461115
test bl, bl
je 0x40c6b2
push 0x48a1f0
lea ecx, [esp + 0xc]
call fcn.004614a5
push 0x48dd74
lea ecx, [esp + 0xc]
call fcn.004614a5
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x40c6ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00461115
jmp 0x40c7b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x40c772
lea edx, [esp + 0x7c]
push 0x48dd70
push edx
call fcn.00451764
add esp, 8
test eax, eax
je 0x40c772
lea eax, [esp + 0x7c]
push 0x48dd6c
push eax
call fcn.00451764
add esp, 8
test eax, eax
je 0x40c772
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40c702
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00461115
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x40cfb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40d012
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc