joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d9e3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
call fcn.0040d78d
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xb4]
mov dword [esp], eax
call fcn.0040d61e
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0x20]
and eax, 0x30
test al, al
jne 0x40da3e
mov eax, dword [ebp - 0x14]
add eax, 0x70
mov dword [esp + 4], 1
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll_longjmp]
call eax
mov eax, dword [0x416134]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40db68
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x40dad0
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40da8d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0040c4f0
mov dword [ebp - 0x10], 0
mov eax, dword [0x416134]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
jmp 0x40db68
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x68], 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x40db00
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x24]
and eax, 4
test eax, eax
je 0x40db68
mov eax, dword [ebp - 0x10]
mov dword [eax], 0xdeadbeef
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0040c4f0
mov dword [ebp - 0x10], 0
mov eax, dword [0x416134]
mov edx, dword [ebp - 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__endthreadex]
call eax
Function at 0x10001130
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x19c
mov eax, dword [0x1000f040]
xor eax, esp
mov dword [esp + 0x198], eax
push edi
lea eax, [esp + 8]
push eax
push 0x101
xor edi, edi
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10001176
xor eax, eax
pop edi
mov ecx, dword [esp + 0x198]
xor ecx, esp
call fcn.10002763
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x1000118f
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebx], eax
mov edi, 1
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x19c]
mov eax, edi
pop edi
xor ecx, esp
call fcn.10002763
mov esp, ebp
pop ebp
ret

Function at 0x100013c0
Capabilities:
Encode data using xor

Disassembly:
push ecx
test edx, edx
je 0x100013fc
xor ecx, ecx
test esi, esi
jbe 0x100013f2
jmp 0x100013d0
movzx eax, byte [ecx + edx]
xor al, 1
mov byte [esp + 3], al
mov al, byte [esp + 3]
ror al, 3
mov byte [esp + 3], al
movzx eax, byte [esp + 3]
mov byte [ecx + edx], al
inc ecx
cmp ecx, esi
jb 0x100013d0
mov byte [edx + esi - 1], 0
mov byte [edx + esi - 2], 0
pop ecx
ret
Function at 0x10001400
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x114
mov eax, dword [0x1000f040]
xor eax, esp
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x118]
push esi
push edi
push 0x104
mov edi, edx
lea edx, [esp + 0x18]
push 0
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call fcn.10007330
add esp, 0xc
push 0xf0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0x14]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001450
mov ecx, dword [str.hyxqconf.dat]
mov edx, dword [0x1000dc18]
mov dword [eax], ecx
mov ecx, dword [0x1000dc1c]
mov dword [eax + 4], edx
mov dx, word [0x1000dc20]
mov dword [eax + 8], ecx
mov word [eax + 0xc], dx
lea eax, [esp + 0x14]
push 0
push eax
call fcn.10002da8
add esp, 8
cmp eax, 0xffffffff
jne 0x100014b7
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi], 0
jne 0x10001518
push 0x1388
call esi
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.10002da8
add esp, 8
cmp eax, 0xffffffff
je 0x10001497
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10001518
push ebx
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea esi, [eax + 1]
push esi
call fcn.10002e2a
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x10001531
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.10002763
add esp, 0x114
ret
pop edi
xor al, al
pop esi
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.10002763
add esp, 0x114
ret
push ebp
push esi
push 0
push ebx
call fcn.10007330
add esp, 0xc
push 0
lea eax, [esp + 0x1c]
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x1000160e
mov edx, ebx
call fcn.100013c0
push str._IERedirect_NDIS__r_n
push ebx
call fcn.10002e90
mov esi, eax
add esp, 8
test esi, esi
je 0x10001605
add esi, 0x13
push 0x5b
push esi
call fcn.10002960
add esp, 8
test eax, eax
je 0x10001593
mov byte [eax], 0
push str.IERedirect_NDIS_USE
push esi
call fcn.10002e90
add esp, 8
test eax, eax
je 0x10001605
add eax, 0x14
cmp byte [eax], 0x31
jne 0x10001605
push str.IERedirect_NDIS_Target
push eax
call fcn.10002e90
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x10001605
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100015c4
sub eax, edx
lea esi, [eax + 1]
push esi
call fcn.10002e2a
mov ecx, dword [esp + 0x18]
mov edi, eax
add esp, 4
mov dword [ecx], edi
test edi, edi
je 0x10001605
push esi
push ebp
push edi
call fcn.10007bd0
push ebx
mov byte [esi + edi - 1], 0
call fcn.10002f16
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [edx], esi
mov al, 1
jmp 0x10001610
push ebx
call fcn.10002f16
add esp, 4
xor al, al
mov ecx, dword [esp + 0x120]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.10002763
add esp, 0x114
ret
Function at 0x10001f90
Capabilities:
Get common file path

Disassembly:
push 0x104
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0
call fcn.10002fd2
push eax
call fcn.10002f9e
mov eax, edi
add esp, 8
dec eax
nop
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x10001fb0
mov ecx, dword [str.drivers__B]
mov dword [eax], ecx
mov edx, dword [0x1000dcf8]
mov dword [eax + 4], edx
mov ecx, dword [0x1000dcfc]
mov dword [eax + 8], ecx
mov dl, byte [0x1000dd00]
mov byte [eax + 0xc], dl
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10001fe0
push ebx
sub eax, edx
push esi
mov esi, eax
mov ebx, 5
call fcn.10002fb0
cdq
mov ecx, 0x3e
idiv ecx
lea eax, [esi + edi]
movsx edx, byte [edx + str.0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ]
push edx
push 0x1000dd04
push eax
call fcn.10002f21
add esp, 0xc
add esi, eax
sub ebx, 1
jne 0x10001ff2
push str._.sys
push 0x1000dd10
add esi, edi
push esi
call fcn.10002f21
add esp, 0xc
pop esi
mov eax, edi
pop ebx
ret

Function at 0x10002040
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push edi
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x10002059
pop edi
pop ebp
pop ecx
ret
mov eax, dword [esp + 0x14]
push esi
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
jne 0x10002082
pop esi
pop edi
pop ebp
pop ecx
ret
push 0
lea ecx, [esp + 0x10]
push ecx
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
pop edi
mov eax, 1
pop ebp
pop ecx
ret

Function at 0x10002130
Capabilities:
Check os version
Create thread

Disassembly:
sub esp, 0x9c
mov eax, dword [0x1000f040]
xor eax, esp
mov dword [esp + 0x98], eax
push 0x90
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0x94
call fcn.10007330
add esp, 0xc
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x1000219f
cmp dword [esp + 8], 5
jne 0x1000219f
cmp dword [esp + 0xc], 1
jne 0x1000219f
lea edx, [esp]
push edx
push 0
push 0x10010bb8
push 0x100021c0
push 0x80
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x10010bc0], eax
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.10002763
add esp, 0x9c
ret
Function at 0x100022b0
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x104
call fcn.10002e2a
mov edi, dword [esp + 0x28]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
add esp, 4
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
push 0
push edi
mov dword [esp + 0x30], 0x104
call ebx
test eax, eax
jne 0x10002356
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x10002300
lea edx, [esp + 0x14]
push edx
push 0xf003f
push 0
push esi
push edi
call ebp
test eax, eax
jne 0x10002334
mov eax, dword [esp + 0x14]
push eax
call fcn.100022b0
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
push esi
push 0
push edi
mov dword [esp + 0x30], 0x104
call ebx
test eax, eax
je 0x10002300
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push esi
push 0
push edi
mov dword [esp + 0x30], 0x104
call ebx
test eax, eax
jne 0x100023a4
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
push edi
call ebp
push 0
push 0
push 0
push 0
lea edx, [esp + 0x20]
push edx
push esi
push 0
push edi
mov dword [esp + 0x30], 0x104
call ebx
test eax, eax
je 0x10002381
push esi
call fcn.10002f16
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x100023c0
Capabilities:
Delete file
Delete registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x220
mov eax, dword [0x1000f040]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [ebp + 8]
push esi
push edi
push eax
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push esi
xor eax, eax
lea ecx, [esp + 0x1c]
push 0x1000dd18
push ecx
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
call edi
add esp, 0xc
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
call sub.ntdll.dll_RtlInitUnicodeString
push esi
lea ecx, [esp + 0x1c]
push str.SYSTEMCurrentControlSetServices_s
push ecx
call edi
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push 0xf003f
push 0
lea eax, [esp + 0x24]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10002492
mov ecx, dword [esp + 0xc]
push ecx
call fcn.100022b0
add esp, 4
lea edx, [esp + 0x18]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0xc]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.10002763
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x224]
mov eax, dword [esp + 0xc]
pop edi
pop esi
xor ecx, esp
call fcn.10002763
mov esp, ebp
pop ebp
ret
Function at 0x10002510
Capabilities:
Install driver
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x224
mov eax, dword [0x1000f040]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
call fcn.100026f0
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
push esi
lea eax, [esp + 0x1c]
push str.SYSTEMCurrentControlSetServices_s
push eax
call ebx
add esp, 0xc
push 0
lea ecx, [esp + 0xc]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [esp + 0x34]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [esp + 8]
push 4
lea eax, [esp + 0x10]
push eax
push 4
push 0
push str.Type
push ecx
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor eax, eax
push eax
push eax
mov dword [esp + 0x1a], eax
mov word [esp + 0x1e], ax
lea eax, [esp + 0x18]
push eax
xor edx, edx
push edi
mov word [esp + 0x20], dx
call sub.ntdll.dll_RtlDosPathNameToNtPathName_U
movzx ecx, word [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push ecx
push edx
push 2
push 0
push str.ImagePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [esp + 8]
push 4
lea ecx, [esp + 0x10]
push ecx
push 4
push 0
push str.Start
push edx
mov dword [esp + 0x24], 3
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
lea eax, [esp + 0x1c]
push 0x1000dd18
push eax
call ebx
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x14]
push edx
call sub.ntdll.dll_RtlInitUnicodeString
lea eax, [esp + 0x10]
push eax
call sub.ntdll.dll_NtLoadDriver
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.10002763
mov esp, ebp
pop ebp
ret

Function at 0x10002763
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000f040]
jne 0x1000276d
repz ret
jmp fcn.100032cb

Function at 0x10002d1f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10002d50
call fcn.10004713
mov dword [eax], esi
call fcn.10004700
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10004698
add esp, 0x14
push 0x16
pop eax
jmp 0x10002da5
test dword [ebp + 0xc], 0xfffffff9
jne 0x10002d2c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10002d7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10004726
pop ecx
call fcn.10004700
mov eax, dword [eax]
jmp 0x10002da5
test al, 0x10
jne 0x10002da3
test al, 1
je 0x10002da3
test byte [ebp + 0xc], 2
je 0x10002da3
call fcn.10004713
mov dword [eax], 5
call fcn.10004700
mov dword [eax], 0xd
jmp 0x10002d74
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1000b315
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.10003e4b
and dword [ebp - 4], 0
cmp dword [0x10010b68], 0
mov ebx, eax
jne 0x1000b3c6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000b477
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000b477
push eax
call fcn.10003dd9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10010b68], eax
call esi
push eax
call fcn.10003dd9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10010b6c], eax
call esi
push eax
call fcn.10003dd9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10010b70], eax
call esi
push eax
call fcn.10003dd9
pop ecx
mov dword [0x10010b78], eax
test eax, eax
je 0x1000b3c6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10003dd9
pop ecx
mov dword [0x10010b74], eax
mov eax, dword [0x10010b74]
cmp eax, ebx
je 0x1000b41e
cmp dword [0x10010b78], ebx
je 0x1000b41e
push eax
call fcn.10003e54
push dword [0x10010b78]
mov esi, eax
call fcn.10003e54
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000b41e
test edi, edi
je 0x1000b41e
call esi
test eax, eax
je 0x1000b415
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000b415
test byte [ebp - 0xc], 1
jne 0x1000b41e
or dword [ebp + 0x10], 0x200000
jmp 0x1000b457
mov eax, dword [0x10010b6c]
cmp eax, ebx
je 0x1000b457
push eax
call fcn.10003e54
pop ecx
test eax, eax
je 0x1000b457
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000b457
mov eax, dword [0x10010b70]
cmp eax, ebx
je 0x1000b457
push eax
call fcn.10003e54
pop ecx
test eax, eax
je 0x1000b457
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10010b68]
call fcn.10003e54
pop ecx
test eax, eax
je 0x1000b477
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000b479
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4065c9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42d2c4], 0
jne 0x406604
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4065dd
mov dword [ecx*4 + 0x42d2c0], eax
inc ecx
cmp ecx, 0x100
jl 0x4065d8
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406631
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x42d2c0]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406612
not eax
pop ebp
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5a7d4d2c
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x28450fe7
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x1cc20f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
bt di, sp
clc
stc
not al
cmc
clc
jmp 0x1f62113
cmp al, byte [edi]
cwde
setb ah
movzx ax, cl
movzx ax, dl
lea edi, [edi + 1]
not al
pop eax
mov eax, dword [esp + 0x50]
mov byte [esp + 4], 1
jmp 0x1f78550
Function at 0x4061e0
Capabilities:
Terminate thread
Write file on windows

Disassembly:
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov eax, dword [0x445b0c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x406260
push esi
push edi
push edi
push 3
push edi
push edi
push 0x40000000
push edi
push 0x445a04
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], 0x1f40
mov dword [esp + 0x3c], edi
call fcn.00406450
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40624d
lea eax, [esp + 0xc]
push edi
push eax
lea ecx, [esp + 0x18]
push 0x10
push ecx
push esi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
push 0x3e8
mov edx, dword [0x445b0c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
pop esi
mov eax, dword [0x445b08]
cmp eax, edi
je 0x406281
mov eax, dword [0x445b08]
cmp eax, 0xffffffff
je 0x406281
mov eax, dword [0x445b08]
push eax
call ebx
mov dword [0x445b08], edi
mov eax, dword [0x445b0c]
cmp eax, edi
je 0x4062a9
mov eax, dword [0x445b0c]
cmp eax, 0xffffffff
je 0x4062a9
push 0xffffffffffffffff
mov ecx, dword [0x445b0c]
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [0x445b0c], edi
call fcn.004063b0
mov dword [0x445b14], edi
pop edi
pop ebx
add esp, 0x14
ret

Function at 0xb01224
Capabilities:
Encode data using xor

Disassembly:
xor al, al
mov al, byte [edi]
xor al, bl
mov byte [edi], al
inc edi
cmp edi, ecx
jne fcn.00b01224
ret