joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004291d
Capabilities:
Get file system object information

Disassembly:
push 0x6f8
mov eax, 0x10175889
call fcn.1014664f
mov ebx, ecx
mov ecx, dword [ebp + 0x14]
xor esi, esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x700], edi
test ecx, ecx
je 0x10042aae
mov eax, dword [ebp + 0x10]
sub eax, esi
je 0x10042a80
sub eax, 1
je 0x1004299c
sub eax, 1
je 0x10042974
sub eax, 1
je 0x1004299c
push 0x10182f00
mov ecx, edi
call fcn.1000c5b7
mov eax, edi
call fcn.101465fe
ret 0x10
push 0x408
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1004295e
lea eax, [ebp - 0x4e8]
push eax
jmp 0x10042963
lea eax, [ebp - 0x218]
push eax
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1004295e
push esi
lea eax, [ebp - 0x448]
mov dword [ebp - 0x448], esi
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x444], esi
push eax
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x434], esi
call fcn.100279a0
test eax, eax
je 0x1004295e
lea ecx, [ebp - 0x700]
call fcn.1000c661
cmp dword [ebp + 0x10], 1
mov dword [ebp - 4], esi
jne 0x10042a36
test byte [ebp - 0x428], 0x18
jne 0x10042a58
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
push dword [ebp - 0x42c]
mov esi, dword [eax + 0x1a0]
mov ecx, esi
push dword [ebp - 0x430]
call dword [0x101829dc]
mov ecx, ebx
call esi
jmp 0x10042a58
mov eax, dword [ebx]
lea ecx, [ebp - 0x700]
push ecx
lea ecx, [ebp - 0x440]
push ecx
mov esi, dword [eax + 0x1a4]
mov ecx, esi
call dword [0x101829dc]
mov ecx, ebx
call esi
mov eax, dword [ebp - 0x700]
add eax, 0xfffffff0
push eax
call fcn.1000ce80
pop ecx
mov ecx, dword [ebp - 0x700]
add eax, 0x10
mov dword [edi], eax
lea ecx, [ecx - 0x10]
call fcn.1000db85
jmp 0x1004296a
push 0x208
push 0x2b4
lea eax, [ebp - 0x6fc]
push eax
push esi
push dword [ecx + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x1004295e
lea eax, [ebp - 0x6f0]
jmp 0x10042999
call fcn.100103c8
int3

Function at 0x10042c26
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.1008fe0c
call fcn.10011840
cmp dword [eax + 0x14], 0
jne 0x10042c41
mov ecx, esi
pop esi
jmp fcn.10041f2f
pop esi
ret

Function at 0x100435bc
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c0
mov eax, dword [0x101d7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], esi
test eax, eax
je 0x10043626
push 0x208
push 0x2b4
lea ecx, [ebp - 0x2b8]
push ecx
push 0
push dword [eax + 4]
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, esi
test eax, eax
je 0x1004360b
lea eax, [ebp - 0x2ac]
push eax
jmp 0x10043610
push 0x1018d538
call fcn.1000c5b7
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10145e79
leave
ret 8
call fcn.100103c8
int3
Function at 0x10043b0b
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.10003465
call fcn.10011840
cmp dword [eax + 0x14], 0
jne 0x10043b26
mov ecx, esi
pop esi
jmp fcn.10043366
pop esi
ret
Function at 0x1004be07
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push edi
test esi, esi
jne 0x1004be20
call fcn.100117ec
mov esi, dword [eax + 0xc]
push 0x1018e3b0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1004be62
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1004be62
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x1004be62
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.1004be6b
jmp 0x1004be64
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10073cd5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 0x104
mov eax, dword [esi + 4]
cmp eax, ecx
ja 0x10073e5c
je 0x10073e83
sub eax, 0xa1
je 0x10073e83
sub eax, 1
je 0x10073e83
dec eax
sub eax, 1
je 0x10073e83
sub eax, 1
je 0x10073e83
dec eax
sub eax, 1
je 0x10073e83
sub eax, 1
je 0x10073e83
sub eax, 0x58
jne 0x10073ec1
cmp dword [edi + 0xc0], 0xffffffff
je 0x10073e83
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10073e83
mov eax, dword [esi + 8]
sub eax, 0x21
je 0x10073db1
sub eax, 1
jne 0x10073e83
mov eax, dword [edi + 0xc0]
lea ebx, [eax + 1]
jmp 0x10073da0
mov eax, ebx
cdq
idiv ecx
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x101829dc]
mov ecx, edi
call esi
test eax, eax
jne 0x10073dfd
mov eax, dword [edi + 0xc0]
inc ebx
mov ecx, dword [edi + 0xbc]
add eax, ecx
cmp ebx, eax
jl 0x10073d76
jmp 0x10073edb
mov ecx, dword [edi + 0xc0]
lea ebx, [ecx - 1]
add ebx, dword [edi + 0xbc]
cmp ebx, ecx
jle 0x10073edb
mov eax, ebx
cdq
idiv dword [edi + 0xbc]
mov eax, dword [edi]
mov ecx, edx
mov dword [ebp - 4], ecx
push ecx
mov esi, dword [eax + 0x27c]
mov ecx, esi
call dword [0x101829dc]
mov ecx, edi
call esi
test eax, eax
jne 0x10073dfd
dec ebx
cmp ebx, dword [edi + 0xc0]
jg 0x10073dc8
jmp 0x10073edb
mov eax, dword [edi]
push dword [ebp - 4]
mov dword [edi + 0x24c], 1
mov esi, dword [eax + 0x214]
mov ecx, esi
call dword [0x101829dc]
mov ecx, edi
call esi
mov eax, dword [edi]
mov esi, dword [eax + 0x210]
mov ecx, esi
call dword [0x101829dc]
mov ecx, edi
call esi
mov ecx, eax
call fcn.10018d05
mov eax, dword [edi]
push dword [edi + 0xc0]
mov esi, dword [eax + 0x270]
mov ecx, esi
call dword [0x101829dc]
mov ecx, edi
call esi
and dword [edi + 0x24c], 0
jmp 0x10073edb
sub eax, 0x200
je 0x10073e83
sub eax, 1
je 0x10073e83
sub eax, 1
je 0x10073e83
dec eax
sub eax, 1
je 0x10073e83
sub eax, 1
je 0x10073e83
dec eax
sub eax, 1
je 0x10073e83
sub eax, 1
jne 0x10073ec1
mov eax, dword [edi + 0xfc]
test eax, eax
je 0x10073ea2
cmp dword [eax + 0x20], ebx
je 0x10073ea2
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
je 0x10073ec1
cmp dword [eax + 0x20], ebx
je 0x10073ec1
push esi
push ebx
push 0x407
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 4], 0x203
jne 0x10073ee0
lea eax, [edi + 0x2250]
test eax, eax
je 0x10073ed7
mov ebx, dword [eax + 0x20]
cmp dword [esi], ebx
jne 0x10073ee0
xor eax, eax
inc eax
jmp 0x10073ee8
push esi
mov ecx, edi
call fcn.1006bd3b
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100904b1
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101d7000]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x100904dd
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x10090508
cmp dword [0x101ddde4], 0
jne 0x10090508
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x10090504
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x10090504
push edi
call fcn.1015cace
pop ecx
jmp 0x1009057f
mov eax, edi
jmp 0x1009057f
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.10148f80
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x1009058e
push esi
call fcn.1000be10
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push 0
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push esi
push 1
push 2
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x104]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.10145e79
leave
ret 4
call fcn.100103c8
int3
Function at 0x100acf39
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x100ad097
push esi
push edi
push 0x10199cb0
call fcn.10010e37
cmp dword [ebp + 8], 0
mov dword [ebp - 0x10], eax
je 0x100acfd2
mov edi, dword [ebx + 0x168]
jmp 0x100acfbe
mov esi, dword [edi + 8]
mov edi, dword [edi]
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100acfbe
push esi
call fcn.10013ad0
push eax
push 0x101d6890
call fcn.10010d98
mov dword [ebp - 0xc], eax
pop ecx
pop ecx
test eax, eax
je 0x100acfbe
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1a0]
mov ecx, esi
call dword [0x101829dc]
mov ecx, dword [ebp - 0xc]
call esi
test eax, eax
jle 0x100acfbe
push 4
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_ShowWindow]
test edi, edi
jne 0x100acf6d
lea ecx, [ebx + 0x164]
call fcn.10021265
jmp 0x100ad095
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x100ad095
lea eax, [ebx + 0xc8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10013d4e
mov edi, dword [eax]
test edi, edi
jne 0x100acffe
xor esi, esi
jmp 0x100ad001
mov esi, dword [edi + 0x20]
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100ad085
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100ad085
cmp dword [ebp - 0x10], 0
jne 0x100ad05a
push edi
push 0x101d6890
call fcn.10010d98
mov edi, eax
pop ecx
pop ecx
mov ecx, dword [edi]
mov esi, dword [ecx + 0x1a8]
mov ecx, esi
call dword [0x101829dc]
mov ecx, edi
call esi
push eax
push 0x1018f358
call fcn.10010d98
pop ecx
pop ecx
test eax, eax
je 0x100ad085
mov esi, dword [ebp - 4]
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
lea eax, [ebp - 8]
lea esi, [ebx + 0x164]
push eax
mov ecx, esi
call fcn.100ac0aa
test eax, eax
jne 0x100ad085
lea eax, [ebp - 8]
mov ecx, esi
push eax
call fcn.100aa1e0
cmp dword [ebp - 0xc], 0
lea eax, [ebx + 0xc8]
jne 0x100acfe9
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x100e660f
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100e663c
or dword [esi + 0x3c], 1
or dword [esi + 0x38], 2
jmp 0x100e6651
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x100e6651
or dword [esi + 0x3c], 2
or dword [esi + 0x38], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov edi, dword [ebp + 8]
mov ebx, eax
mov dword [ebp - 4], edx
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetCapture]
push eax
call fcn.10013ad0
jmp 0x100e6722
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.10013ad0
cmp eax, edi
jne 0x100e672c
push 1
push 0x209
push 0x200
push 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x100e66be
push 1
push 0x109
push 0x100
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x100e6702
mov eax, dword [ebp - 0x1c]
cmp eax, 0x202
je 0x100e672c
cmp eax, 0x205
je 0x100e672c
cmp eax, 0x201
je 0x100e672c
cmp eax, 0x204
je 0x100e672c
cmp eax, 0x100
jne 0x100e66ea
cmp dword [ebp - 0x18], 0x1b
je 0x100e672c
push dword [ebp - 8]
lea eax, [esi + 0x24]
push dword [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
sbb edx, dword [ebp - 4]
test edx, edx
jb 0x100e6722
ja 0x100e671b
cmp eax, dword [0x101df240]
jbe 0x100e6722
mov dword [esi + 0x34], 1
cmp dword [esi + 0x34], 0
je 0x100e6673
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x34]
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100e6b04
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, dword [ecx + 0x14]
cmp dword [esi - 0xc], 0
je 0x100e6b3a
push ebx
mov ebx, dword [ecx + 8]
push edi
mov edi, dword [ecx + 0xc]
call fcn.1000bdea
test eax, eax
je 0x100e6b22
mov eax, dword [eax + 0x20]
push 1
push edi
push ebx
push esi
push 0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
pop edi
sbb eax, eax
pop ebx
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x100ed3c8
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x101d6794], 0
push esi
push edi
je 0x100ed450
cmp dword [0x101d6ac0], 0xfffffffe
jne 0x100ed43c
mov esi, dword [ebp + 8]
cmp esi, 0xffffffff
je 0x100ed450
mov edi, 0x101df26c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x101df284], 0
jne 0x100ed454
push 0
push 0
push 0x100ed45a
call fcn.101569c0
add esp, 0xc
mov dword [0x101df284], eax
test eax, eax
je 0x100ed42c
cmp eax, 0xffffffff
je 0x100ed42c
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [0x101d6ac0], esi
jmp 0x100ed433
and dword [0x101df284], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x100ed450
mov eax, dword [ebp + 8]
mov dword [0x101d6ac0], eax
cmp eax, 0xffffffff
jne 0x100ed450
and dword [0x101df284], 0
pop edi
pop esi
pop ebp
ret
call fcn.100103c8
int3
Function at 0x100f6a38
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
push edi
test ebx, ebx
je 0x100f6ad7
mov eax, dword [esi + 0x34c]
test eax, eax
je 0x100f6ad3
mov eax, dword [eax + 0x20]
test eax, eax
je 0x100f6ad3
cmp dword [ebx], eax
jne 0x100f6ad3
mov eax, dword [ebx + 4]
sub eax, 1
je 0x100f6aad
sub eax, 1
je 0x100f6a7d
sub eax, 1
jne 0x100f6ad3
mov edi, 0x428e
jmp 0x100f6ab2
push 0x11
mov edi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100f6ab2
mov eax, dword [esi]
mov esi, dword [eax + 0x340]
mov ecx, esi
call dword [0x101829dc]
mov ecx, dword [ebp - 4]
call esi
test eax, eax
je 0x100f6ab2
add edi, 3
jmp 0x100f6ab2
mov edi, 0x3ea0
push edi
mov ecx, 0x101df2c8
call fcn.1000d623
test eax, eax
je 0x100f6ad7
mov eax, dword [0x101df2c8]
mov dword [ebx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
xor eax, eax
jmp 0x100f6acc
call fcn.100103c8
int3

Function at 0x101009a0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.1015cafe
pop ecx
test eax, eax
jne 0x101009e2
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._s_s_X.tmp
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1000eee4
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x101009a8
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x10106d55
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x10172fcb
call fcn.1014661c
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x10106e3c
mov esi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
bt ax, 0xf
jae 0x10106e3c
cmp esi, 0x43
je 0x10106d97
cmp esi, 0x2d
jne 0x10106e3c
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10106e3c
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea ecx, [ebp - 0x10]
call fcn.1000c661
movzx eax, byte [edi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [edi + 0xe5]
push eax
movzx eax, byte [edi + 0xe4]
push eax
lea eax, [ebp - 0x10]
push str.RGB__d___d___d_
push eax
call fcn.1000d1e6
mov esi, dword [ebp - 0x10]
add esp, 0x14
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10106e2a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x10106e2a
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.1000db85
push ebx
mov ecx, edi
call fcn.101050a8
call fcn.101465ea
ret 4
Function at 0x1014c9ef
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1014ca2e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1014ca2e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1014ca2e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1014ca2e
cmp dword [ecx + 0x74], 0xe
jbe 0x1014ca2e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x10159d33
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0xc], edi
mov ebx, esi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
movzx eax, word [eax]
cmp ax, word [ebx + 0x101b26e0]
je 0x10159d69
cmp ax, word [ebx + 0x101b26e8]
jne 0x10159ddf
mov ecx, edi
call fcn.1015ace3
mov cx, ax
add ebx, 2
mov eax, dword [ebp + 8]
mov word [eax], cx
cmp ebx, 6
jne 0x10159d54
push ecx
mov ecx, edi
call fcn.1015b853
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x10]
mov dword [ebp + 0x14], ecx
mov ecx, edi
mov dword [ebp + 0x10], eax
call fcn.1015ace3
mov ebx, dword [ebp + 8]
movzx ecx, ax
mov word [ebx], ax
cmp cx, word [esi + str.INITY]
je 0x10159db7
cmp cx, word [esi + str.inity]
jne 0x10159deb
mov ecx, edi
call fcn.1015ace3
add esi, 2
mov word [ebx], ax
movzx ecx, ax
cmp esi, 0xa
jne 0x10159da5
movzx eax, ax
mov ecx, edi
push eax
call fcn.1015b853
push 3
pop eax
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp - 0xc]
call fcn.1015ab7e
push 7
jmp 0x10159dd9
lea ecx, [ebp - 0xc]
call fcn.1015ab7e
movzx eax, al
xor eax, 1
lea eax, [eax*4 + 3]
jmp 0x10159dda

Function at 0x1015c18b
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101d7000]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 4
pop eax
call fcn.101467a0
mov ebx, esp
lea eax, [ebp - 0x30]
push 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1015c244
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x50]
xor esi, esi
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
call fcn.10164602
test eax, eax
je 0x1015c1ee
cmp dword [ebp - 8], esi
cmova esi, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
lea edi, [edx - 1]
not edi
lea eax, [edx - 1]
add eax, esi
lea esi, [edx + edx]
and eax, edi
lea ecx, [eax + edx]
cmove ecx, eax
mov eax, dword [ebp - 0x10]
cmp ecx, esi
cmovae esi, ecx
and edi, ebx
sub edi, esi
add eax, edx
cmp edi, eax
jb 0x1015c244
push 4
push 0x1000
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1015c244
lea eax, [ebp - 0x14]
push eax
push 0x104
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
neg eax
sbb eax, eax
neg eax
jmp 0x1015c246
xor eax, eax
lea esp, [ebp - 0x60]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10145e79
leave
ret
Function at 0x1015d2c1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.101467a0
mov eax, dword [0x101d7000]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1015ce9b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1015d303
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1015d47a
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10146c90
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x101dfde0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10165dc6
mov ecx, dword [esi*4 + 0x101dfde0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1015d473
cmp eax, dword [edi + ecx + 0x24]
jne 0x1015d473
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1015d473
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10165dc6
add esp, 0x14
cmp edx, esi
jl 0x1015d473
jg 0x1015d3ce
cmp eax, esi
jb 0x1015d473
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x1015d473
jl 0x1015d3f0
cmp dword [ebp - 0x1008], eax
ja 0x1015d473
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x1015d415
cmp ebx, esi
je 0x1015d45a
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x1015d45a
mov al, byte [ecx]
cmp al, 0xd
jne 0x1015d43b
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1015d447
cmp byte [ecx + 1], 0xa
jne 0x1015d447
inc ecx
jmp 0x1015d447
movzx eax, al
movsx eax, byte [eax + 0x101d7320]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1015d421
cmp edx, ebx
jne 0x1015d421
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x1015d478
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10145e79
leave
ret
Function at 0x101615e9
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x10161603
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x1016161a
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x10161672
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.1015d8fb
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x10161672
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x10161672
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x10161672
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x1016166c
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x1016166e
xor bl, bl
mov al, bl
jmp 0x10161674
xor al, al
pop esi
pop ebx
leave
ret