joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c4f8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x48c50f
add esp, 0xfffffff0
call fcn.00403848
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004268b8
mov eax, dword [0x5505e4]
cmp word [eax + 2], 0
jne 0x48c537
mov eax, dword [0x5505e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048dc78
mov eax, dword [0x550724]
cmp word [eax + 2], 0
jne 0x48c551
mov eax, dword [0x550724]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0048de70
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b440]
call fcn.004034b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b440]
call fcn.004034b4
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 [0x42949c]
call fcn.0043119c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x48c6d8
mov eax, dword [0x550468]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043156c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x48e420
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x550468]
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.0040de30
test eax, eax
je 0x48c646
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409898
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040de58
test eax, eax
je 0x48c65a
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.004045e4
mov eax, dword [0x550244]
cmp byte [eax], 0
jne 0x48c68e
mov eax, ebx
call fcn.0048c800
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.0048e5fc
mov eax, ebx
call fcn.0048efc0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x48c6ce
call fcn.004038a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ca80
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x551c14]
cmp dword [eax + 0x30], 0
je 0x48cb2a
cmp dword [ebx + 0x94], 0
jne 0x48cb24
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x48ca10
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x48cb24
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 0x48caea
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x48cb24
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.0041de1c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x48caf9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x48d68c
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 0x48d6c1
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.00404464
jmp 0x48d6ce
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x48e7d8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x48e819
mov eax, esi
call fcn.00474678
test al, al
je 0x48e819
mov eax, dword [ebx + 0x84]
call fcn.00474374
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x48e819
push 0
mov eax, dword [ebx + 0x84]
call fcn.00474374
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4941c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x494420
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x494223
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00493c88
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040da1c
cmp al, 1
jne 0x494223
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00493fa0
test al, al
je 0x4943af
cmp dword [ebp - 8], 0
jge 0x494241
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00493c88
mov eax, dword [ebp - 0x210]
call fcn.00404634
cmp ebx, eax
jge 0x49428b
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00493c88
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x550948]
and eax, 0xff
bt dword [edx], eax
jae 0x49428b
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49429f
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049419c
cmp ebx, dword [ebp - 8]
je 0x4943a1
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4942cb
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x54f438]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49438e
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x54f438]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00474374
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004036e0
and eax, 0x7f
movzx eax, word [eax*2 + 0x54f438]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00474374
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494395
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x494402
cmp dword [ebp - 8], 0
jge 0x4943ba
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00493c88
mov eax, dword [ebp - 0x218]
call fcn.00404634
cmp eax, dword [ebp - 8]
jg 0x4943f4
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00493c88
mov eax, dword [ebp - 0x21c]
call fcn.00404634
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049419c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x494427
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404398
ret
Function at 0x4d1f3c
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4d1f61
cmp dword [esp + 4], 5
jb 0x4d1f61
mov al, 1
jmp 0x4d1f63
xor eax, eax
add esp, 0x94
ret
Function at 0x4e8790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x4e87aa
add esp, 0xfffffff0
call fcn.00403848
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x4e8847
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.004034b4
mov dword [edi + 0x20], esi
mov dl, 1
mov eax, dword [0x4289bc]
call fcn.0042a130
mov esi, eax
mov dword [edi + 0x10], esi
mov eax, edi
call fcn.004e8bd0
mov edx, eax
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 0x10]
mov dword [eax + 0xc], edi
mov dword [eax + 8], 0x4e8a74
mov dl, 1
mov eax, dword [0x41baa4]
call fcn.004034b4
mov dword [edi + 4], eax
lea eax, [ebp - 0x10]
call fcn.00418e50
lea edx, [ebp - 0x10]
lea eax, [edi + 0x30]
call fcn.00410f54
mov byte [edi + 0x28], 1
mov dl, byte [0x4e886c]
mov ax, 0x2e
call fcn.0047d428
mov word [edi + 0x26], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e884e
lea eax, [ebp - 0x10]
call fcn.00410b3c
ret

Function at 0x4e98c8
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
test dl, dl
je 0x4e98e0
push 5
mov eax, ebx
call fcn.00474374
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret
push 0
mov eax, ebx
call fcn.00474374
push eax
call sub.user32.dll_ShowWindow
pop ebx
ret

Function at 0x4f5528
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x308], 0
jne 0x4f55c8
mov esi, dword [ebx + 0x338]
test esi, esi
je 0x4f5554
mov ecx, ebx
mov dl, 1
mov eax, esi
call dword [eax + 0x2c]
mov dword [ebx + 0x308], eax
jmp 0x4f5568
mov ecx, ebx
mov dl, 1
mov eax, dword [0x4e5360]
call fcn.004ea668
mov dword [ebx + 0x308], eax
xor edx, edx
mov eax, dword [ebx + 0x308]
call fcn.0046da10
mov dl, 1
mov eax, dword [ebx + 0x308]
call fcn.004744b4
mov edx, ebx
mov eax, dword [ebx + 0x308]
mov ecx, dword [eax]
call dword [ecx + 0x68]
push 0
mov eax, dword [ebx + 0x308]
call fcn.00474374
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x308]
mov dword [eax + 0xe4], ebx
mov dword [eax + 0xe0], 0x4f55fc
mov dword [eax + 0x2ac], ebx
mov dword [eax + 0x2a8], 0x4f55d4
mov eax, dword [ebx + 0x308]
pop esi
pop ebx
ret
Function at 0x50e3e8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x50e420]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x50e3fe
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x50e40d
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x50e41c
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x526958
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov word [eax], 0
test dl, dl
je 0x526992
test bl, bl
je 0x526983
mov eax, dword [edi]
mov esi, dword [eax + 0x21c]
jmp 0x52698d
mov eax, dword [edi]
movzx esi, byte [eax + 0x3ad]
dec esi
xor bl, 1
jmp 0x5269a3
mov eax, dword [edi]
mov edx, dword [eax + 0x3c8]
mov eax, dword [edi]
call fcn.00517028
mov esi, eax
mov eax, esi
test bl, bl
je 0x5269ac
inc esi
jmp 0x5269ad
dec esi
mov edx, dword [edi]
cmp esi, dword [edx + 0x21c]
jl 0x5269c2
mov edx, dword [edi]
movzx esi, byte [edx + 0x3ad]
jmp 0x5269e2
mov edx, dword [edi]
movzx edx, byte [edx + 0x3ad]
cmp esi, edx
jge 0x5269e2
mov edx, dword [edi]
mov esi, dword [edx + 0x21c]
mov edx, dword [edi]
movzx edx, byte [edx + 0x3ad]
sub esi, edx
cmp eax, esi
je 0x526a26
jmp 0x5269fe
test bl, bl
je 0x5269ef
inc esi
jmp 0x5269f0
dec esi
test esi, esi
jl 0x526a26
mov eax, dword [edi]
cmp esi, dword [eax + 0x21c]
jge 0x526a26
mov eax, dword [edi]
mov edx, esi
call fcn.0051701c
mov edx, eax
mov eax, dword [edi]
call fcn.00525a3c
test al, al
je 0x5269e8
mov eax, dword [edi]
mov edx, esi
call fcn.0051701c
mov edx, eax
mov eax, dword [edi]
call fcn.00525b10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x527904
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x130]
test al, al
je 0x52792f
cmp byte [0x5521e0], 0
jne 0x52792f
mov byte [ebx + 0x3e4], 1
cmp byte [ebx + 0x3e4], 0
je 0x52793e
cmp dword [esi + 4], 0
je 0x52796b
test byte [ebx + 0x55], 1
jne 0x52795d
mov eax, ebx
call fcn.00471020
test eax, eax
jne 0x52795d
mov edx, esi
mov eax, ebx
call fcn.004760c8
jmp 0x527a9d
mov edx, esi
mov eax, ebx
call fcn.00471fa4
jmp 0x527a9d
push 0
call sub.user32.dll_GetDC
mov edi, eax
mov eax, ebx
call fcn.0046d538
push eax
mov eax, ebx
call fcn.0046d4f4
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 0x527a96
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00474374
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x48]
push eax
call sub.gdi32.dll_CreateRectRgn
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0046ecbc
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectClipRgn
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00527904
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x60]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x54]
push eax
lea edx, [ebp - 0x70]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x68]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x50]
push eax
mov eax, ebx
call fcn.00474374
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x527a9d
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 0x531278
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
test dl, dl
je 0x531292
add esp, 0xfffffff0
call fcn.00403848
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x531320
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, edi
call fcn.004034b4
mov dword [edi + 4], esi
lea eax, [edi + 0x40]
call fcn.00502ff4
mov byte [edi + 0x34], 1
mov dl, 1
mov eax, dword [0x41baa4]
call fcn.004034b4
mov dword [edi + 0x28], eax
mov dl, 1
mov eax, dword [0x41baa4]
call fcn.004034b4
mov dword [edi + 0x14], eax
mov dl, 1
mov eax, dword [0x4b1cb0]
call fcn.004b1e50
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x48], 0x531c20
lea eax, [ebp - 0x10]
call fcn.00418e50
lea edx, [ebp - 0x10]
lea eax, [edi + 0x18]
call fcn.00410f54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x531327
lea eax, [ebp - 0x10]
call fcn.00410b3c
ret
Function at 0x6bd9e6
Capabilities:
Check for trap flag exception

Disassembly:
lea esp, [esp + 4]
push ecx
pushfd
pop ecx
jmp 0x6bd998

Function at 0x78ce0b
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 3]
xchg word [esp + 4], bx
bsr esi, esp
ror bl, cl
jmp 0x78ce0d
jmp 0x78cdf5
lea ecx, [edi + ebp]
mov bl, al
pop word [esp]
sub esp, 0x14
neg dx
dec di
jmp 0x78ce46
btc esi, esi
not eax
push word [esp + 9]
xchg ch, ah
xchg ah, dl
jmp 0x78ce74
xchg word [esp + 9], si
mov dword [esp + 0x18], ebx
bsr ebx, edx
add esp, 8
bt cx, bp
add esp, 0xb
jmp 0x78ce30
pop dword [esp]
lea esi, reloc.WINMM.dll_midiStreamOut
mov bx, 0x9269
jmp 0x78ce86
pop dword [esp + 3]
rdtsc
add esp, 0
push esi
pop cx
mov ebp, dword [esp + 4]
jmp 0x78ce5e
bsf cx, bp
mov ax, word [esp + 4]
mov bh, dh
push si
cpuid
rdtsc
jmp 0x78cfc8
not bx
not cx
mov ch, dl
lea esp, [esp]
bswap esi
mov bx, 0xd776
jmp 0x78ceaa
rol dl, cl
add esp, 0
rdtsc
rcl ax, 4
mov ch, 0x75
cmc
jmp 0x78cec0
ror ebx, 0xa
lea edi, [ebx + esi]
bsf edx, ebp
mov ah, byte [esp]
mov di, word [esp]
add esp, 0
jmp 0x78cf01
mov esi, 0xc75fa832
ror bx, 6
shl bh, 6
xchg al, bh
mov cl, dl
add esp, 8
jmp 0x78cf45

Function at 0x78d68f
Capabilities:
Execute anti-debugging instructions

Disassembly:
pop word [esp]
not di
lea edx, [eax + ebx]
mov cx, word [esp]
jmp 0x78d6a9
not edi
jmp 0x78d679
lea edi, reloc.WINMM.dll_midiStreamOut
mov bp, ax
push esi
mov ecx, dword [esp + 1]
jmp 0x78d6c0
lea ecx, [esi*4]
std
pop ax
bswap eax
mov al, 0x5c
lea edi, [ebp*4]
jmp 0x78d693
xor bp, 0xc84a
xchg edi, edx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1004864
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 8]
push eax
push 0x1001600
push 0x80000001
xor edi, edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x10048c8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x10015d4
push dword [ebp - 8]
mov dword [ebp - 4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10048bf
cmp dword [ebp - 0xc], 4
jne 0x10048bf
cmp dword [ebp - 4], 4
jne 0x10048bf
cmp dword [ebp - 0x10], edi
je 0x10048bf
inc edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
leave
ret

Function at 0x1004c55
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1009180
call fcn.010052d4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100b244
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1004a6a
cmp eax, esi
jne 0x1004a5d
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1004a6d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1004a44
xor esi, esi
inc esi
mov eax, dword [0x100b240]
cmp eax, esi
jne 0x1004a80
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1004abb
mov eax, dword [0x100b240]
test eax, eax
jne 0x1004ab5
mov dword [0x100b240], esi
push 0x10011bc
push 0x10011b0
call fcn.010049c1
pop ecx
pop ecx
test eax, eax
je 0x1004abb
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1004b85
mov dword [0x100a65c], esi
mov eax, dword [0x100b240]
cmp eax, esi
jne 0x1004adf
push 0x10011ac
push 0x10011a4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100b240], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1004aec
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100b24c], ebx
je 0x1004b0d
push 0x100b24c
call fcn.01005249
pop ecx
test eax, eax
je 0x1004b0d
push ebx
push 2
push ebx
call dword [0x100b24c]
push dword [0x100a644]
push dword [0x100a648]
push dword [0x100a640]
call fcn.010048d2
add esp, 0xc
mov dword [0x100a658], eax
cmp dword [0x100a64c], ebx
jne 0x1004b6b
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x100a65c], ebx
jne 0x1004b79
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100a658]
call fcn.01005319
ret
call fcn.01005421
jmp 0x1004a22
Function at 0x10057a2
Capabilities:
Copy file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
xor edi, edi
inc edi
push edi
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x10057e6
push edi
push ebx
push dword [0x100a324]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10057ed
mov ebx, dword [0x100a324]
jmp 0x10057ed
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntdll.dll_RtlCreateSecurityDescriptor]
cmp eax, esi
jge 0x1005808
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
jmp 0x1005909
push esi
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.ntdll.dll_RtlSetDaclSecurityDescriptor]
cmp eax, esi
jl 0x10057fc
push esi
push esi
lea eax, [ebp - 8]
push eax
push ebx
call dword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x1005834
mov eax, 0xa1
jmp 0x1005909
lea eax, [ebp - 8]
mov dword [ebp - 0x2c], eax
push 0x10030b8
lea eax, [ebp - 0x1c]
mov edi, 0x100b320
push edi
mov dword [ebp - 0x34], 0x18
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x28], 0x40
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov esi, dword [ebp + 8]
xor eax, eax
lea ebx, [esi + 0x84c]
push ebx
mov dword [esi + 0x850], eax
mov dword [esi + 0x85c], eax
mov dword [esi + 0x860], eax
lea eax, [esi + 0x848]
push 0x2000000
push eax
mov dword [ebx], 0x18
mov dword [esi + 0x858], 0x40
mov dword [esi + 0x854], edi
call dword [sym.imp.ntdll.dll_NtOpenKey]
test eax, eax
jl 0x10057fc
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov eax, dword [esi + 0x848]
and dword [esi + 0x85c], 0
and dword [esi + 0x860], 0
push ebx
mov dword [ebx], 0x18
mov dword [esi + 0x850], eax
mov dword [esi + 0x858], 0x40
mov dword [esi + 0x854], edi
call dword [sym.imp.ntdll.dll_NtUnloadKey]
lea eax, [ebp - 0x34]
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtLoadKey]
test eax, eax
jl 0x10057fc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1005f3a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
push esi
push edi
push dword [ebp + 0x14]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x1005f7c
mov eax, dword [esi]
push 4
mov ecx, eax
pop edx
and ecx, 3
sub edx, ecx
push edx
lea eax, [eax + edi - 1]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x18