joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b6876
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x1023beff], 0
je 0x100b68a9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100b6ab1
mov dword [0x1023c09f], 2
jmp 0x100b6aab
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x1023c363]
push dword [ebp - 4]
call fcn.100066be
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x640
jge 0x100b68e1
jmp 0x100b6aab
push 0x1023c11b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x100b69cb
mov eax, str.12_05_00_00_00_00_03
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000279e
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100b6921
push ebx
call fcn.101b4af1
add esp, 4
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x198
call fcn.101b5a70
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, str.B9_88_01_00_00_00_00_C2_00_19_00_04_03
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000279e
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100b6964
push ebx
call fcn.101b4af1
add esp, 4
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ecx, 3
call fcn.100012d6
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100b698d
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100b699d
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100b69ad
push ebx
call fcn.101b4af1
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.1001db98
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100b69c6
push ebx
call fcn.101b4af1
add esp, 4
jmp 0x100b6a94
mov eax, str.12_05_00_00_00_00_03
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.1000279e
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100b69ef
push ebx
call fcn.101b4af1
add esp, 4
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x198
call fcn.101b5a70
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, str.A1_8C_01_00_00_00_00_C2_00_19_00_04_03
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.1000279e
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100b6a32
push ebx
call fcn.101b4af1
add esp, 4
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ecx, 3
call fcn.100012d6
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100b6a5b
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100b6a6b
push ebx
call fcn.101b4af1
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100b6a7b
push ebx
call fcn.101b4af1
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.1001db98
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100b6a94
push ebx
call fcn.101b4af1
add esp, 4
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023c363], eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10194bf6
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [0x1023d043], 0x4d29ac2
push 0
mov ebx, 0x108
call fcn.101b50a0
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x10194c44
mov eax, 0x101e0319
push eax
push 2
mov ebx, 0x138
call fcn.101b6830
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10194c6a
push ebx
call fcn.101b4af1
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10194c7d
mov eax, 0x101e0319
push eax
push 1
mov ebx, 0x154
call fcn.101b8700
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10194ca3
push ebx
call fcn.101b4af1
add esp, 4
push str..tmp
push dword [ebp - 0x10]
call fcn.10001112
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10194cd1
push ebx
call fcn.101b4af1
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x10194dd0
push OleUIBusyA
push 0
push str.Super_EC
push 1
mov ebx, 0x158
call fcn.101b8780
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10194d28
push 6
call fcn.101b4b03
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10194d3b
push ebx
call fcn.101b4af1
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10194d77
push 6
call fcn.101b4b03
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 3
mov eax, 0x1022723e
test eax, eax
je 0x10194d8e
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10194dae
push 6
call fcn.101b4b03
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10194dd0
push 6
call fcn.101b4b03
add esp, 4
call fcn.10194de3
mov eax, 0
jmp 0x10194ddf
mov esp, ebp
pop ebp
ret
Function at 0x10194dea
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
fninit
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.101b5cb0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10194e31
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10194fb9
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10194e68
push 6
call fcn.101b4b03
add esp, 4
mov dword [0x1023d047], 4
call fcn.10194fda
test eax, eax
je 0x10194f06
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x40
push 6
mov ebx, 0xc8
call fcn.101b6080
add esp, 0x4c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.10195187
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10194f01
push ebx
call fcn.101b4af1
add esp, 4
jmp 0x10194f94
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x40
push 7
mov ebx, 0xc8
call fcn.101b6080
add esp, 0x58
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.10195187
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10194f94
push ebx
call fcn.101b4af1
add esp, 4
call fcn.101951dc
mov eax, 0
jmp 0x10194fa3
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10194fb4
push ebx
call fcn.101b4af1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x101950de
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x10195115
mov esp, ebp
pop ebp
ret
Function at 0x1019c286
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.101b6080
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1019c2f0
push 6
call fcn.101b4b03
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1019c363
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.101b6080
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1019c359
push 6
call fcn.101b4b03
add esp, 4
jmp 0x1019c36b
mov eax, dword [ebp - 4]
jmp 0x1019c36b
mov esp, ebp
pop ebp
ret 8
Function at 0x101a87ca
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x1023d073], 0
jne 0x101a8803
push 0x1023b854
push dword [0x1023d08b]
call fcn.10001112
add esp, 8
cmp eax, 0
jne 0x101a8803
mov eax, 1
jmp 0x101a8805
xor eax, eax
test eax, eax
je 0x101a886b
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x1023d08f]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x1023b85d]
fcomp qword [0x101e2899]
fnstsw ax
test ah, 0x41
jne 0x101a886b
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x1023d08f], eax
cmp dword [0x1023d05f], 0
je 0x101a8878
mov esp, ebp
pop ebp
ret 8

Function at 0x101b5140
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x101b51a9
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.101b4e70
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x101b60a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x101b60be
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x101b60b3
pop esi
ret

Function at 0x101b6790
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x400
call fcn.101cf742
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov eax, dword [esp + 0x30]
push ebx
push 0x400
push esi
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp eax, 0x3ff
jl 0x101b67fa
push esi
lea edi, [eax + 0x400]
call fcn.101cf76b
push edi
call fcn.101cf742
mov edx, dword [esp + 0x38]
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x24]
push ebx
push edi
push esi
push ebp
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
cmp eax, edi
jge 0x101b67ca
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x101b6816
push ecx
push esi
call fcn.101b9d30
add esp, 8
mov ebx, eax
push esi
call fcn.101cf76b
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x101b6e50
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x101b6ee2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x101b6ed4
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x101b6ecc
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x101b6e95
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x101b8c20
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x101b8c33
xor eax, eax
pop esi
add esp, 0x10
ret
push esi
call fcn.101bb140
add esp, 4
test eax, eax
jne 0x101b8c45
pop esi
add esp, 0x10
ret
mov eax, dword [esi]
mov ecx, 1
push ebx
push ebp
cmp eax, ecx
push edi
mov dword [esp + 0x10], 0
jne 0x101b8d06
mov eax, dword [esi + 4]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
cmp eax, ecx
mov dword [esp + 0x14], ecx
jle 0x101b8d83
lea ebx, [esp + 0x34]
mov eax, dword [ebx + 8]
xor ebp, ebp
cmp eax, 0x80000004
jne 0x101b8c8e
mov esi, dword [ebx]
jmp 0x101b8ca2
push ebx
call fcn.101bafa0
mov esi, eax
add esp, 4
test esi, esi
je 0x101b8ce6
mov ebp, 1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x101b8ccd
lea edx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push edx
push ecx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x101b8ccd
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x101b8cda
push esi
call fcn.101c37d6
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x101b8d83
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x101b8c7e
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret
cmp eax, 2
jne 0x101b8d83
mov eax, dword [esp + 0x24]
mov edx, dword [esi + 4]
cmp eax, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
jle 0x101b8d83
dec eax
lea ebx, [esp + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
xor ebp, ebp
cmp eax, 0x80000004
jne 0x101b8d37
mov esi, dword [ebx]
jmp 0x101b8d4b
push ebx
call fcn.101bafa0
mov esi, eax
add esp, 4
test esi, esi
je 0x101b8d75
mov ebp, 1
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x101b8d68
mov eax, dword [esp + 0x18]
push ecx
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x24]
test ebp, ebp
je 0x101b8d75
push esi
call fcn.101c37d6
add esp, 4
mov eax, dword [esp + 0x24]
add ebx, 0xc
dec eax
mov dword [esp + 0x24], eax
jne 0x101b8d27
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x10
ret
Function at 0x101b8df0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
test ebx, ebx
push edi
jne 0x101b8e09
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
push ebx
call fcn.101bb140
add esp, 4
test eax, eax
jne 0x101b8e1e
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edi, dword [esp + 0x34]
test edi, edi
je 0x101b8e38
mov eax, dword [esp + 0x2c]
test eax, eax
jg 0x101b8e38
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [ebx]
xor esi, esi
cmp eax, 1
jne 0x101b8f20
mov ebp, dword [ebx + 4]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push eax
push esi
push esi
push ebp
call edi
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x14], ebx
jne 0x101b8e70
push 2
push esi
push esi
push ebp
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x101b8e87
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
sub esi, ebx
jmp 0x101b8e8b
mov esi, dword [esp + 0x2c]
push esi
call fcn.101cf742
add esp, 4
mov ebx, eax
lea eax, [esp + 0x10]
push 0
push eax
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x101b8ec4
push 2
push eax
push eax
push ebp
call edi
push ebx
call fcn.101cf76b
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov edx, dword [esp + 0x10]
xor edi, edi
test edx, edx
mov ecx, ebx
jbe 0x101b8ee0
mov al, byte [ecx]
test al, al
je 0x101b8ee0
cmp al, 0x1a
je 0x101b8ee0
inc edi
inc ecx
cmp edi, edx
jb 0x101b8ed0
lea ecx, [edi + 1]
push ecx
call fcn.101b4e70
mov edx, dword [esp + 0x18]
add esp, 4
mov esi, eax
push 0
lea eax, [edi + edx]
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
push ebx
push esi
call fcn.101c2fa0
push ebx
mov byte [edi + esi], 0
call fcn.101cf76b
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp eax, 2
jne 0x101b8f9b
mov ebx, dword [ebx + 4]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x14]
test edi, edi
mov ebp, eax
jne 0x101b8f3a
or eax, 0xffffffff
jmp 0x101b8f3e
mov eax, dword [esp + 0x2c]
mov edx, dword [ebx]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
mov ecx, ebx
call dword [edx + 0x30]
mov edx, dword [esp + 0x10]
xor edi, edi
test eax, eax
jbe 0x101b8f6d
mov cl, byte [edx]
test cl, cl
je 0x101b8f6d
cmp cl, 0x1a
je 0x101b8f6d
inc edi
inc edx
cmp edi, eax
jb 0x101b8f5c
lea edx, [edi + 1]
push edx
call fcn.101b4e70
add esp, 4
lea ecx, [edi + ebp]
mov esi, eax
mov eax, dword [ebx]
push 0
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov edx, dword [esp + 0x10]
push edi
push edx
push esi
call fcn.101c2fa0
add esp, 0xc
mov byte [edi + esi], 0
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x101bc680
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x101d71eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, dword [esp + 0x144]
push esi
lea ecx, [esp + 8]
mov dword [esp + 0xc], 0
call fcn.101cfa0d
mov eax, dword [esp + 0x148]
test eax, eax
jne 0x101bc752
mov eax, dword [esp + 4]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x101bc6ea
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.101cf9e3
xor eax, eax
jmp 0x101bc7a2
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x101bc705
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0x101bc756
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea edx, [esp + 0xc]
mov esi, eax
push edx
push esi
mov dword [esp + 0x14], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x101bc756
mov ecx, dword [esp + 4]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.101c475e
add esp, 8
test eax, eax
je 0x101bc74e
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x101bc727
jmp 0x101bc756
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
test eax, eax
jne 0x101bc776
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call fcn.101cf9e3
xor eax, eax
jmp 0x101bc7a2
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [esp + 4]
mov esi, eax
mov dword [esp + 0x13c], 0xffffffff
call fcn.101cf9e3
mov eax, esi
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret 8

Function at 0x101d2d51
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x101d2d93
call fcn.101d581b
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x101d2d93
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x101d2d8a
xor eax, eax
jmp 0x101d2d9b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.101d2da1
pop edi
pop esi
pop ebx
ret 4

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
salc
cmp eax, 0xd49d4bc9
dec ebx
popfd
aam 0xf
dec ebx
popfd
aam 0xf
sbb esi, esp
push eax
mov byte [esi], bl
adc eax, 0x570c1959
xor dword [ebx + 0x756bfce8], esp
loopne 0x4153e1
popal
and dword [edx - 0x58c93057], ebx
adc al, 1
mov bl, byte [esi]
scasb al, byte es:[edi]
xor eax, 0x89145df9
mov dword [esi + 0x55], ebp
xor dword [ecx], esp
dec esi
jmp 0x4153dd
Function at 0x401fad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433110]
jne 0x401fb7
repz ret
jmp fcn.00402ee6

Function at 0x40ff80
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00404e86
and dword [ebp - 4], 0
cmp dword [0x43491c], 0
mov ebx, eax
jne 0x410031
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4100e2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4100e2
push eax
call fcn.00404e14
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43491c], eax
call esi
push eax
call fcn.00404e14
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x434920], eax
call esi
push eax
call fcn.00404e14
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x434924], eax
call esi
push eax
call fcn.00404e14
pop ecx
mov dword [0x43492c], eax
test eax, eax
je 0x410031
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404e14
pop ecx
mov dword [0x434928], eax
mov eax, dword [0x434928]
cmp eax, ebx
je 0x410089
cmp dword [0x43492c], ebx
je 0x410089
push eax
call fcn.00404e8f
push dword [0x43492c]
mov esi, eax
call fcn.00404e8f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x410089
test edi, edi
je 0x410089
call esi
test eax, eax
je 0x410080
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x410080
test byte [ebp - 0xc], 1
jne 0x410089
or dword [ebp + 0x10], 0x200000
jmp 0x4100c2
mov eax, dword [0x434920]
cmp eax, ebx
je 0x4100c2
push eax
call fcn.00404e8f
pop ecx
test eax, eax
je 0x4100c2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4100c2
mov eax, dword [0x434924]
cmp eax, ebx
je 0x4100c2
push eax
call fcn.00404e8f
pop ecx
test eax, eax
je 0x4100c2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43491c]
call fcn.00404e8f
pop ecx
test eax, eax
je 0x4100e2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4100e4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret