joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1013e050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101e42fc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], ebx
cmp dword [ebx], 0
jne 0x1013e087
call fcn.10137740
push str.file_handler_not_initialized
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
jmp 0x1013e132
push esi
lea ecx, [ebx + 8]
call fcn.1013be80
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1013e0f0
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 8]
push 0
push eax
push esi
push edi
push dword [ebx]
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
cmp dword [ebp - 8], esi
jb 0x1013e0cb
test edi, edi
jne 0x1013e124
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x24], 1
call esi
mov dword [ebx + 0x28], eax
call fcn.10137740
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
push str.failed_to_write_data._Error_code____d
jmp 0x1013e113
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x24], 1
call esi
mov dword [ebx + 0x28], eax
call fcn.10137740
mov edi, eax
mov ebx, dword [edi]
call esi
push eax
push str.file_pointer_set_error____d
push 0x101a4aec
push edi
call dword [ebx + 0x24]
mov ebx, dword [ebp - 0xc]
add esp, 0x10
xor edi, edi
lea ecx, [ebx + 8]
call fcn.1013bea0
pop esi
cmp edi, 1
je 0x1013e155
push 0x41
push str.Failed_to_write_the_segment_in_the_file_which_is_to_be_downloaded
lea ecx, [ebx + 0x30]
call fcn.10001c20
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.1014d1d5
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10143a30
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182000
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x101e42fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
mov dword [esi], vtable.WorkerThread.0
test eax, eax
je 0x10143aa4
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, eax
test edi, edi
je 0x10143a94
call fcn.10137740
push edi
push dword [esi + 0x38]
mov ecx, dword [eax]
push str.Forcing_the_thread___d__to_terminate_forcibly._Thread_seem_to_get_hanged._Error____d
push eax
call dword [ecx + 0x14]
add esp, 0x10
push 0
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24], 0
lea ecx, [esi + 8]
call fcn.1013be90
lea ecx, [esi + 8]
call fcn.1004bb30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10001000
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x10024440]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 1
jne 0x100010e5
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1000e300
add esp, 0xc
mov dword [ebp - 0x10], 0x37323031
lea eax, [ebp - 0x110]
mov dword [ebp - 0xc], 0x37333636
mov word [ebp - 8], 0x3036
mov byte [ebp - 6], 0
push 0x100
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x120], 0xe7b8e8c1
push eax
mov dword [ebp - 0x11c], 0xb3e0b145
mov dword [ebp - 0x118], 0xbfa3c4cc
mov word [ebp - 0x114], 0xe9
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea ecx, [ebp - 0x120]
lea eax, [ebp - 0x110]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100010c9
test dl, dl
je 0x100010b0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100010c9
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001094
xor ecx, ecx
xor eax, eax
test ecx, ecx
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c6dc
mov esp, ebp
pop ebp
ret 0xc
sbb ecx, ecx
xor eax, eax
or ecx, 1
test ecx, ecx
sete al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c6dc
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.1000c6dc
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10007040
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
call fcn.100092a0
xor eax, fcn.10007040
xor eax, dword [ebp + 8]
mov edx, eax
shr edx, 0x11
xor edx, eax
and edx, 0xf
add edx, 1
je 0x10007091
push esi
mov esi, 0x11
test eax, eax
cmove eax, esi
mov ecx, eax
shr ecx, 0x10
xor ecx, eax
imul ecx, ecx, 0x7feb352d
mov eax, ecx
shr eax, 0xf
xor eax, ecx
imul ecx, eax, 0x846ca68b
mov eax, ecx
shr eax, 0x10
xor eax, ecx
sub edx, 1
jne 0x10007065
pop esi
pop ebp
ret
Function at 0x10007540
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push 0x78
push 0
lea eax, [esi + 0x10]
push eax
call fcn.1000e300
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov dword [esi], 0x61707865
mov dword [esi + 4], 0x3320646e
mov dword [esi + 8], 0x79622d32
mov dword [esi + 0xc], 0x6b206574
movzx ecx, byte [edx + 3]
shl ecx, 8
movzx eax, byte [edx + 2]
or ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx ecx, byte [edx + 7]
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0xb]
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx ecx, byte [edx + 0xf]
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xc]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x10]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x20], ecx
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x14]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x24], ecx
movzx ecx, byte [edx + 0x1b]
shl ecx, 8
movzx eax, byte [edx + 0x1a]
or ecx, eax
movzx eax, byte [edx + 0x19]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x18]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x28], ecx
movzx ecx, byte [edx + 0x1f]
movzx eax, byte [edx + 0x1e]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1d]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x1c]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], eax
pop esi
pop ebp
ret
Function at 0x10009450
Capabilities:
Get system information on windows
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x24]
push eax
mov word [esi + 0xc], 0x100
mov byte [esi + 0xe], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x10009477
mov dword [esi], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x10009481
mov dword [esi + 8], eax
push ebx
push edi
push str.kernelbase.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x100094bf
push str.VirtualAlloc2FromApp
push ebx
call edi
mov dword [0x1002e348], eax
test eax, eax
jne 0x100094b8
push str.VirtualAlloc2
push ebx
call edi
mov dword [0x1002e348], eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x100094e4
push str.NtAllocateVirtualMemoryEx
push ebx
call edi
push ebx
mov dword [0x1002e34c], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x1001ae30
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x10009530
push str.GetCurrentProcessorNumberEx
push ebx
call edi
push str.GetNumaProcessorNodeEx
push ebx
mov dword [0x1002e350], eax
call edi
push str.GetNumaNodeProcessorMaskEx
push ebx
mov dword [0x1002e354], eax
call edi
push str.GetNumaProcessorNode
push ebx
mov dword [0x1002e358], eax
call edi
push ebx
mov dword [0x1002e35c], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 6
call fcn.100032a0
add esp, 4
pop edi
pop ebx
test al, al
jne 0x1000954e
push 7
call fcn.100032a0
add esp, 4
test al, al
je 0x1000955a
lea eax, [esi + 4]
push eax
call fcn.10009970
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10009650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call fcn.10006b40
test al, al
jne 0x1000970a
cmp dword [0x100243a0], 0xffffffff
jne 0x1000969b
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [0x100243a0], eax
cmp eax, 0xffffffff
je 0x10009694
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
mov byte [0x1002e378], 1
test eax, eax
jne 0x1000969b
mov byte [0x1002e378], 0
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.10006380
add esp, 4
lea ecx, [eax - 1]
cmp ecx, 0xfffffffd
ja 0x10009709
cmp byte [0x1002e378], 0
mov dword [ebp - 4], 0
je 0x100096d9
push 0
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push dword [0x100243a0]
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x100243a0]
cmp ecx, 0xffffffff
je 0x100096f8
push 0
lea edx, [ebp - 4]
push edx
push eax
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov esp, ebp
pop ebp
ret
push 2
call fcn.100104bd
push eax
push esi
call fcn.10010700
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10010e70
Capabilities:
Parse pe header

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

Function at 0x10012dc8
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e0d8
push 0x1001e0d0
push 0x1001cbbc
push 0x1f
call fcn.10012ce4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012dfc
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001a164]
call esi
jmp 0x10012e02
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10012e46
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e0e8
push 0x1001e0e0
push str.FlsGetValue
push 0x21
call fcn.10012ce4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012e7d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1001a164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10012e85
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1001e0f0
push 0x1001e0e8
push 0x1001cbf4
push 0x22
call fcn.10012ce4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10012ebf
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1001a164]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10015358
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100153f5
push ebx
push esi
call fcn.10015321
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100152b5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100153a2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100153f4
push edi
push eax
call fcn.1001578e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100153c2
call fcn.10012b91
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100153f3
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100152b5
add esp, 0x20
test eax, eax
jne 0x100153e1
push edi
call fcn.10012b91
jmp 0x100153e9
push ebx
call fcn.10012b91
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10019840
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001986d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001986d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x404f00
Capabilities:
Read .ini file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4442f9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x514
push ebx
push ebp
push esi
push edi
mov ebp, ecx
or esi, 0xffffffff
mov dword [esp + 0x14], ebp
mov dword [ebp + 4], esi
xor ebx, ebx
mov dword [ebp], 0x447520
mov dword [esp + 0x52c], ebx
mov dword [ebp + 0x20], esi
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
lea ecx, [ebp + 0x28]
mov byte [esp + 0x544], 1
call fcn.0043f078
mov dword [ebp + 0x60], esi
push ebx
push ebx
push 1
push ebx
mov byte [ebp + 0x40], bl
mov byte [ebp + 0x41], bl
mov byte [ebp + 0x25], bl
mov dword [ebp + 0x3c], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x58], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x1c], ebx
mov byte [ebp + 0x866], bl
mov dword [ebp + 0xc], ebx
mov byte [ebp + 0x864], bl
mov byte [ebp + 0x865], bl
mov byte [ebp + 0x24], bl
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp + 0x20], eax
push str..CONFIG.ini
mov byte [ebp + 0x874], bl
mov ecx, 7
mov esi, str.1234.developgames.es
mov edi, 0x45b9c0
rep movsd dword es:[edi], dword [esi]
xor eax, eax
push 0x104
mov ecx, 0x41
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x20]
push eax
push 0x447078
push str.TEST_IP
push str.LOGIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x4050db
mov edi, str.GERMANY
lea esi, [esp + 0x18]
mov ecx, 8
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x405035
mov edi, str.FRANCE
lea esi, [esp + 0x18]
mov ecx, 7
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x405035
mov edi, str.POLAND
lea esi, [esp + 0x18]
mov ecx, 7
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4050db
push 0x44741c
push str.UpdaterURL.txt
call fcn.00420efc
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x405065
push ebx
push str.Error
push str.Cant_Find_UpdaterURL.txt
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.00420ceb
xor eax, eax
mov ecx, 0x80
lea edi, [esp + 0x120]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x120]
push eax
push 0x4470bc
push esi
call fcn.00420f0f
lea eax, [esp + 0x12c]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x405095
sub eax, edx
cmp eax, 1
jae 0x4050bb
push ebx
push str.Error
push str.Cant_Read_UpdaterURL.txt
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.00420ceb
xor eax, eax
lea ecx, [ecx]
mov cl, byte [esp + eax + 0x120]
mov byte [eax + 0x45b9c0], cl
inc eax
cmp cl, bl
jne 0x4050c0
push esi
call fcn.00420e4f
add esp, 4
mov ecx, dword [esp + 0x524]
pop edi
mov eax, ebp
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x441a4c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x441a7a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x441a98
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004419b6
jmp 0x441a98
mov eax, dword [esi + 0x14]
test eax, eax
je 0x441a98
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.004419b6
test edi, edi
mov eax, edi
jne 0x441a82
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x460778]
test ecx, ecx
je 0x441b4b
jmp 0x441a4b
ret 8

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

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402cf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4495f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4537b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00402bb0
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], ebx
call fcn.00417dc0
lea ecx, [esi + 0x1e58]
mov byte [esp + 0x18], 1
call fcn.0042c2f0
mov eax, dword [esp + 0x20]
mov dword [esi + 0x28], eax
mov byte [esi + 0x1e54], bl
mov byte [esi + 0x1e55], bl
mov dword [esi + 0x1e40], ebx
mov dword [esi + 0x1e48], ebx
mov dword [esi + 0x1e4c], ebx
mov dword [esi + 0x1e50], ebx
mov dword [esi + 0x1eb4], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40f510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x449e58
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4537b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esi + 0x1e5c]
mov dword [esp + 0x14], 0
test eax, eax
je 0x40f553
push eax
call fcn.0043e0bd
add esp, 4
lea ecx, [esi + 0x30]
call fcn.00417c50
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004025f0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4128e0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x459314], 0
jne 0x4128ee
call fcn.00412850
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x41291d
test dl, 7
je 0x41291d
movzx ecx, byte [edx]
movzx edi, al
xor ecx, edi
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
dec esi
inc edx
test esi, esi
ja 0x412900
cmp esi, 8
jb 0x4129ac
mov edi, esi
shr edi, 3
jmp 0x412930
xor eax, dword [edx]
add edx, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
sub esi, 8
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
mov ecx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x459310]
xor eax, dword [edx - 4]
shr ecx, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x459310]
sub edi, 1
jne 0x412930
xor ecx, ecx
test esi, esi
jbe 0x4129cc
push ebx
movzx edi, byte [ecx + edx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x459310]
inc ecx
cmp ecx, esi
jb 0x4129b3
pop ebx
pop edi
pop esi
ret 0xc

Function at 0x412a60
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x412a70
movzx esi, byte [eax - 1]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x204], esi
movzx esi, byte [eax]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x208], esi
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x20c], esi
movzx esi, byte [eax + 2]
mov esi, dword [esi*4 + 0x459310]
xor dword [ecx + 0x210], esi
add eax, 4
sub edx, 1
jne 0x412a70
pop esi
ret 4
Function at 0x412ac0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
mov esi, ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x412ad0
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.004128e0
mov word [esi + 0x214], ax
shr eax, 0x10
xor ecx, ecx
mov word [esi + 0x216], ax
xor eax, eax
mov word [esi + 0x21a], ax
mov word [esi + 0x218], cx
mov byte [esi + 0x21e], cl
mov byte [esi + 0x21d], cl
mov byte [esi + 0x21c], cl
mov al, byte [edi]
test al, al
je 0x412b76
lea ecx, [ecx]
add byte [esi + 0x21c], al
xor byte [esi + 0x21d], al
mov dl, byte [esi + 0x21e]
add dl, al
rol dl, 1
movzx ecx, al
mov byte [esi + 0x21e], dl
mov dx, word [ecx*4 + 0x459310]
xor dx, word [esi + 0x218]
movzx ax, al
xor dx, ax
mov word [esi + 0x218], dx
mov cx, word [ecx*4 + 0x459312]
add cx, ax
add word [esi + 0x21a], cx
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x412b20
pop edi
pop esi
ret 4

Function at 0x412c60
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x412d1a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x412c80
mov ecx, 0x1234
add word [eax + 0x214], cx
movzx ecx, word [eax + 0x214]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x459310]
xor word [eax + 0x216], dx
mov bx, word [eax + 0x21a]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [edx*4 + 0x459312]
sub word [eax + 0x218], dx
movzx edx, word [eax + 0x218]
xor edx, ecx
mov word [eax + 0x214], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0x216]
ror bx, cl
movzx ecx, bx
xor word [eax + 0x214], cx
mov word [eax + 0x21a], cx
movzx ecx, word [eax + 0x214]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x412c80
pop esi
pop ebx
pop edi
ret 8
Function at 0x413d80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edi
mov edi, dword [esp + 0x18]
mov eax, dword [edi]
cmp eax, edx
jbe 0x413de8
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp edx, ecx
jb 0x413dc4
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
lea ebx, [ebx]
mov ebp, dword [edx + eax]
xor ebp, dword [eax]
inc ecx
mov dword [ebx + eax], ebp
add eax, 4
cmp ecx, dword [esi]
jbe 0x413db0
mov ebx, dword [esp + 0x14]
mov eax, dword [edi]
sub eax, dword [esi]
lea edx, [edi + ecx*4]
add eax, eax
add eax, eax
push eax
push edx
lea eax, [ebx + ecx*4]
push eax
call fcn.0043e510
mov ecx, dword [edi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], ecx
pop ebx
ret 0xc
jae 0x413e38
mov ebx, dword [esp + 0x14]
mov ecx, 1
cmp eax, ecx
jb 0x413e14
mov edx, edi
sub edx, esi
lea eax, [esi + 4]
sub ebx, esi
mov ebp, dword [eax + edx]
xor ebp, dword [eax]
inc ecx
mov dword [eax + ebx], ebp
add eax, 4
cmp ecx, dword [edi]
jbe 0x413e00
mov ebx, dword [esp + 0x14]
mov edx, dword [esi]
sub edx, dword [edi]
lea eax, [esi + ecx*4]
add edx, edx
add edx, edx
push edx
push eax
lea ecx, [ebx + ecx*4]
push ecx
call fcn.0043e510
mov edx, dword [esi]
add esp, 0xc
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret 0xc
test eax, eax
jbe 0x413e52
mov edx, edi
lea ecx, [esi + eax*4]
sub edx, esi
mov ebx, dword [ecx + edx]
xor ebx, dword [ecx]
jne 0x413e52
dec eax
sub ecx, 4
test eax, eax
ja 0x413e43
mov edx, dword [esp + 0x14]
mov dword [edx], eax
test eax, eax
jbe 0x413e73
sub edi, esi
lea ecx, [esi + eax*4]
sub edx, esi
mov esi, dword [ecx + edi]
xor esi, dword [ecx]
dec eax
mov dword [ecx + edx], esi
sub ecx, 4
test eax, eax
ja 0x413e63
pop edi
pop esi
pop ebp
pop ebx
ret 0xc