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

Disassembly:
push edi
push esi
push ebx
sub esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x41c8f0
mov edi, dword [esp + 0x28]
test edi, edi
je 0x41c9a0
add esp, 0x10
mov eax, 1
pop ebx
pop esi
pop edi
ret 0xc
cmp eax, 1
je 0x41c9d0
cmp eax, 3
jne 0x41c8da
mov eax, dword [0x4fce54]
test eax, eax
je 0x41cae0
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x41c8da
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41c8da
test byte [eax + 0x20], 0x30
je 0x41ca00
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41c93d
call fcn.0041c6b0
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x41c96f
mov dword [esp], eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebx + 0x18]
sub esp, 4
test eax, eax
je 0x41c961
mov dword [esp], eax
call esi
sub esp, 4
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x14], 0
lea eax, [ebx + 0x1c]
mov dword [esp], eax
call fcn.0041adb0
lea eax, [ebx + 0x38]
call fcn.0041c090
mov esi, dword [ebx + 0xb0]
test esi, esi
jne 0x41ca88
mov eax, ebx
call fcn.0041bc10
jmp 0x41ca88
mov eax, dword [0x4fce6c]
test eax, eax
je 0x41c8da
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_RemoveVectoredExceptionHandler]
mov dword [0x4fce6c], 0
sub esp, 4
jmp 0x41c8da
mov dword [esp + 4], 0x41b010
mov dword [esp], 1
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
sub esp, 8
mov dword [0x4fce6c], eax
mov eax, 1
add esp, 0x10
pop ebx
pop esi
pop edi
ret 0xc
mov edx, dword [ebx + 0x68]
mov eax, dword [eax + 0x18]
test edx, edx
jne 0x41cab0
test eax, eax
je 0x41ca1e
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov eax, dword [ebx + 0xb4]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x68], 1
test eax, eax
je 0x41ca3b
call fcn.0041c6b0
lea edi, [ebx + 0x1c]
lea esi, [ebx + 0x38]
test byte [ebx + 0x24], 4
je 0x41cb10
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41ca64
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebx + 0x14], 0
mov dword [esp], edi
call fcn.0041adb0
mov eax, esi
call fcn.0041c090
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
je 0x41c990
mov eax, dword [0x4fce54]
test eax, eax
je 0x41cb24
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
sub esp, 8
jmp 0x41c8da
test eax, eax
je 0x41cac0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
lea eax, [ebx + 0x1c]
mov dword [ebx + 0x18], 0
mov dword [esp], eax
call fcn.0041adb0
lea eax, [ebx + 0x38]
call fcn.0041c090
jmp 0x41c8da
mov dword [esp + 8], 0x41afe0
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call fcn.0041f8c0
mov dword [0x4fce54], eax
jmp 0x41c90b
mov dword [esp], edi
call fcn.0041adb0
mov eax, esi
call fcn.0041c090
jmp 0x41c8da
mov dword [esp + 8], 0x41afe0
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call fcn.0041f8c0
mov dword [0x4fce54], eax
jmp 0x41ca95
Function at 0x41dda0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov esi, dword [esp + 0x20]
call fcn.0041c140
mov dword [eax + 4], esi
mov ebx, eax
mov eax, dword [eax + 0xb4]
test eax, eax
je 0x41ddc2
call fcn.0041c6b0
test byte [ebx + 0x20], 0x30
je 0x41de24
mov eax, dword [0x4fce54]
test eax, eax
je 0x41deab
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
sub esp, 4
mov ebx, eax
test eax, eax
je 0x41de1b
cmp dword [ebx + 0x14], 0
mov eax, dword [eax + 0x18]
je 0x41de7b
mov dword [ebx + 0x68], 1
mov esi, dword [ebx + 4]
test eax, eax
je 0x41de0e
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
mov dword [ebx + 0x18], 0
test byte [ebx + 0x24], 4
jne 0x41de38
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll__endthreadex]
add ebx, 0x70
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.msvcrt.dll_longjmp]
mov eax, dword [ebx + 0x14]
mov dword [ebx], 0xdeadbeef
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
cmp dword [ebx + 0xb0], 0
mov dword [ebx + 0x14], 0
je 0x41dea2
mov eax, dword [0x4fce54]
test eax, eax
je 0x41ded1
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push eax
push eax
jmp 0x41de1b
mov dword [ebx], 0xdeadbeef
test eax, eax
je 0x41de8f
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
cmp dword [ebx + 0xb0], 0
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], 0
jne 0x41de5b
mov eax, ebx
call fcn.0041bc10
jmp 0x41de5b
mov dword [esp + 8], 0x41afe0
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call fcn.0041f8c0
mov dword [0x4fce54], eax
jmp 0x41ddd5
mov dword [esp + 8], 0x41afe0
mov dword [esp + 4], 4
mov dword [esp], str._pthread_tls_shmem
call fcn.0041f8c0
mov dword [0x4fce54], eax
jmp 0x41de64
Function at 0x41f8c0
Capabilities:
Check mutex on windows
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov esi, dword [ebp + 8]
mov dword [esp], esi
call sub.msvcrt.dll_strlen
mov ebx, eax
add eax, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebx + 0x40]
lea ecx, [ebx + 0x30]
shr eax, 4
mov dword [ebp - 0x20], ecx
shl eax, 4
call fcn.0040caa0
mov edx, 0x326d
sub esp, eax
lea eax, [esp + 0x1b]
mov dword [esp + 8], ebx
lea edi, [esp + 0xc]
mov dword [esp + 4], esi
mov dword [esp], eax
mov word [esp + 0x18], dx
mov dword [esp + 0xc], 0x2d636367
mov dword [esp + 0x10], 0x656d6873
mov dword [esp + 0x14], 0x64742d6d
mov byte [esp + 0x1a], 0x2d
call sub.msvcrt.dll_memcpy
lea eax, [ebx + 0x10]
add eax, edi
mov dword [eax], 0x61616161
mov dword [eax + 4], 0x61616161
mov dword [eax + 8], 0x61616161
mov dword [eax + 0xc], 0x61616161
mov dword [eax + 0x10], 0x61616161
mov dword [eax + 0x14], 0x61616161
mov dword [eax + 0x18], 0x61616161
mov dword [eax + 0x1c], 0x61616161
mov byte [esp + ebx + 0x3c], 0
mov byte [esp + ebx + 0x1b], 0
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov byte [edi + ebx + 0xf], 0x2d
sub esp, 0xc
mov dword [ebp - 0x24], eax
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
test eax, eax
je 0x41f9b4
int3
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_FindAtomA]
sub esp, 4
test ax, ax
je 0x41fa00
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call fcn.0041f850
mov ebx, eax
mov edi, dword [ebp - 0x24]
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0xc]
add ebx, edi
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov edx, 0x20
mov esi, eax
lea esi, [esi]
bt esi, edx
jae 0x41fa26
mov eax, edx
neg eax
mov byte [ebx + eax + 0x30], 0x41
sub edx, 1
jne 0x41fa18
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_AddAtomA]
sub esp, 4
test ax, ax
jne 0x41fa3d
int3
mov ecx, dword [ebp - 0x1c]
movzx eax, ax
mov edx, edi
mov dword [esp], ecx
mov ecx, dword [ebp - 0x20]
call fcn.0041f850
mov ebx, eax
cmp esi, eax
je 0x41fa63
mov dword [esp], esi
call sub.msvcrt.dll_free
jmp 0x41f9da
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp], ebx
mov dword [esp + 8], eax
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x41f9da
mov dword [esp], ebx
call dword [ebp + 0x10]
jmp 0x41f9da
Function at 0x403e4a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x403e59
pop dword [ebp - 0x48]
mov eax, 0xa773d24d
sub eax, 0xa73393f4
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xf3387239
add dword [ebp - 0x58], 0x5b19d312
mov dword [ebp - 0x54], 0xcbcbee4e
sub dword [ebp - 0x54], 0x9998a209
mov dword [ebp - 0x50], 0xf8329ead
add dword [ebp - 0x50], 0x5419a581
mov dword [ebp - 0x4c], 0x5a45e7db
add dword [ebp - 0x4c], 0xa5ba1825
lea eax, [ebp - 0x58]
push eax
mov eax, 0x3b383328
sub eax, 0x3af7c2c4
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x50051db
add dword [ebp - 0x58], 0x6f72177b
mov dword [ebp - 0x54], 0xcb77579e
add dword [ebp - 0x54], 0x75f509d7
mov dword [ebp - 0x50], 0x95af7ede
add dword [ebp - 0x50], 0xcdbfed8e
mov dword [ebp - 0x4c], 0xb8523e90
sub dword [ebp - 0x4c], 0xb8523e90
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x34f09
push 0
call eax
mov ecx, 0x94ecee65
sub ecx, 0x94ecada0
mov ebx, eax
mov edx, 0x410000
add edx, dword [ebp - 0x48]
mov edi, 0xe41f4331
sub edi, 0xf27f1309
sub dword [ebp - 0x38], esi
mov esi, dword [edx]
xor dword [ebp - 0x14], 0x10533dde
sub esi, edi
add dword [ebp - 0x1c], 0x1f34d189
mov dword [ebx], esi
add ebx, 4
add edx, 4
loop 0x403f70
add eax, 0xf5e7
mov ebx, eax
add eax, 5
mov ecx, 0x5493696e
sub ecx, 0x5453696e
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x403030
Capabilities:
Terminate process

Disassembly:
call fcn.00401b6d
cmp dword [0x406db0], ebx
jne 0x403049
push section..text
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00402d59
push 0x40600c
push 0x406008
call sub.MSVCRT.dll__initterm
mov eax, dword [0x406fec]
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x6c]
push eax
push dword [0x406fe8]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x406004
push section..data
call sub.MSVCRT.dll__initterm
add esp, 0x24
mov eax, dword [sym.imp.MSVCRT.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x74], esi
cmp byte [esi], 0x22
jne 0x4030dc
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x4030b0
cmp al, 0x22
jne 0x4030a2
cmp byte [esi], 0x22
jne 0x4030b9
inc esi
mov dword [ebp - 0x74], esi
mov al, byte [esi]
cmp al, bl
je 0x4030c3
cmp al, 0x20
jbe 0x4030b5
mov dword [ebp - 0x30], ebx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x4030e7
movzx eax, word [ebp - 0x2c]
jmp 0x4030ea
cmp byte [esi], 0x20
jbe 0x4030b9
inc esi
mov dword [ebp - 0x74], esi
jmp 0x4030dc
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x68], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
Function at 0xa591b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00a59140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00a59140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00a59140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00a59140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xa59bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xa59c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xa6b87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xa59c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xa59c52
xor eax, eax
pop esi
leave
ret 4

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
push esi
enter 0x84, 0
sub ebp, 0x82
mov dword [ebp - 2], 0
call fcn.00401533
mov ebx, eax
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, ebx
or al, 0x40
push eax
mov eax, 0x401dc7
sub eax, fcn.00401592
push eax
push fcn.00401592
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x40107a
mov eax, ebx
lea edx, [ebp - 2]
call fcn.00401461
mov eax, ebx
lea ecx, [ebx + 0x1b600]
call fcn.004014b3
mov esi, ecx
mov eax, ebx
or si, 1
cdq
idiv esi
lea edx, [eax + ecx]
mov eax, ebx
lea ebx, [ebp - 2]
or eax, 0x402054
call fcn.00401592
xor eax, eax
lea esp, [ebp + 0x82]
pop ebp
pop esi
pop edx
pop ecx
pop ebx
ret

Function at 0x401533
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ecx
push edx
enter 0x11c, 0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.DLL_GetCursorPos]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0xa
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringA]
movzx eax, byte [ebp - 0x18]
sub eax, 0x41
leave
pop edx
pop ecx
ret
Function at 0x1019b038
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101c97d8]
jne 0x1019b042
repz ret
jmp fcn.1019eb0b

Function at 0x101a0cbf
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.1019b0d3
and dword [ebp - 4], 0
cmp dword [0x101cb9b8], 0
mov ebx, eax
jne 0x101a0d70
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101a0e21
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101a0e21
push eax
call fcn.1019b061
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101cb9b8], eax
call esi
push eax
call fcn.1019b061
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101cb9bc], eax
call esi
push eax
call fcn.1019b061
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101cb9c0], eax
call esi
push eax
call fcn.1019b061
pop ecx
mov dword [0x101cb9c8], eax
test eax, eax
je 0x101a0d70
push 0x101ae1fc
push edi
call esi
push eax
call fcn.1019b061
pop ecx
mov dword [0x101cb9c4], eax
mov eax, dword [0x101cb9c4]
cmp eax, ebx
je 0x101a0dc8
cmp dword [0x101cb9c8], ebx
je 0x101a0dc8
push eax
call fcn.1019b0dc
push dword [0x101cb9c8]
mov esi, eax
call fcn.1019b0dc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101a0dc8
test edi, edi
je 0x101a0dc8
call esi
test eax, eax
je 0x101a0dbf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101a0dbf
test byte [ebp - 0xc], 1
jne 0x101a0dc8
or dword [ebp + 0x10], 0x200000
jmp 0x101a0e01
mov eax, dword [0x101cb9bc]
cmp eax, ebx
je 0x101a0e01
push eax
call fcn.1019b0dc
pop ecx
test eax, eax
je 0x101a0e01
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101a0e01
mov eax, dword [0x101cb9c0]
cmp eax, ebx
je 0x101a0e01
push eax
call fcn.1019b0dc
pop ecx
test eax, eax
je 0x101a0e01
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101cb9b8]
call fcn.1019b0dc
pop ecx
test eax, eax
je 0x101a0e21
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101a0e23
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101ab4fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x101c9264], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.101ac405
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x101ab543
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101c9260], 0x18ed
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x101ab5a0
jmp 0x101ab5d6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101c9264], 0x1dce
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
jmp 0x101ab5ab
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x101ab613
jmp 0x101ab5ea
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jmp 0x101ab57a
mov al, byte [ebp - 0x4d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x4c]
add edx, 1
mov ah, byte [ebp - 0x4e]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x48], edx
jne 0x101ab5ab
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x101ab649
jmp 0x101ab61c
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov edx, dword [ebp - 0x40]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jb 0x101ab57a
jmp 0x101ab5a0
mov eax, dword [ebp - 0x40]
movzx ecx, word [eax]
mov dword [0x101c9260], 0x1941
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x101c9264], 0x92b
mov dword [ebp - 0x30], edi
jmp 0x101ab5a0
Function at 0x101ab985
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x24
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x101ab9fb
mov eax, dword [ebp - 0x1c]
mov dword [0x101c9264], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
je 0x101aba14
jmp 0x101aba85
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101aba48
jmp 0x101aba85
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], eax
jl 0x101ab9b0
jmp 0x101ab9c6
mov dword [0x101c9260], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101aba85
mov dword [0x101c9260], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x101ab9e7
jmp 0x101aba85
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x101aba85
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x101aba85
mov eax, 0x18d0
mov ecx, 1
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x20]
cmp word [edx + esi*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
je 0x101aba94
mov eax, 0x1088
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x101aba94
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x101c9260], ecx
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x101abc65
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101c926c], 0
mov byte [0x101c9270], 0
mov edi, dword [0x101c9260]
add edi, 0xfffff8e9
mov dword [0x101c9264], edi
mov dword [0x101c9268], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101abcc5
xor eax, eax
mov dword [0x101c9268], 0
mov dword [ebp - 0x20], eax
jmp 0x101abd01
mov eax, dword [ebp - 0x1c]
mov dword [0x101c9260], 0x7c1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101c9264], 0x17ea
mov eax, dword [0x101c9268]
add eax, 1
mov dword [0x101c9268], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101abcc5
jmp 0x101abcb4
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101c9274], 0
mov edi, dword [0x101c926c]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101c9274], esi
mov dword [0x101c9260], 0xa1b
mov eax, esi
cdq
idiv ecx
mov dword [0x101c926c], edx
mov dword [0x101c9264], 0xd32
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101c9270], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101c9270]
mov esi, dword [0x101c926c]
mov byte [ebx + esi], cl
mov esi, dword [0x101c9268]
add esi, 1
mov dword [0x101c9268], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101abd01
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ac134
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101c9264], 0x1e49
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101ac247
lea eax, [ebp - 0x24]
mov dword [0x101c9264], 0x1a22
mov ecx, dword [0x101c9260]
add ecx, 0xffffefe3
mov dword [0x101c9260], ecx
mov dword [ebp - 0x34], eax
call fcn.101ab67b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101ab28a
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101ac277
mov dword [0x101c9260], 0x2091
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101abab1
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101c9260], 0x1f7a
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x3c], ecx
mov dword [0x101c9264], 0x8aa
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x48], ecx
add ecx, 0x22b7
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101ac23e
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ad96d]
mov dh, byte [eax + 0x101ad93e]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x101ac15b
jmp 0x101ac247
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret