joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100620c0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x20], 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 1
push 0
push 0x80
push 2
lea eax, [ebp - 0x20]
push eax
push 3
push 4
push 0
mov ecx, dword [ebp - 0x70]
add ecx, 0x60
call fcn.10005440
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x80], 0x8000000
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
push 0x44
push 0
lea edx, [ebp - 0x64]
push edx
call fcn.10195c90
add esp, 0xc
mov dword [ebp - 0x64], 0x44
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x90], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x64]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x80]
push edx
push 1
push 0
push 0
push 0
mov ecx, dword [ebp - 0x70]
call fcn.10005440
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x1006221a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._SelectThreadV2.cpp:SelectThreadV2::ExecCmdCommand__:Line_99
push 0
push 1
lea ecx, [ebp - 0xa8]
push ecx
call fcn.10009d30
mov edx, dword [eax]
mov dword [ebp - 0x7c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x78], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x74], edx
push str.create_handles_file_process_success
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x78]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x74]
mov dword [eax + 8], ecx
call fcn.10008d70
add esp, 0x10
mov eax, 1
jmp 0x10062288
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._SelectThreadV2.cpp:SelectThreadV2::ExecCmdCommand__:Line_103
push 0
push 1
lea edx, [ebp - 0x9c]
push edx
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x8c], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x88], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.create_handles_file_process_failure__ld
sub esp, 0xc
mov ecx, esp
mov edx, dword [ebp - 0x8c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x88]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x84]
mov dword [ecx + 8], edx
call fcn.10008d70
add esp, 0x14
mov eax, dword [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 4
Function at 0x100628d0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cb83b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x10264190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x264], ecx
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x23c], 0x22c
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0xffffffff
jne 0x1006299c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x25c], eax
push str.d:mycodewin_agent_toolwin_urdurdurdcommon._SelectThreadV2.cpp:SelectThreadV2::GetProcAllPath__:Line_181
push 0
push 3
lea eax, [ebp - 0x270]
push eax
call fcn.10009d30
mov ecx, dword [eax]
mov dword [ebp - 0x258], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x254], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x25c]
push ecx
push str.GetProcAllPath___Create_32_snapshot_failure__type:TH32CS_SNAPPROCESS__code_error:_ld.
sub esp, 0xc
mov edx, esp
mov eax, dword [ebp - 0x258]
mov dword [edx], eax
mov ecx, dword [ebp - 0x254]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x250]
mov dword [edx + 8], eax
call fcn.10008d70
add esp, 0x14
lea ecx, [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x244]
push edx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x248], 0
je 0x10062a62
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.10004f90
test eax, eax
je 0x10062a43
mov ecx, dword [ebp - 0x234]
push ecx
lea edx, [ebp - 0x2d0]
push edx
mov ecx, 0x1028a9e8
call fcn.1005cf10
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
push 0
mov ecx, dword [ebp - 0x24c]
call fcn.10005440
push eax
mov ecx, dword [ebp + 8]
call fcn.10038570
mov ecx, dword [ebp - 0x240]
or ecx, 1
mov dword [ebp - 0x240], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d0]
call fcn.10004e60
mov eax, dword [ebp + 8]
jmp 0x10062a81
lea edx, [ebp - 0x23c]
push edx
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
mov dword [ebp - 0x248], eax
jmp 0x100629b6
push 0x10239144
mov ecx, dword [ebp + 8]
call fcn.10038570
mov ecx, dword [ebp - 0x240]
or ecx, 1
mov dword [ebp - 0x240], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1019110d
mov esp, ebp
pop ebp
ret 8
Function at 0x100727c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101cc048
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10264190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x1023aa04
call fcn.10004ea0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
push 0x64
sub esp, 0x60
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.URDHelp
call fcn.10004ea0
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10008cc0
add esp, 0xc4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x1028a9e8
call fcn.1005b4d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1007eed8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x1007ef1d
call fcn.10087dc1
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1007ef1d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x1007ef39
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.1008c1d0
mov ebx, eax
test edi, edi
je 0x1007ef37
test esi, esi
je 0x1007ef37
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1008ded8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.10087dc1
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1008df0f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.1008df30
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x1008f009
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.1007ce6c
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x1008f045
call fcn.1008f228
mov dword [esi + 0xc], 1
jmp 0x1008f04a
call fcn.1008f228
cmp dword [esi], 0
je 0x1008f093
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x1008f06d
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.1007c95e
jmp 0x1008f07e
push 0xff
mov ecx, esi
call fcn.10039bd0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.1007c981
jmp 0x1008f0b7
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x1008f0b7
push dword [esi]
push dword [ebp - 4]
call fcn.1008cd2a
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1008f17d
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.1008f228
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x1008f1c5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.1007c95e
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.1007c981
jmp 0x1008f1d0
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.1008cd2a
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x1009f5ba
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.100d5d3e
call fcn.10087e0f
cmp dword [eax + 0x14], 0
jne 0x1009f5d5
mov ecx, esi
pop esi
jmp fcn.1009e9c0
pop esi
ret

Function at 0x100a031d
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.1018c7a0
call fcn.10087e0f
cmp dword [eax + 0x14], 0
jne 0x100a0338
mov ecx, esi
pop esi
jmp fcn.1009fc06
pop esi
ret
Function at 0x101b5cf0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.101b5fe0
push 0
call fcn.10191fee
push eax
call fcn.10194ddf
add esp, 8
mov dword [ebp - 4], 0
call fcn.10194dbe
mov edi, dword [esi + 0x19c]
mov ecx, eax
sar ecx, 6
movzx eax, al
test cl, cl
movzx ebx, cl
cmove ebx, eax
mov eax, dword [esi + 0x1a4]
and eax, 0xfffd
mov dword [ebp - 0xc], ebx
or eax, 2
mov dword [ebp - 8], eax
call fcn.101bb400
mov ecx, eax
movsx eax, bl
xor eax, edi
shr edi, 8
and eax, 0xff
mov eax, dword [ecx + eax*4]
xor eax, edi
mov edi, dword [esi + 0x1a4]
mov dword [esi + 0x19c], eax
movzx eax, al
add eax, dword [esi + 0x1a0]
imul ebx, eax, 0x8088405
inc ebx
mov dword [esi + 0x1a0], ebx
shr ebx, 0x18
call fcn.101bb400
mov edx, dword [ebp - 4]
movsx ecx, bl
xor ecx, edi
shr edi, 8
and ecx, 0xff
xor edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
xor ecx, 1
imul ecx, dword [ebp - 8]
mov dword [esi + 0x1a4], edi
mov eax, dword [eax + 4]
sar ecx, 8
xor cl, byte [ebp - 0xc]
mov byte [edx + eax], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xa
jl 0x101b5d17
mov eax, dword [esi + 0x1a4]
mov ebx, dword [ebp + 8]
and eax, 0xfffd
mov edi, dword [esi + 0x19c]
or eax, 2
sar ebx, 0x10
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
call fcn.101bb400
mov ecx, eax
movsx eax, bl
xor eax, edi
shr edi, 8
and eax, 0xff
mov eax, dword [ecx + eax*4]
xor eax, edi
mov edi, dword [esi + 0x1a4]
mov dword [esi + 0x19c], eax
movzx eax, al
add eax, dword [esi + 0x1a0]
imul ebx, eax, 0x8088405
inc ebx
mov dword [esi + 0x1a0], ebx
shr ebx, 0x18
call fcn.101bb400
movsx ecx, bl
xor ecx, edi
mov ebx, dword [ebp + 8]
and ecx, 0xff
shr edi, 8
sar ebx, 0x18
mov dword [ebp + 8], ebx
xor edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
xor ecx, 1
imul ecx, dword [ebp - 0xc]
mov dword [esi + 0x1a4], edi
mov eax, dword [eax + 4]
sar ecx, 8
xor cl, byte [ebp - 8]
mov byte [eax + 0xa], cl
mov eax, dword [esi + 0x1a4]
mov edi, dword [esi + 0x19c]
and eax, 0xfffd
or eax, 2
mov dword [ebp - 0xc], eax
call fcn.101bb400
mov ecx, eax
movsx eax, bl
xor eax, edi
shr edi, 8
and eax, 0xff
mov eax, dword [ecx + eax*4]
xor eax, edi
mov edi, dword [esi + 0x1a4]
mov dword [esi + 0x19c], eax
movzx eax, al
add eax, dword [esi + 0x1a0]
imul ebx, eax, 0x8088405
inc ebx
mov dword [esi + 0x1a0], ebx
shr ebx, 0x18
call fcn.101bb400
movsx ecx, bl
xor ecx, edi
shr edi, 8
and ecx, 0xff
xor edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0xc]
xor ecx, 1
imul ecx, dword [ebp - 0xc]
mov dword [esi + 0x1a4], edi
pop edi
mov eax, dword [eax + 4]
pop esi
sar ecx, 8
xor cl, byte [ebp + 8]
mov byte [eax + 0xb], cl
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x101b5f00
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x100]
test byte [eax + 0xc], 1
je 0x101b5fcf
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [esi + 0x6c], eax
jbe 0x101b5fcf
push ebx
push edi
lea esp, [esp]
mov ecx, dword [esi + 0x7c]
mov edi, dword [esi + 0x19c]
add ecx, eax
mov eax, dword [esi + 0x1a4]
and eax, 0xfffd
mov dword [ebp - 0xc], ecx
or eax, 2
mov bl, byte [ecx]
mov dword [ebp - 8], eax
call fcn.101bb400
mov ecx, eax
movsx eax, bl
xor eax, edi
shr edi, 8
and eax, 0xff
mov eax, dword [ecx + eax*4]
xor eax, edi
mov edi, dword [esi + 0x1a4]
mov dword [esi + 0x19c], eax
movzx eax, al
add eax, dword [esi + 0x1a0]
imul ebx, eax, 0x8088405
inc ebx
mov dword [esi + 0x1a0], ebx
shr ebx, 0x18
call fcn.101bb400
movsx ecx, bl
xor ecx, edi
shr edi, 8
and ecx, 0xff
xor edi, dword [eax + ecx*4]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor eax, 1
imul eax, dword [ebp - 8]
mov dword [esi + 0x1a4], edi
sar eax, 8
xor byte [ecx], al
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x6c]
jb 0x101b5f30
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x101b5fe0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [esi + 0x19c], 0x12345678
mov dword [esi + 0x1a0], 0x23456789
mov dword [esi + 0x1a4], 0x34567890
cmp dword [esi + 0x198], ecx
jbe 0x101b609a
push ebx
push edi
jmp 0x101b6020
mov eax, dword [esi + 0x194]
mov edi, dword [esi + 0x19c]
mov bl, byte [ecx + eax]
call fcn.101bb400
mov ecx, eax
movsx eax, bl
xor eax, edi
shr edi, 8
and eax, 0xff
mov eax, dword [ecx + eax*4]
xor eax, edi
mov edi, dword [esi + 0x1a4]
mov dword [esi + 0x19c], eax
movzx eax, al
add eax, dword [esi + 0x1a0]
imul ebx, eax, 0x8088405
inc ebx
mov dword [esi + 0x1a0], ebx
shr ebx, 0x18
call fcn.101bb400
movsx ecx, bl
xor ecx, edi
shr edi, 8
and ecx, 0xff
xor edi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi + 0x1a4], edi
mov dword [ebp - 4], ecx
cmp ecx, dword [esi + 0x198]
jb 0x101b6020
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x101b7d90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp method.CFile.virtual_56

Function at 0x101b8eb0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add ecx, 4
pop ebp
jmp method.CFile.virtual_60
Function at 0x101b95d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101db7b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10264190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push 0x2e
lea ecx, [ebp - 0x20]
call fcn.101bbe00
mov ebx, dword [ebp + 8]
mov ecx, ebx
push 1
push 0x2e
push dword [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.101bd220
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov dword [edi + 4], eax
movzx eax, word [ecx + 4]
mov word [edi + 8], ax
movzx eax, word [ecx + 6]
mov word [edi + 0xa], ax
movzx eax, word [ecx + 8]
mov word [edi + 0xc], ax
movzx eax, word [ecx + 0xa]
mov word [edi + 0xe], ax
movzx eax, word [ecx + 0xc]
mov word [edi + 0x10], ax
movzx eax, word [ecx + 0xe]
mov word [edi + 0x12], ax
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 0x14]
mov dword [edi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [edi + 0x1c], eax
movzx eax, word [ecx + 0x1e]
movzx esi, word [ecx + 0x1c]
mov dword [ebp + 8], eax
movzx eax, word [ecx + 0x20]
mov dword [ebp - 0x10], eax
movzx eax, word [ecx + 0x22]
mov word [edi + 0x20], ax
movzx eax, word [ecx + 0x24]
mov word [edi + 0x22], ax
mov eax, dword [ecx + 0x26]
mov dword [edi + 0x24], eax
mov eax, dword [ecx + 0x2a]
lea ecx, [ebp - 0x20]
mov dword [edi + 0x28], eax
call fcn.101bbfe0
mov eax, dword [edi + 4]
cmp eax, dword [0x102655b8]
je 0x101b96ad
xor bl, bl
jmp 0x101b971a
mov eax, dword [ebx + 0x54]
lea ecx, [edi + 0x38]
push 0
push esi
mov dword [ebp - 0x14], eax
call fcn.101bbf50
push 1
push esi
push dword [edi + 0x3c]
mov ecx, ebx
call fcn.101bd220
mov eax, dword [ebp + 8]
test ax, ax
je 0x101b96ee
movzx esi, ax
lea ecx, [edi + 0x2c]
push 0
push esi
call fcn.101bbf50
push 1
push esi
push dword [edi + 0x30]
mov ecx, ebx
call fcn.101bd220
mov eax, dword [ebp - 0x10]
test ax, ax
je 0x101b9711
movzx esi, ax
lea ecx, [edi + 0x44]
push 0
push esi
call fcn.101bbf50
push 1
push esi
push dword [edi + 0x48]
mov ecx, ebx
call fcn.101bd220
mov eax, dword [ebp - 0x14]
cmp dword [ebx + 0x54], eax
sete bl
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.101bbe50
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x101b99a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101db7b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10264190]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov edi, dword [eax + 0x34]
lea ecx, [ebp - 0x20]
mov esi, dword [eax + 0x40]
movzx eax, si
mov dword [ebp - 0x14], eax
add eax, 0x1e
movzx ebx, di
add eax, ebx
push 0
push eax
call fcn.101bbe00
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x102655bc]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
movzx ecx, word [edx + 0xa]
mov word [eax + 4], cx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [edx + 0xc]
mov word [eax + 6], cx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [edx + 0xe]
mov word [eax + 8], cx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [edx + 0x10]
mov word [eax + 0xa], cx
mov eax, dword [ebp - 0x1c]
movzx ecx, word [edx + 0x12]
mov word [eax + 0xc], cx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x14]
mov dword [eax + 0xe], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x12], ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x16], ecx
mov eax, dword [ebp - 0x1c]
mov word [eax + 0x1a], si
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x14]
push esi
mov word [eax + 0x1c], di
mov eax, dword [ebp - 0x1c]
push dword [edx + 0x3c]
add eax, 0x1e
push eax
call fcn.10198dc0
mov eax, dword [ebp - 0x10]
push ebx
push dword [eax + 0x30]
mov eax, dword [ebp - 0x1c]
add eax, 0x1e
add eax, esi
push eax
call fcn.10198dc0
add esp, 0x18
lea edi, [esi + 0x1e]
mov esi, dword [ebp + 8]
add edi, ebx
mov ecx, esi
push 1
push edi
push dword [ebp - 0x1c]
call fcn.101bd610
mov ebx, dword [ebp - 0x10]
lea ecx, [ebx + 0x2c]
call fcn.101bbfe0
mov eax, dword [esi + 0x54]
mov word [ebx + 0x20], ax
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [esi + 0x34]
sub ecx, edi
add eax, ecx
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x28], eax
mov dword [ebp - 4], 0xffffffff
call fcn.101bbe50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x101bac30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x24]
lea ecx, [ecx]
mov eax, dword [edi + 0x24]
mov edx, dword [edi + 0x34]
add eax, 0xfffffefa
sub edx, dword [edi + 0x6c]
add eax, esi
sub edx, dword [edi + 0x64]
mov dword [ebp + 8], edx
cmp dword [edi + 0x64], eax
jb 0x101bacbc
mov ecx, dword [edi + 0x30]
push esi
lea eax, [ecx + esi]
push eax
push ecx
call fcn.10198dc0
mov edx, dword [edi + 0x44]
add esp, 0xc
mov eax, dword [edi + 0x3c]
sub dword [edi + 0x68], esi
sub dword [edi + 0x64], esi
sub dword [edi + 0x54], esi
lea ecx, [eax + edx*2]
mov edi, edi
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x101bac8f
sub eax, esi
jmp 0x101bac91
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x101bac80
mov eax, dword [edi + 0x38]
mov edx, esi
lea ecx, [eax + esi*2]
nop
movzx eax, word [ecx - 2]
lea ecx, [ecx - 2]
cmp eax, esi
jb 0x101bacaf
sub eax, esi
jmp 0x101bacb1
xor eax, eax
mov word [ecx], ax
dec edx
jne 0x101baca0
mov edx, dword [ebp + 8]
add edx, esi
mov ebx, dword [edi]
cmp dword [ebx + 4], 0
je 0x101bad71
mov eax, dword [edi + 0x6c]
add eax, dword [edi + 0x64]
add eax, dword [edi + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 4]
cmp eax, edx
mov ecx, eax
cmova ecx, edx
mov dword [ebp + 8], ecx
test ecx, ecx
jne 0x101bace9
xor eax, eax
jmp 0x101bad35
sub eax, ecx
mov dword [ebx + 4], eax
mov eax, dword [ebx + 0x1c]
mov eax, dword [eax + 0x18]
cmp eax, 1
jne 0x101bad06
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.101c0d60
jmp 0x101bad16
cmp eax, 2
jne 0x101bad1f
push ecx
push dword [ebx]
push dword [ebx + 0x30]
call fcn.101bb110
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ebx + 0x30], eax
push ecx
push dword [ebx]
push dword [ebp - 4]
call fcn.10198dc0
mov eax, dword [ebp + 8]
add esp, 0xc
add dword [ebx], eax
add dword [ebx + 8], eax
add dword [edi + 0x6c], eax
mov ebx, dword [edi + 0x6c]
cmp ebx, 3
jb 0x101bad5d
mov eax, dword [edi + 0x30]
add eax, dword [edi + 0x64]
mov ecx, dword [edi + 0x50]
movzx edx, byte [eax]
mov dword [edi + 0x40], edx
movzx eax, byte [eax + 1]
shl edx, cl
xor edx, eax
and edx, dword [edi + 0x4c]
mov dword [edi + 0x40], edx
cmp ebx, 0x106
jae 0x101bad71
mov eax, dword [edi]
cmp dword [eax + 4], 0
jne 0x101bac40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101bb110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x101bb11c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.101bb130