joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025410
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1014c240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x20a
xor ebx, ebx
lea eax, [ebp - 0x41c]
push ebx
push eax
mov edi, ecx
call fcn.100e1f90
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x41c]
push eax
push str.deepscan_smart.dat
mov ecx, edi
call fcn.10024e9a
test eax, eax
je 0x100254c9
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.100e1f90
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
push esi
lea eax, [ebp - 0x210]
push eax
push 0x10144c14
push 0x1010970c
push 0x10109700
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x210]
push eax
call fcn.100e802b
pop ecx
test eax, eax
jbe 0x100254c7
lea eax, [edi + 0x448]
push eax
lea eax, [ebp - 0x210]
push eax
mov ecx, edi
call fcn.10025261
xor ebx, ebx
inc ebx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e200a
leave
ret

Function at 0x1002632e
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1014c240]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x10026351
or eax, 0xffffffff
jmp 0x100263f6
push 0x80
push edi
push ebx
call fcn.100e1f90
add esp, 0xc
xor ecx, ecx
push esi
movsx eax, byte [ecx + str.91__]
mov esi, dword [ebp + 0xc]
dec eax
mov edx, eax
sar edx, 3
movsx edx, byte [edx + esi]
and eax, 7
test dword [eax*4 + 0x10148520], edx
setne al
mov byte [ebp + ecx - 0x3c], al
inc ecx
cmp ecx, 0x38
jl 0x10026363
movsx eax, byte [edi + 0x101482c0]
xor ecx, ecx
xor edx, edx
cmp ecx, 0x1c
setge dl
mov esi, eax
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp eax, edx
jl 0x100263af
lea esi, [eax - 0x1c]
mov dl, byte [ebp + esi - 0x3c]
mov byte [ebp + ecx - 0x74], dl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x10026397
xor ecx, ecx
movsx eax, byte [ecx + 0x101482d0]
cmp byte [ebp + eax - 0x75], 0
je 0x100263e7
mov eax, ecx
cdq
push 6
pop esi
idiv esi
mov edx, dword [edx*4 + 0x10148520]
lea eax, [eax + edi*8]
add eax, ebx
sar edx, 2
or byte [eax], dl
inc ecx
cmp ecx, 0x30
jl 0x100263c0
inc edi
cmp edi, 0x10
jl 0x1002638e
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100e200a
leave
ret
Function at 0x100265ef
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1014c240]
xor eax, ebp
mov dword [ebp - 4], eax
xor ecx, ecx
xor eax, eax
movsx edx, byte [eax + 0x10148500]
dec edx
cmp edx, ecx
je 0x10026617
inc eax
cmp eax, 0x20
jl 0x10026603
jmp 0x1002661b
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jl 0x10026601
and dword [ebp - 0x28], 0
push ebx
lea eax, [ebp - 0x24]
push esi
mov dword [ebp - 0x30], eax
mov eax, dword [0x10154828]
push edi
xor edx, edx
mov dword [ebp - 0x2c], eax
mov eax, edx
sar eax, 1
mov ecx, edx
and ecx, 1
shl ecx, 4
and eax, 0xf
or eax, ecx
mov ecx, edx
and ecx, 0x20
or eax, ecx
mov ecx, dword [ebp - 0x28]
movsx eax, byte [ecx + eax + 0x10148300]
xor edi, edi
xor esi, esi
push 8
pop ebx
mov ecx, esi
sar ebx, cl
test eax, ebx
je 0x1002667d
mov ecx, dword [ebp - 0x30]
movsx ebx, byte [ecx + esi]
push 0x1f
pop ecx
sub ecx, ebx
xor ebx, ebx
inc ebx
shl ebx, cl
or edi, ebx
inc esi
cmp esi, 4
jl 0x1002665f
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x2c], 4
inc edx
cmp edx, 0x40
mov dword [eax], edi
jl 0x10026638
add dword [ebp - 0x28], 0x40
add dword [ebp - 0x30], 4
cmp dword [ebp - 0x28], 0x200
mov eax, dword [ebp - 0x2c]
jl 0x10026633
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e200a
leave
ret

Function at 0x10026784
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
mov esi, 0x800
push esi
mov dword [0x10154824], ebx
call fcn.100e425d
mov edi, eax
pop ecx
mov dword [0x10154828], edi
test edi, edi
je 0x10026812
call fcn.100265ef
cmp ebx, 1
je 0x10026812
push esi
call fcn.100e425d
pop ecx
mov dword [0x10154820], eax
test eax, eax
jne 0x100267cf
push edi
call fcn.100e4180
pop ecx
or eax, 0xffffffff
jmp 0x10026814
push 0x10148208
push eax
call fcn.1002657b
push esi
call fcn.100e425d
add esp, 0xc
mov dword [0x1015481c], eax
test eax, eax
jne 0x10026805
push dword [0x10154828]
call fcn.100e4180
push dword [0x10154820]
call fcn.100e4180
pop ecx
jmp 0x100267c9
push 0x10148248
push eax
call fcn.1002657b
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x10026a98
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x1014c240]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 4
mov eax, 0x10101ec4
call fcn.100e7c96
xor eax, eax
mov word [ebp], ax
push 0x104
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.dnsapi.dll
lea eax, [ebp + 0x208]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp + 0x208]
push eax
call ebx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x10026b31
push 0
push eax
push 0x10154c64
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10026b2d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [ebp - 0x10], 0
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call esi
push str.iphlpapi.dll
lea eax, [ebp + 0x208]
push eax
call edi
lea eax, [ebp + 0x208]
push eax
call ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.10026a7c
cmp dword [ebp - 0x10], 0
je 0x10026b85
push 0
push dword [ebp - 0x10]
push 0x10154c68
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10026b81
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [ebp - 0x10], 0
lea eax, [ebp]
push eax
lea eax, [ebp + 0x208]
push eax
call esi
push str._secur32.dll
lea eax, [ebp + 0x208]
push eax
call edi
lea eax, [ebp + 0x208]
push eax
call ebx
push eax
lea ecx, [ebp - 0x10]
call fcn.10026a7c
mov edi, dword [ebp - 0x10]
test edi, edi
jne 0x10026bbe
push 2
pop eax
jmp 0x10026c11
push str.InitSecurityInterfaceA
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10026bd7
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x10026bb9
call eax
mov ebx, eax
test ebx, ebx
jne 0x10026bed
push 2
pop esi
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, esi
jmp 0x10026c11
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push 0
push edi
push 0x10152744
call esi
test eax, eax
je 0x10026c05
xor esi, esi
jmp 0x10026be2
push 0
push ebx
push 0x10152748
call esi
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.100e200a
add ebp, 0x414
leave
ret

Function at 0x10026c34
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x1014c240]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10026c91
mov eax, dword [ebp - 0x194]
cmp al, 2
jne 0x10026c8b
shr eax, 8
cmp al, 2
jne 0x10026c8b
push 0
push 1
push 0x10154c60
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10026c87
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x10026c94
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e200a
leave
ret
Function at 0x10027163
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1014c240]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.100e1f90
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x94], 5
jne 0x100271ba
cmp dword [ebp - 0x90], 2
jne 0x100271ba
xor eax, eax
inc eax
jmp 0x100271bc
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100e200a
leave
ret

Function at 0x100271c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x20]
or eax, 0x20019
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002720f
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp + 0x20]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
ret
Function at 0x10027211
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xafc8]
mov eax, 0xb048
call fcn.100e4860
mov eax, dword [0x1014c240]
xor eax, ebp
mov dword [ebp + 0xafc4], eax
push ebx
push esi
push edi
mov edi, 0x103
xor ebx, ebx
push edi
lea eax, [ebp + 0xadbd]
push ebx
push eax
mov byte [ebp + 0xadbc], bl
call fcn.100e1f90
add esp, 0xc
lea esi, [edi + 1]
push esi
lea eax, [ebp + 0xadbc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push edi
lea eax, [ebp + 0xaec1]
push ebx
push eax
mov byte [ebp + 0xaec0], bl
call fcn.100e1f90
lea eax, [ebp + 0xadbc]
push eax
push str._sRasapi32.dll
lea eax, [ebp + 0xaec0]
push esi
push eax
call fcn.100e3c28
add esp, 0x1c
lea eax, [ebp + 0xaec0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
mov dword [ebp - 0x80], edi
cmp edi, ebx
je 0x10027385
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.RasEnumConnectionsA
push edi
call esi
push str.RasGetConnectStatusA
push edi
mov dword [ebp - 0x68], eax
call esi
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x68], ebx
je 0x1002737e
cmp eax, ebx
je 0x1002737e
mov esi, 0xad00
push esi
lea eax, [ebp + 0xbc]
push ebx
push eax
mov dword [ebp - 0x74], ebx
call fcn.100e1f90
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0xbc]
mov edi, 0x2b4
push eax
mov dword [ebp - 0x7c], esi
mov dword [ebp + 0xbc], edi
mov dword [ebp - 0x70], ebx
call dword [ebp - 0x68]
test eax, eax
jne 0x10027370
mov dword [ebp - 0x68], ebx
cmp dword [ebp - 0x70], ebx
jbe 0x10027370
lea eax, [ebp + 0xc0]
mov dword [ebp - 0x6c], eax
mov esi, 0x120
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.100e1f90
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x6c]
push dword [eax]
mov dword [ebp - 0x64], esi
call dword [ebp - 0x78]
test eax, eax
jne 0x10027359
cmp dword [ebp - 0x60], 0x2000
je 0x10027369
inc dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
add dword [ebp - 0x6c], edi
cmp eax, dword [ebp - 0x70]
jb 0x1002732f
jmp 0x10027370
mov dword [ebp - 0x74], 1
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x74]
jmp 0x10027387
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
mov ecx, dword [ebp + 0xafc4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e200a
add ebp, 0xafc8
leave
ret
Function at 0x100273fd
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SoftwarePoliciesMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_bind
mov byte [ebp - 1], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002742c
mov al, 1
jmp 0x10027469
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.ProxySettingsPerUser
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 4
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002745d
cmp dword [ebp - 8], ebx
jne 0x1002745d
mov byte [ebp - 1], bl
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x100274da
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x4b8]
sub esp, 0x538
mov eax, dword [0x1014c240]
xor eax, ebp
mov dword [ebp + 0x4b4], eax
push ebx
push esi
mov esi, dword [ebp + 0x4c8]
push edi
mov edi, dword [ebp + 0x4c0]
xor ebx, ebx
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x7c], esi
cmp byte [0x10148554], bl
je 0x1002763f
cmp byte [0x10154c50], bl
je 0x10027607
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1a8]
push eax
mov esi, 0x104
mov dword [ebp - 0x70], ebx
push ebx
mov edi, reloc.WS2_32.dll_closesocket
jmp 0x100275f0
inc dword [ebp - 0x70]
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
lea eax, [ebp + 0x1a8]
push eax
push 0x10109684
lea eax, [ebp - 0x60]
push esi
push eax
call fcn.100e85e7
push 0x208
lea eax, [ebp + 0x2ac]
push ebx
push eax
call fcn.100e1f90
push dword [ebp + 0x4c4]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x2ac]
push eax
lea eax, [ebp - 0x80]
push eax
push str.ProxyServer
lea eax, [ebp - 0x60]
push eax
push edi
mov dword [ebp - 0x78], 0x206
mov dword [ebp - 0x80], 1
call fcn.100271c8
add esp, 0x3c
test eax, eax
je 0x100275de
lea eax, [ebp + 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x100275de
push dword [ebp - 0x7c]
lea eax, [ebp + 0x2ac]
push esi
push eax
push dword [ebp - 0x74]
call fcn.1002746c
add esp, 0x10
test al, al
jne 0x100276b6
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0x1a8]
push eax
push dword [ebp - 0x70]
push edi
mov dword [ebp - 0x68], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x10027546
jmp 0x100276b6
push 0x208
lea eax, [ebp + 0x2ac]
push ebx
push eax
call fcn.100e1f90
push dword [ebp + 0x4c4]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2ac]
push eax
lea eax, [ebp - 0x64]
push eax
push str.ProxyServer
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push bind
jmp 0x10027675
push 0x208
lea eax, [ebp + 0x2ac]
push ebx
push eax
call fcn.100e1f90
push dword [ebp + 0x4c4]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x2ac]
push eax
lea eax, [ebp - 0x64]
push eax
push str.ProxyServer
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x6c], 0x206
mov dword [ebp - 0x64], 1
call fcn.100271c8
add esp, 0x28
test eax, eax
jne 0x100276b6
lea eax, [ebp + 0x2ac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x100276b6
push esi
push 0x104
lea eax, [ebp + 0x2ac]
push eax
push edi
call fcn.1002746c
add esp, 0x10
mov eax, dword [ebp - 0x74]
push dword [eax + 0x310]
call fcn.100273e1
mov ecx, dword [ebp + 0x4b4]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100e200a
add ebp, 0x4b8
leave
ret
Function at 0x10028bfb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0x101575e0
lea ecx, [ebp - 4]
call fcn.10023a06
xor esi, esi
cmp dword [0x10154c44], esi
jne 0x10028c2b
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x10154c44], eax
cmp eax, esi
je 0x10028c8c
cmp dword [0x10154c48], esi
jne 0x10028c86
lea eax, [ebp - 8]
push eax
push dword [0x10154830]
mov dword [ebp - 8], esi
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
test eax, eax
je 0x10028c8c
push esi
push esi
push esi
push 0x10028be8
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10154c48], eax
cmp eax, esi
jne 0x10028c86
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x10154c44]
mov dword [0x10154c44], esi
cmp eax, esi
je 0x10028c8c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10028c8c
inc dword [0x10154c4c]
cmp dword [ebp - 4], esi
je 0x10028c9a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
leave
ret

Function at 0x10029080
Capabilities:
Check os version

Disassembly:
mov eax, 0xa0
call fcn.100e4860
mov eax, dword [0x1014c240]
xor eax, esp
mov dword [esp + 0x9c], eax
push esi
push 0x9c
xor esi, esi
lea eax, [esp + 8]
push esi
push eax
call fcn.100e1f90
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 8], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 8]
cmp eax, 6
jne 0x100290fb
mov eax, dword [esp + 0xc]
cmp eax, 1
ja 0x100290e0
jne 0x10029102
cmp word [esp + 0x98], 1
jb 0x10029102
mov eax, 1
pop esi
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.100e200a
add esp, 0xa0
ret
mov eax, 1
ja 0x10029104
mov eax, esi
mov ecx, dword [esp + 0xa0]
pop esi
xor ecx, esp
call fcn.100e200a
add esp, 0xa0
ret
Function at 0x100295e0
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.100e4860
mov eax, dword [0x1014c240]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x10029667
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x10029667
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0x100
push edx
call fcn.100e7ef0
add esp, 0x10
test eax, eax
jge 0x1002963d
mov eax, 0x100
push 0
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100e200a
add esp, 0x108
ret
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x114]
push eax
push ecx
lea edx, [esp + 0x10]
push 0xff
push edx
call fcn.100e7ef0
add esp, 0x10
mov byte [esp + 0x107], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x100296f9
call fcn.100294a0
test eax, eax
jle 0x100296f9
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x1002970d
push 0
lea ecx, [esp + 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 1
lea eax, [esp + 0x28]
push esi
mov dword [esp + 0x28], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100e200a
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea edx, [esp + 0x10]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.100e200a
add esp, 0x108
ret

Function at 0x10029760
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x10029788
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
sub esi, eax
mov dl, byte [esi + eax]
mov bl, byte [eax]
xor dl, bl
or cl, dl
inc eax
sub edi, 1
jne 0x10029777
pop esi
pop ebx
movzx eax, cl
pop edi
ret

Function at 0x10029d50
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.100e1f90
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x1002b010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.100e4860
mov eax, dword [0x1014c240]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esp + 0x3c], 0
test esi, esi
jne 0x1002b057
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.100e200a
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.100e95d6
add esp, 8
test eax, eax
jl 0x1002b040
mov eax, 8
call fcn.100e4860
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call fcn.1002ae80
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x1002b040
push 0x10103b70
push esi
call fcn.100e30bd
mov edi, eax
add esp, 8
mov dword [esp + 0x40], edi
test edi, edi
je 0x1002b151
test dword [esp + 0x4e], 0x2000
je 0x1002b0d4
cmp ebx, 0xffffffff
jne 0x1002b0be
mov ebx, 0x800
push 0
push 4
push 0
push edi
call fcn.100e94d8
add esp, 0x10
jmp 0x1002b0d4
mov edi, dword [esp + 0x40]
test ebx, ebx
jle 0x1002b0e2
cmp ebx, 0x400
mov esi, ebx
jl 0x1002b0e7
mov esi, 0x400
push edi
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.100e4b2b
mov edi, eax
add esp, 0x10
mov dword [esp + 0x44], edi
test edi, edi
jle 0x1002b135
fild dword [esp + 0x44]
mov eax, 8
call fcn.100e4860
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call fcn.1002ae80
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x1002b0d0
sub ebx, esi
test ebx, ebx
jg 0x1002b0d0
mov ecx, dword [esp + 0x40]
push ecx
call fcn.100e2f7d
lea edx, [esp + 0x7c]
push 0x400
push edx
call fcn.100373a0
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100e200a
mov esp, ebp
pop ebp
ret
Function at 0x10035400
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
dec ecx
push edi
mov edi, dword [esi + 4]
shr ecx, 0x1f
xor edx, edi
dec ecx
and edx, ecx
xor edi, edx
mov dword [esi + 4], edi
xor dword [eax + 4], edx
lea edx, [ebx - 1]
cmp edx, 9
ja case.default.0x10035432
jmp dword [edx*4 + 0x1003555c]
mov edi, 0xa
cmp ebx, edi
jle case.0x10035432.10
push ebp
mov edx, dword [esi]
mov ebx, dword [edx + edi*4]
lea ebp, [edx + edi*4]
mov edx, dword [eax]
mov edx, dword [edx + edi*4]
xor edx, ebx
and edx, ecx
xor ebx, edx
mov dword [ebp], ebx
mov ebx, dword [eax]
xor dword [ebx + edi*4], edx
lea ebx, [ebx + edi*4]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x10035443
pop ebp
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x24]
mov edx, dword [edx + 0x24]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x24], edi
mov edi, dword [eax]
xor dword [edi + 0x24], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x20]
mov edx, dword [edx + 0x20]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x20], edi
mov edi, dword [eax]
xor dword [edi + 0x20], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1c]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x1c], edi
mov edi, dword [eax]
xor dword [edi + 0x1c], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x18]
mov edx, dword [edx + 0x18]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x18], edi
mov edi, dword [eax]
xor dword [edi + 0x18], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x14]
mov edx, dword [edx + 0x14]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x14], edi
mov edi, dword [eax]
xor dword [edi + 0x14], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x10]
mov edx, dword [edx + 0x10]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x10], edi
mov edi, dword [eax]
xor dword [edi + 0x10], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0xc]
mov edx, dword [edx + 0xc]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0xc], edi
mov edi, dword [eax]
xor dword [edi + 0xc], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 8]
mov edx, dword [edx + 8]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 8], edi
mov edi, dword [eax]
xor dword [edi + 8], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 4]
mov edx, dword [edx + 4]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 4], edi
mov edi, dword [eax]
xor dword [edi + 4], edx
mov esi, dword [esi]
mov edx, dword [eax]
mov edi, dword [esi]
mov edx, dword [edx]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [esi], edi
mov eax, dword [eax]
xor dword [eax], edx
pop edi
pop esi
pop ebx
ret