joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0x1aa4104e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x47836d40
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x1001705
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1004024]
push ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x210]
push eax
push 0x10011a0
push 0x80000002
xor ebx, ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x100173a
xor eax, eax
jmp 0x10017a4
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
mov esi, 0x1001170
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x214], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10017a0
cmp dword [ebp + 8], ebx
je 0x1001787
push ebx
lea eax, [ebp - 0x20c]
xor ebx, ebx
push eax
inc ebx
push ebx
call fcn.010017b6
push esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.010027e1
leave
ret 4
Function at 0x100197f
Capabilities:
Check if file exists
Create directory
Get file attributes
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x64c
mov ecx, dword [ebp + 0x10]
mov eax, dword [0x1004024]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x63c], ecx
lea ecx, [ebp - 0x628]
push ecx
lea ecx, [ebp - 0x620]
push ecx
lea ecx, [ebp - 0x634]
push ecx
push 0
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0x1001324
push eax
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x628], 0x208
call edi
test eax, eax
je 0x10019f1
lea eax, [ebp - 0x620]
push 0x10012f8
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
mov ebx, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x620]
push eax
call ebx
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
xor ecx, ecx
cmp word [ebp + eax*2 - 0x20e], 0x5c
mov dword [ebp - 0x624], 1
setne cl
mov dword [ebp - 0x638], ecx
cmp dword [ebp - 0x638], 0
mov dword [ebp - 0x62c], 0x100116c
jne 0x1001a71
mov dword [ebp - 0x62c], 0x10012f4
push dword [ebp - 0x624]
movzx eax, word [ebp - 0x64c]
push 0x64
pop ecx
cdq
idiv ecx
movzx eax, word [ebp - 0x646]
push edx
push eax
movzx eax, word [ebp - 0x64a]
push eax
push dword [ebp - 0x62c]
lea eax, [ebp - 0x20c]
push eax
push 0x10012b0
push esi
call dword [sym.imp.msvcrt.dll_swprintf]
add esp, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1001ac8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1001adb
inc dword [ebp - 0x624]
cmp dword [ebp - 0x624], 0x64
jl 0x1001a54
cmp dword [ebp - 0x624], 0x64
jne 0x1001aeb
mov eax, 0xc0000001
jmp 0x1001b4d
cmp dword [ebp + 0x14], 4
je 0x1001b4b
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x634]
push eax
push 0
push 0x100129c
push dword [ebp - 0x630]
mov dword [ebp - 0x628], 0x20a
call edi
test eax, eax
je 0x1001b37
lea eax, [ebp - 0x418]
push 0x100126c
push eax
call dword [sym.imp.msvcrt.dll_wcscpy]
pop ecx
pop ecx
push 0x104
push dword [ebp - 0x63c]
lea eax, [ebp - 0x418]
push eax
call ebx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010027e1
leave
ret 0x10
Function at 0x1001b61
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
push 0x100133c
push esi
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, eax
cmp edi, esi
jne 0x1001bb1
cmp dword [ebp - 4], 0x14
jae 0x1001bb1
call ebx
cmp eax, 0x6ba
je 0x1001ba1
call ebx
cmp eax, 0x6b5
jne 0x1001bb1
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
inc eax
jmp 0x1001bb3
xor eax, eax
inc dword [ebp - 4]
cmp edi, esi
jne 0x1001bc0
cmp eax, esi
jne 0x1001b77
jmp 0x1001bf0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push esi
xor eax, eax
cmp dword [ebp + 0x10], esi
lea ecx, [ebp - 0x10]
push ecx
push esi
setne al
push 2
push esi
add eax, 0x400003e8
push eax
push esi
push 4
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1001bfc
Capabilities:
Get hostname

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.01002a80
mov eax, dword [0x1004024]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
push ebx
push esi
mov esi, dword [eax + 4]
mov ebx, dword [ebp + 0xc]
mov edx, ecx
push edi
shr ecx, 2
lea edi, [ebp - 0xffc]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 3
pop edx
and ecx, edx
rep movsb byte es:[edi], byte [esi]
movzx esi, word [eax]
xor edi, edi
add esi, 0xa
cmp dword [ebp + 0x10], edi
je 0x1001c74
lea eax, [ebp + esi - 0x1004]
push ebx
push eax
mov dword [ebp - 0x1004], 0x158b
mov dword [ebp - 0x1000], edx
call dword [sym.imp.msvcrt.dll_wcscpy]
push ebx
call dword [sym.imp.msvcrt.dll_wcslen]
add esp, 0xc
lea esi, [esi + eax*2 + 2]
jmp 0x1001c88
mov dword [ebp - 0x1004], 0x158a
mov dword [ebp - 0x1000], 2
mov eax, 0x1000
sub eax, esi
shr eax, 1
mov dword [ebp - 0x1008], eax
lea eax, [ebp - 0x1008]
push eax
lea eax, [ebp + esi - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov eax, dword [ebp - 0x1008]
lea eax, [eax + eax + 2]
mov dword [ebp - 0x1008], eax
add esi, eax
push 0x100135c
push esi
lea eax, [ebp - 0x1004]
push eax
push 0x1001350
call sub.NETAPI32.dll_NetAlertRaiseEx
mov ebx, eax
test ebx, ebx
je 0x1001cf3
cmp ebx, 2
jne 0x1001cf8
mov eax, edi
inc edi
cmp eax, 0x14
ja 0x1001cf8
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 2
je 0x1001cbe
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.010027e1
leave
ret 0xc
Function at 0x1001d98
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push edi
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1001dc2
xor eax, eax
jmp 0x1001e00
push ebx
mov ebx, dword [ebp + 0xc]
push edi
lea eax, [ebp - 4]
push eax
push 0x1000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], edi
je 0x1001dfd
cmp dword [ebx], 0x45474150
jne 0x1001dfd
cmp dword [ebx + 4], 0x504d5544
jne 0x1001dfd
xor eax, eax
inc eax
jmp 0x1001dff
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x100252f
Capabilities:
Delete registry value
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x440
mov eax, dword [0x1004024]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push edi
xor edi, edi
inc eax
xor ebx, ebx
cmp dword [ebp + 8], eax
mov dword [ebp - 0x420], edi
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x42c], edi
mov dword [ebp - 0x440], edi
mov dword [ebp - 0x43c], edi
mov word [ebp - 0x20c], di
mov dword [ebp - 0x424], edi
jle 0x100269e
mov dword [ebp - 0x41c], 3
push esi
mov esi, dword [ecx + eax*4]
mov dl, byte [esi]
cmp dl, 0x2d
je 0x100259c
cmp dl, 0x2f
jne 0x10025dc
mov dl, byte [esi + 1]
cmp dl, 0x43
je 0x10025a9
cmp dl, 0x63
jne 0x10025dc
mov edx, dword [ebp - 0x41c]
cmp edx, dword [ebp + 8]
mov dword [ebp - 0x420], 1
jge 0x1002691
inc eax
inc dword [ebp - 0x41c]
mov edx, dword [ecx + eax*4]
inc eax
inc dword [ebp - 0x41c]
mov dword [ebp - 0x434], edx
mov ebx, dword [ecx + eax*4]
inc eax
inc dword [ebp - 0x41c]
cmp eax, dword [ebp + 8]
jl 0x100258d
cmp dword [ebp - 0x420], edi
pop esi
je 0x100269e
cmp dword [ebp - 0x434], edi
je 0x1002691
cmp ebx, edi
je 0x1002691
push edi
push ebx
push dword [ebp - 0x434]
call fcn.01001e0b
test eax, eax
je 0x1002630
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x10015e8
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
pop ecx
pop ecx
lea eax, [ebp - 0x418]
mov dword [ebp - 0x424], eax
push ebx
lea eax, [ebp - 0x430]
push eax
mov word [ebp - 0x426], 0x208
mov word [ebp - 0x428], di
call dword [sym.imp.ntdll.dll_RtlInitAnsiString]
push edi
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
movzx eax, word [ebp - 0x428]
shr eax, 1
mov word [ebp + eax*2 - 0x418], di
lea eax, [ebp - 0x418]
push eax
call fcn.01001ec8
jmp 0x100275b
call fcn.010024ee
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll_exit]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x42c]
push eax
push 1
call fcn.01002122
push 1
call fcn.01001705
lea eax, [ebp - 0x420]
push eax
push 0x10011a0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1002707
push 0x10015b8
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x42c], edi
je 0x100271b
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x440], edi
je 0x100273b
push dword [ebp - 0x42c]
lea eax, [ebp - 0x438]
push dword [ebp - 0x424]
push eax
call fcn.01001b61
cmp dword [ebp - 0x43c], edi
je 0x100275b
push dword [ebp - 0x42c]
lea eax, [ebp - 0x438]
push dword [ebp - 0x424]
push eax
call fcn.01001bfc
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop ebx
call fcn.010027e1
leave
ret
Function at 0x10028f9
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x1001668
call fcn.01002af8
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x1002934
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002934
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x100294c
cmp eax, 0x20b
je 0x1002939
mov dword [ebp - 0x1c], edi
jmp 0x1002960
cmp dword [ecx + 0x84], 0xe
jbe 0x1002934
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x100295a
cmp dword [ecx + 0x74], 0xe
jbe 0x1002934
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.msvcrt.dll___set_app_type]
pop ecx
or dword [0x1004048], 0xffffffff
or dword [0x100404c], 0xffffffff
call dword [sym.imp.msvcrt.dll___p__fmode]
mov ecx, dword [0x1004044]
mov dword [eax], ecx
call dword [sym.imp.msvcrt.dll___p__commode]
mov ecx, dword [0x1004040]
mov dword [eax], ecx
mov eax, dword [sym.imp.msvcrt.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x1004050], eax
call fcn.01002af0
cmp dword [0x1004030], edi
jne 0x10029bb
push fcn.01002af0
call dword [sym.imp.msvcrt.dll___setusermatherr]
pop ecx
call fcn.01002ad9
push 0x1004010
push 0x100400c
call sub.msvcrt.dll__initterm
mov eax, dword [0x100403c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x1004038]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.msvcrt.dll___getmainargs]
mov dword [ebp - 0x34], eax
push 0x1004008
push section..data
call sub.msvcrt.dll__initterm
mov eax, dword [ebp - 0x20]
mov ecx, dword [sym.imp.msvcrt.dll___initenv]
mov dword [ecx], eax
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0100252f
add esp, 0x30
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x1002a32
push esi
call dword [sym.imp.msvcrt.dll_exit]
call dword [sym.imp.msvcrt.dll__cexit]
jmp 0x1002a67
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.01002b33
ret
Function at 0x1ee3082
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x1ee30ce
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1ee30c8
mov ecx, dword [0x1f237f8]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1ee30bc
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1ee30a1
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, 1
jmp 0x1ee30ca
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x1ee4c53
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x1ee4cbf
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x1ee4d08
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.01efe100
add esp, 8
test eax, eax
jne 0x1ee4d06
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x1ee4d0a
jmp 0x1ee4cb6
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1eed8fa
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.01ee7337
add esp, 4
and eax, 0xff
test eax, eax
je 0x1eed983
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call fcn.01ef8820
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1eed981
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x1eed981
jmp 0x1eed983
jmp 0x1eed903
mov esp, ebp
pop ebp
ret

Function at 0x1eeddf3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x1f24404]
test eax, eax
jne 0x1eede07
call fcn.01eedd24
xor ecx, ecx
mov cl, byte [0x1f24401]
test ecx, ecx
jne 0x1eede8e
xor edx, edx
mov dl, byte [0x1f24400]
test edx, edx
jne 0x1eede8e
cmp dword [0x1f2460c], 0
je 0x1eede69
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x1f2460c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x1f2460c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x1f2460c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x1eede8e
push 0x10001
push 0x1f24404
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x1eede8e
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x1ef0f9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x1ef0faa
xor eax, eax
jmp 0x1ef1173
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x1ef112b
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1f21eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1f21eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1f21eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1f21eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1f21eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1f21eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1f21eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x1f21eac]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x1ef0fb3
cmp dword [ebp + 0x10], 0
je 0x1ef116d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x1f21eac]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x1ef1131
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x1efa9b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1f1f4c8
cmp edx, dword [eax]
je 0x1efa9d2
add eax, 8
inc ecx
cmp eax, 0x1f1f558
jl 0x1efa9c3
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1f1f4c8]
jne 0x1efab00
mov eax, dword [0x1f24688]
cmp eax, 1
je 0x1efaada
test eax, eax
jne 0x1efaa03
cmp dword [0x1f1f204], 1
je 0x1efaada
cmp edx, 0xfc
je 0x1efab00
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1efaa3a
lea eax, [ebp - 0x1a4]
push 0x1f232c8
push eax
call fcn.01ef8980
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.01ef8b30
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1efaa7d
lea eax, [ebp - 0x1a4]
push eax
call fcn.01ef8b30
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1f232c4
push edi
call fcn.01ef8bb0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x1f232a8
push eax
call fcn.01ef8980
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.01ef8990
lea eax, [ebp - 0xa0]
push 0x1f232a4
push eax
call fcn.01ef8990
push dword [esi + 0x1f1f4cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.01ef8990
push 0x12010
lea eax, [ebp - 0xa0]
push 0x1f2327c
push eax
call fcn.01efcf78
add esp, 0x2c
pop edi
jmp 0x1efab00
lea eax, [ebp + 8]
lea esi, [esi + 0x1f1f4cc]
push 0
push eax
push dword [esi]
call fcn.01ef8b30
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x10001170
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sub eax, 1
je 0x10001182
sub eax, 1
jne 0x1000119c
cmp ecx, 1
jne 0x1000119c
push 0
push 0
push 0
push 0x100010a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc