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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x44f114]
cmp byte [eax + 0xc], 0
je 0x4374c5
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4374be
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x450b64], 0
jne 0x4373ac
push 0x4374cc
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4374d4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b64], eax
cmp dword [0x44eb00], 0
jne 0x4374a7
push 0x4374e4
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44eb00], eax
cmp dword [0x44eb00], 0
je 0x4374a7
push 0x4374f0
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b68], eax
push 0x437500
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b6c], eax
push 0x437514
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b70], eax
push 0x43752c
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b74], eax
push 0x437544
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b78], eax
push 0x437558
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b7c], eax
push 0x437570
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b80], eax
push 0x437588
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b84], eax
push 0x4375a4
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b88], eax
push 0x4375b0
mov eax, dword [0x44eb00]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x450b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4374c5
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43b350
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.004041e0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43b39f
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.00404450
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x442b48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442b98]
test si, 4
je 0x442b5c
or bl, 1
test si, 8
je 0x442b66
or bl, 4
test si, 1
je 0x442b70
or bl, 8
test si, 2
je 0x442b7a
or bl, 0x10
test si, 0x10
je 0x442b84
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442b93
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x442b9c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x442bd4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442bb5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x442bc4
or bl, 4
test esi, 0x20000000
je 0x442bcf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449298
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4492aa
add esp, 0xfffffff0
call fcn.0040378c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419524
mov eax, dword [0x44edf4]
mov dword [eax + 4], ebx
mov dword [eax], 0x44963c
mov eax, dword [0x44ee00]
mov dword [eax + 4], ebx
mov dword [eax], 0x449648
mov eax, ebx
call fcn.00449654
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41181c]
call fcn.0040343c
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, 0x445a6c
push eax
push 0
push 0
mov eax, dword [0x44ef40]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41af48]
call fcn.0041c3b0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00449aa4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44996c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44996c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44996c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4493e7
call fcn.004037e4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x449750
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 0x4498fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4498dc
mov dl, 1
mov eax, dword [0x411c38]
call fcn.0040343c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004041e0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4498cb
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.004376b8
test al, al
je 0x4498be
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, 0x44990c
lea eax, [ebp - 0x254]
call fcn.00408c84
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4498be
xor eax, eax
push ebp
push 0x4498b7
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 0x449944
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4498a0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
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 0x4498a0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404450
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4498be
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4497c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415714
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 0x449902
lea eax, [ebp - 0x260]
call fcn.004041e0
ret

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

Disassembly:
push ecx
mov eax, dword [0x450bb0]
cmp byte [eax + 0xa5], 0
jne 0x44a2b5
cmp dword [0x450bc8], 0
jne 0x44a276
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44a200
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x450bc8], eax
cmp dword [0x450bc4], 0
jne 0x44a291
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x450bc4], eax
cmp dword [0x450bcc], 0
jne 0x44a2b5
push esp
push 0
push 0
push 0x44a1a4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x450bcc], eax
pop edx
ret
Function at 0x44a948
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x450bb0]
cmp dword [eax + 0x30], 0
je 0x44a9f2
cmp dword [ebx + 0x94], 0
jne 0x44a9ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44a8d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44a9ec
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 0x44a9b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44a9ec
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.00413b84
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44a9c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44b550
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 0x44b585
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.004042d0
jmp 0x44b592
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404234
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44c624
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44c665
mov eax, esi
call fcn.00432ec0
test al, al
je 0x44c665
mov eax, dword [ebx + 0x84]
call fcn.00432c60
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44c665
push 0
mov eax, dword [ebx + 0x84]
call fcn.00432c60
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x44d140
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x44cf60
call fcn.00406064
xor eax, eax
push ebp
push 0x44d198
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x44efb8]
mov eax, dword [eax]
call fcn.0044b90c
mov eax, dword [0x44efb8]
mov eax, dword [eax]
call fcn.0044b924
push 5
push 0
push 0
push 0x44d1a4
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d19f
ret

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 0x1004ffa6
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0xa52932bf
fsubr dword [esi - 0x80]
adc dword [eax + ebp*8 - 0x7b], eax
invalid
aam 0x51
cmp dword [ebx], ebx
Function at 0x101bca9b
Capabilities:
Encrypt data using aes

Disassembly:
xchg dword [esp], edi
mov word [esp + 1], ax
jmp 0x101bcaa5
mov ebx, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
pushfd
jmp 0x101bca85
lea esp, [esp + 8]
add esi, 0x10
mov edi, dword [esp]
not edi
jmp 0x101bcf64
popal
call fcn.101bcb20
mov dword [esi], edi
btc di, di
mov ebx, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov di, 0x3541
jmp 0x101bcc2c
and ebx, ecx
push esi
mov byte [esp + 1], al
jmp 0x101bcc50
and edi, ecx
mov edi, dword [edi*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
jmp 0x101bcbfd
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
jmp 0x101bcc13
btr bx, di
jmp 0x101bcd53
lea esp, [esp + 0x10]
xor edi, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov bx, word [esp]
push edi
mov dword [esp], ecx
jmp 0x101bcc3a
mov bx, word [esp]
lea ebx, [edx*4]
jmp 0x101bccd8
and ebx, ecx
lea esp, [esp + 4]
xor edi, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov ebx, dword [esp]
lea ebx, [edx + ebp]
jmp 0x101bcc84
mov edx, dword [edx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
sub esp, 3
sub esp, 0xf
lea esp, [esp + 2]
jmp 0x101bccfd
mov edx, dword [esp]
setl dl
jmp 0x101bcce2
movzx ebx, byte [esi + 9]
clc
pushal
and edx, ecx
jmp 0x101bccaf
mov edx, dword [esi + 8]
push ebx
mov ebx, esi
jmp 0x101bcd28
and edx, ecx
lea esp, [esp + 0x30]
xor edi, dword [edx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
mov dx, 0x8511
mov dl, dh
jmp 0x101bccc2
mov ebx, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
jmp 0x101bcd31
add ebx, 4
mov dword [ebx], edi
pop ebx
pushal
jmp 0x101bcd12
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
jmp 0x101bceb5
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
cmc
jmp 0x101bcc9a
stc
call fcn.101bce23
lea esp, [esp + 0x34]
xor edi, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
neg ebx
jmp 0x101bcf2f
neg ebx
pushfd
push bx
lea esp, [esp + 2]
mov dword [esp + 4], edx
lea esp, [esp + 4]
jmp 0x101bcbc6
and edx, ecx
jmp 0x101bcf3e
sub esp, 0x1a
lea esp, [esp + 8]
lea esp, [esp + 2]
jmp 0x101bcf00
movzx ebx, byte [esi + 0xe]
cmc
mov ebx, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
clc
jmp 0x101bcf16
mov edx, dword [edx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
and ebx, ecx
lea esp, [esp + 0x10]
jmp 0x101bd0e3
mov edx, dword [esi]
lea edi, [ecx + ebp]
pushal
lea esi, [ebp*4]
jmp 0x101bceea
xor edi, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
call 0x101bcfa6
push edi
jmp 0x101bd9b2
lea esp, [esp + 4]
cmp bl, 0x5a
push bp
mov word [esp], si
jmp 0x101bda05
lea esp, [esp + 2]
ja 0x101bd131
sub esi, 0x41
jmp fcn.101bd105
Function at 0x101bcb43
Capabilities:
Encrypt data using aes

Disassembly:
push word [esp + 2]
lea esp, [esp + 2]
jmp 0x101bcb48
add bx, si
jmp 0x101bcb2d
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
and ebx, ecx
jmp 0x101bcb5b
pushal
lea esp, [esp + 0x24]
xor edi, dword [ebx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
inc bh
jmp 0x101bcba0
movzx ebx, byte [esi + 5]
call 0x101bcb8a
mov edx, dword [edx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
sub esp, 0xd
add esp, 7
lea esp, [esp + 2]
jmp 0x101bcc72
mov edx, dword [esi + 4]
sub esp, 0x13
push word [esp + 8]
add esp, 7
lea esp, [esp + 2]
jmp 0x101bcbcc
and edx, ecx
lea esp, [esp + 8]
xor edi, dword [edx*4 + reloc.iphlpapi.dll_GetAdaptersInfo]
jmp 0x101bcbe9

Function at 0x101bd69d
Capabilities:
Encode data using base64

Disassembly:
lea esp, [esp + 8]
cmp cl, 0x5a
push dx
pushfd
lea esp, [esp + 2]
jmp 0x101bd6b9
push dword [esp + 1]
jmp 0x101bd684
lea esp, [esp + 4]
jbe 0x10165f04
ja 0x10165eb9

Function at 0x1056c16e
Capabilities:
Execute anti-debugging instructions

Disassembly:
clc
shl di, 6
pop dword [esp + 3]
not edx
rdtsc
jmp 0x1056c1a3
xchg word [esp + 4], ax
xchg dword [esp + 2], edx
mov al, 0x83
mov dx, word [esp]
pop di
pop dword [esp]
jmp 0x1056c18d

Function at 0x1056c376
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 1]
sbb dl, cl
lea eax, [ebx*4]
jmp 0x1056c360

Function at 0x1056c771
Capabilities:
Execute anti-debugging instructions

Disassembly:
rdtsc
xchg dword [esp + 1], eax
mov ax, word [esp + 7]
xchg word [esp + 4], dx
jmp 0x1056c793
mov dx, word [esp + 1]
dec edx
add esp, 6
mov word [esp], cx
mov al, byte [esp + 3]
mov ah, ch
jmp 0x1056c7e3
not di
clc
mov word [esp + 1], si
mov di, 0x7790
jmp 0x1056c9eb
xchg word [esp + 1], dx
xchg dword [esp], eax
clc
mov dword [esp], ebp
adc dh, ch
xchg word [esp], di
jmp 0x1056c7cd
sub esp, 0x18
not edx
push dword [esp + 0x16]
inc eax
inc eax
cmc
jmp 0x1056c844
mov di, ax
bswap edx
shr eax, cl
lea edi, reloc.iphlpapi.dll_GetAdaptersInfo
btr ax, sp
pop word [esp + 7]
jmp 0x1056c812
lea eax, [edi*4]
mov edx, ecx
pop word [esp + 0x1b]
mov ah, 0xaa
rdtsc
not dx
jmp 0x1056c891
lea edi, [edi*4]
inc ax
xchg di, dx
xchg di, ax
pop dword [esp + 4]
mov di, 0x8767
jmp 0x1056c82c
pop edi
mov al, bl
pop word [esp + 8]
mov byte [esp + 0x12], ah
lea eax, [edi - 0x38]
jmp 0x1056c98b
mov ah, byte [esp + 0xc]
mov edx, 0x3fbe4ae2
sbb edx, 0x4af8f6d2
rdtsc
mov edi, ecx
xchg dx, ax
jmp 0x1056c87b
mov dword [esp + 5], esi
setg al
mov edi, dword [esp + 0xa]
cmp dl, cl
mov word [esp + 5], sp
push dword [esp + 3]
jmp 0x1056c862
sub ax, 0xd8ab
pop eax
call fcn.1056c8cf
stc
mov dword [esp + 0x18], ebp
pushal
lea esp, [esp + 0x46]
call fcn.1056c91a
jno 0x1056c935
push 0x26
push es
int3
xor al, 0x27
dec esi
invalid
pop di
bsf edx, edx
mov dword [esp + 0x16], edi
rcl dx, cl
mov word [esp + 0x12], bx
rol dh, cl
jmp 0x1056c8e5
push dword [esp + 2]
setne dh
mov eax, edx
push dword [esp + 6]
mov dl, 0xc8
rdtsc
jmp 0x1056c8b7

Function at 0x1057dd47
Capabilities:
Execute anti-debugging instructions

Disassembly:
bswap edx
lea esp, [esp + 2]
mov dx, 0x833c
jmp 0x1057dd67
Function at 0x1057dfec
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
push eax
jmp 0x10568004
call int.10568009
mov word [esp + 3], bx
push word [esp + 6]
jmp 0x1057e027
movzx ebx, word [eax + 0x3c]
jmp 0x1057e084
push word [esp + 1]
mov byte [esp + 5], ch
mov dword [esp + 2], ebx
jmp 0x1057e03e
push word [esp + 0x11]
push word [esp + 4]
mov dword [esp + 0x58], esi
pushfd
mov byte [esp + 1], dl
push sp
jmp 0x1057e011
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
jmp 0x1057e0ff
call 0x1057e050
jmp 0x1057e062
push ebx
mov ebx, eax
mov eax, dword [ebx]
pop ebx
jmp 0x1057e09a
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
jmp 0x1057e0b6
mov ecx, eax
lea ecx, [ecx + 0x1c]
mov eax, dword [ecx]
pop ecx
jmp 0x1057e05a
add ebx, eax
jmp 0x1057e0d3
mov eax, dword [eax + 8]
push eax
jmp 0x1057e04b
je 0x1057dff8
sub eax, 0x10000
jmp 0x1057e066
cmp word [ebx], 0x4550
je 0x10567662
jne 0x1057e0bc
daa
outsd dx, dword [esi]
xor byte [eax + 0x58], bh
xchg esi, eax
dec edi
int3
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
push ecx
jmp 0x1057e07a

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 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 0x40160a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004017ba
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x401708
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4016ab
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4016ee
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4016c2
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4016dd
test al, 0x40
je 0x4016d4
mov ecx, dword [edi + 0x20]
jmp 0x4016db
test al, 0x80
je 0x4016ee
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4016ee
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x40167a
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x40c910
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x497bbb
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.0048a149
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40c992
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004878f0
mov eax, dword [eax]
push 0x543c98
push eax
call fcn.00479904
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048a3d4
test bl, bl
je 0x40c992
push 0x543c98
lea ecx, [esp + 0xc]
call fcn.0048a7b0
push 0x543ca4
lea ecx, [esp + 0xc]
call fcn.0048a7b0
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 0x40c9ce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048a3d4
jmp 0x40ca99
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 0x40ca52
lea edx, [esp + 0x7c]
push 0x543ca0
push edx
call fcn.00479904
add esp, 8
test eax, eax
je 0x40ca52
lea eax, [esp + 0x7c]
push 0x543c9c
push eax
call fcn.00479904
add esp, 8
test eax, eax
je 0x40ca52
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 0x40c9e2
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.0048a3d4
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 0x40dd00
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 0x40dd62
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