joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436194
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x4361b0
cmp dword [esi + 4], 0
je 0x4361dd
test byte [ebx + 0x55], 1
jne 0x4361cf
mov eax, ebx
call fcn.00434e58
test eax, eax
jne 0x4361cf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4362ed
mov edx, esi
mov eax, ebx
call fcn.00435cb4
jmp 0x4362ed
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4362e6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437f64
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00432b54
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00436194
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00437f64
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4362ed
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c640
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4579f8]
cmp byte [eax + 0xc], 0
je 0x43c7ad
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c7a6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x458bb8], 0
jne 0x43c694
push 0x43c7b4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43c7bc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bb8], eax
cmp dword [0x456aac], 0
jne 0x43c78f
push 0x43c7cc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x456aac], eax
cmp dword [0x456aac], 0
je 0x43c78f
push 0x43c7d8
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bbc], eax
push 0x43c7e8
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bc0], eax
push 0x43c7fc
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bc4], eax
push 0x43c814
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bc8], eax
push 0x43c82c
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bcc], eax
push 0x43c840
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bd0], eax
push 0x43c858
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bd4], eax
push 0x43c870
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bd8], eax
push 0x43c88c
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458bdc], eax
push 0x43c898
mov eax, dword [0x456aac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x458be0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c7ad
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x440510
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.0040441c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44055f
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.00404684
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4483ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4483fc]
test si, 4
je 0x4483c0
or bl, 1
test si, 8
je 0x4483ca
or bl, 4
test si, 1
je 0x4483d4
or bl, 8
test si, 2
je 0x4483de
or bl, 0x10
test si, 0x10
je 0x4483e8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4483f7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x448400
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448438]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448419
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448428
or bl, 4
test esi, 0x20000000
je 0x448433
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ea54
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44ea66
add esp, 0xfffffff0
call fcn.00403a14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004207f8
mov eax, dword [0x4576f8]
mov dword [eax + 4], ebx
mov dword [eax], 0x44edf8
mov eax, dword [0x457704]
mov dword [eax + 4], ebx
mov dword [eax], 0x44ee04
mov eax, ebx
call fcn.0044ee10
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4167b8]
call fcn.00403698
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4167b8]
call fcn.00403698
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4167b8]
call fcn.00403698
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4167b8]
call fcn.00403698
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4167b8]
call fcn.00403698
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, 0x44b2d8
push eax
push 0
push 0
mov eax, dword [0x45782c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4221d8]
call fcn.0042361c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4221d8]
call fcn.0042361c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4221d8]
call fcn.0042361c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f230
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f10c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f10c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f10c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44eba3
call fcn.00403a6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44eef0
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 0x44f09b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f07c
mov dl, 1
mov eax, dword [0x416ca8]
call fcn.00403698
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040441c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44f06b
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.0043c9a0
test al, al
je 0x44f05e
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, 0x44f0ac
lea eax, [ebp - 0x254]
call fcn.0040905c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f05e
xor eax, eax
push ebp
push 0x44f057
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 0x44f0e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f040
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404684
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 0x44f040
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f05e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44ef61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ae04
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 0x44f0a2
lea eax, [ebp - 0x260]
call fcn.0040441c
ret

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

Disassembly:
push ecx
mov eax, dword [0x458bfc]
cmp byte [eax + 0xa5], 0
jne 0x44fa41
cmp dword [0x458c14], 0
jne 0x44fa02
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44f98c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x458c14], eax
cmp dword [0x458c10], 0
jne 0x44fa1d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x458c10], eax
cmp dword [0x458c18], 0
jne 0x44fa41
push esp
push 0
push 0
push 0x44f930
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x458c18], eax
pop edx
ret
Function at 0x44fb38
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44fb4f
add esp, 0xfffffff0
call fcn.00403a14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004207f8
mov eax, dword [0x45781c]
cmp word [eax + 2], 0
jne 0x44fb77
mov eax, dword [0x45781c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004510ec
mov eax, dword [0x4578b0]
cmp word [eax + 2], 0
jne 0x44fb91
mov eax, dword [0x4578b0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004512e4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4167b8]
call fcn.00403698
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4167b8]
call fcn.00403698
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], 0x80000018
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 [0x422988]
call fcn.004285d4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44fd18
mov eax, dword [0x457754]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004289a4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x451854
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457754]
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.0040b504
test eax, eax
je 0x44fc86
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004089b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b52c
test eax, eax
je 0x44fc9a
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.00404684
mov eax, dword [0x457664]
cmp byte [eax], 0
jne 0x44fcce
mov eax, ebx
call fcn.0044fe40
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.00451a30
mov eax, ebx
call fcn.004523e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fd0e
call fcn.00403a6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4500b4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x458bfc]
cmp dword [eax + 0x30], 0
je 0x45015e
cmp dword [ebx + 0x94], 0
jne 0x450158
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x450044
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x450158
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 0x45011e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x450158
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.00418e58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45012d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450c3c
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 0x450c71
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.0040450c
jmp 0x450c7e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404470
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451c0c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451c4d
mov eax, esi
call fcn.00438268
test al, al
je 0x451c4d
mov eax, dword [ebx + 0x84]
call fcn.00437f64
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451c4d
push 0
mov eax, dword [ebx + 0x84]
call fcn.00437f64
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4524b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0x11], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004048bc
mov eax, dword [ebp - 8]
call fcn.004048bc
xor eax, eax
push ebp
push 0x4525ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.0040441c
push 0x4525e0
push dword [ebp - 4]
push 0x4525e0
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404794
push 1
push dword [ebp - 4]
push 0x4525ec
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404794
mov eax, dword [ebp - 0x18]
call fcn.004048cc
push eax
call sub.kernel32.dll_WinExec
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, 1
jb 0x452548
dec eax
je 0x452566
dec eax
je 0x452575
sub eax, 8
je 0x452557
jmp 0x452582
lea eax, [ebp - 0x10]
mov edx, 0x4525f8
call fcn.004044b4
jmp 0x452582
lea eax, [ebp - 0x10]
mov edx, 0x45262c
call fcn.004044b4
jmp 0x452582
lea eax, [ebp - 0x10]
mov edx, 0x452678
call fcn.004044b4
jmp 0x452582
lea eax, [ebp - 0x10]
mov edx, 0x4526a4
call fcn.004044b4
cmp dword [ebp - 0xc], 0x20
jge 0x45259f
push 0x10
push 0x4526c8
mov eax, dword [ebp - 0x10]
call fcn.004048cc
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4525d1
lea eax, [ebp - 0x18]
call fcn.0040441c
lea eax, [ebp - 0x10]
call fcn.0040441c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404440
ret

Function at 0x453300
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
mov dword [ebp - 4], eax
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
mov ecx, 0x58
call fcn.00402904
xor eax, eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0x67452301
mov dword [ebp - 0x50], 0xefcdab89
mov dword [ebp - 0x4c], 0x98badcfe
mov dword [ebp - 0x48], 0x10325476
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x5c]
mov ecx, 0x58
call fcn.00402904
mov esp, ebp
pop ebp
ret
Function at 0x4543cc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jbe 0x454554
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov ecx, 3
xor edx, edx
div ecx
lea eax, [eax + eax*2]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
je 0x4544a4
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 8
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
or dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 8
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
or dword [ebp - 0x10], eax
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
and eax, 0x3f
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx + 3], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
and eax, 0x3f
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
and eax, 0x3f
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
add dword [ebp - 0x20], 4
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jne 0x454418
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
dec eax
je 0x4544b5
dec eax
je 0x4544f6
jmp 0x454554
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 4
mov eax, dword [ebp - 0x10]
and eax, 0x3f
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
mov eax, dword [ebp - 0x20]
mov byte [eax + 2], 0x3d
mov eax, dword [ebp - 0x20]
mov byte [eax + 3], 0x3d
jmp 0x454554
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
mov dword [ebp - 0x10], eax
inc dword [ebp - 0x18]
shl dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
or dword [ebp - 0x10], eax
shl dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
and eax, 0x3f
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx + 2], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
and eax, 0x3f
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], al
shr dword [ebp - 0x10], 6
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x4575a8]
mov edx, dword [ebp - 0x20]
mov byte [edx], al
mov eax, dword [ebp - 0x20]
mov byte [eax + 3], 0x3d
mov esp, ebp
pop ebp
ret
Function at 0x10001bd0
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0
je 0x10001be2
xor al, al
pop esi
pop ebp
ret
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
push dword [0x1000d6ac]
push 0x10001b80
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 4], eax
test eax, eax
je 0x10001c2a
push 0
push 0x3e8
push 0x22
push 0
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x10001c2a
mov eax, 1
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10002640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10002659
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10002694
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10002690
lea ebx, [ebx]
cmp esi, edx
jae 0x10002694
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x10002680
cmp esi, edx
jb 0x1000269b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x10002920
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100029ab
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x1000296d
cmp eax, 2
jne 0x10002989
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x100029a5
test ecx, ecx
je 0x100029a0
test cl, 1
jne 0x10002989
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x100029a5
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100088a2
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100088a2
mov esp, ebp
pop ebp
ret 0xc