joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d7c6
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4188a0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 8
pop ecx
push 0xf0000000
push 0x18
push 0x4024a0
xor ebx, ebx
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x30], cl
mov byte [ebp - 0x2f], 2
mov word [ebp - 0x2e], bx
mov dword [ebp - 0x2c], 0x6610
mov dword [ebp - 0x28], 0x20
lea edi, [ebp - 0x24]
push eax
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x40d8b3
lea eax, [ebp + 0xc]
push eax
push ebx
push ebx
push 0x2c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
xor edi, edi
test eax, eax
je 0x40d8a7
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push ebx
lea eax, [ebp - 0x34]
push eax
push 4
push dword [ebp + 0xc]
inc edi
mov dword [ebp - 0x34], edi
call esi
test eax, eax
jne 0x40d855
xor edi, edi
jmp 0x40d89e
push ebx
lea eax, [ebp - 0x34]
push eax
push 3
push dword [ebp + 0xc]
mov dword [ebp - 0x34], edi
call esi
test eax, eax
je 0x40d851
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::data_void_const]
push eax
push ebx
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x40d851
push dword [ebp - 0x38]
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::resize_unsigned_int_]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push ebx
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.00414165
leave
ret 8
Function at 0x40db93
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
push edi
lea ebx, [ecx + eax + 0x18]
jbe 0x40dc75
add ebx, 0x10
mov eax, dword [ebx]
test eax, eax
jne 0x40dc10
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 0x38]
test edi, edi
jle 0x40dc60
push dword [esi + 0x34]
mov eax, dword [ebx - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push edi
push eax
call dword [esi + 0x1c]
test eax, eax
je 0x40dc7f
mov edx, dword [ebx - 4]
add edx, dword [ebp - 4]
mov ecx, edi
mov dword [ebx - 8], edx
mov edi, edx
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x40dc60
mov ecx, dword [ebx + 4]
add ecx, eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.0040db7b
test eax, eax
je 0x40dc7f
push dword [esi + 0x34]
mov eax, dword [ebx - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push dword [ebx]
push eax
call dword [esi + 0x1c]
test eax, eax
je 0x40dc7f
mov eax, dword [ebx - 4]
mov ecx, dword [ebx]
add eax, dword [ebp - 4]
mov esi, dword [ebx + 4]
add esi, dword [ebp + 8]
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov dword [ebx - 8], eax
mov eax, dword [esi]
movzx eax, word [eax + 6]
inc dword [ebp - 8]
add ebx, 0x28
cmp dword [ebp - 8], eax
jl 0x40dbc0
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x10
xor eax, eax
jmp 0x40dc78
Function at 0x40ebcc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40ebf8
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40ebf8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x40ebfa
xor eax, eax
ret 8

Function at 0x41291e
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push edi
push 0xd
mov edx, ecx
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x104b
push dword [edx + 4]
mov dword [ebp - 0x34], 4
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x14]
pop edi
leave
ret 4

Function at 0x4129ac
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov esi, ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x4129f7
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
mov dword [ebp + 8], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [esi + 4]
call fcn.0041242e
test eax, eax
je 0x4129f7
push 1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call fcn.00412404
jmp 0x4129f9
xor eax, eax
pop esi
leave
ret 8
Function at 0x4132fd
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x414b57
call fcn.00414500
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
and dword [ebp - 4], 0
push 0x1c
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x413330
mov ecx, eax
call fcn.00412341
mov ebx, eax
jmp 0x413332
xor ebx, ebx
test ebx, ebx
mov byte [ebp - 4], 0
mov dword [ebp - 0x10], ebx
jne 0x413342
or esi, 0xffffffff
jmp 0x41339f
push edi
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
lea ecx, [esi + 0x30]
mov eax, dword [ecx + 4]
lea edx, [ebp - 0x10]
push edx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00412ffa
push 0xd
pop ecx
xor eax, eax
push eax
push eax
push 0x1004
push dword [esi + 4]
lea edi, [ebp - 0x48]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x48], 4
call edi
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0x104d
push dword [esi + 4]
mov dword [ebp - 0x28], ebx
call edi
mov esi, eax
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x4133be
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x414b69
call fcn.00414500
sub esp, 0x10
mov eax, dword [0x417020]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
and dword [ebp - 4], 0
and dword [ebp - 0x18], 0
push 1
push dword [esi + 4]
call edi
push 2
push dword [esi + 4]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
call edi
push dword [esi + 4]
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4134fe
test ebx, ebx
je 0x4134fe
cmp dword [ebp - 0x14], 0
je 0x4134fe
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004131be
test eax, eax
je 0x4134e6
push 1
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
call ebx
push 0
push dword [ebp - 0x14]
call ebx
push 1
push dword [ebp - 0x1c]
push 0x28
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x130
push dword [esi + 4]
call edi
test eax, eax
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x41346d
push 0
push eax
call ebx
push 0x138
push dword [esi + 4]
call edi
test eax, eax
je 0x413480
push 0
push eax
call ebx
push 0x131
push dword [esi + 4]
call edi
test eax, eax
je 0x413493
push 0
push eax
call ebx
push 0x139
push dword [esi + 4]
call edi
test eax, eax
je 0x4134a6
push 0
push eax
call ebx
cmp dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
jne 0x4134b6
push 0x1f4
jmp 0x4134bb
push 0x1f5
call fcn.0040f853
test eax, eax
je 0x4134fe
push dword [ebp - 0x10]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
test edi, edi
je 0x4134fe
lea eax, [esi + 0x1c]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x34]
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x4134fe
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push ebx
call edi
test byte [esi + 0x4c], 2
je 0x4134fe
push 1
push dword [ebp - 0x14]
call edi
lea ecx, [ebp - 0x10]
call fcn.0040f30f
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x414165
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4188a0]
jne 0x41416e
ret
jmp 0x414173
push ebp
lea ebp, [esp - 0x2a8]
sub esp, 0x328
mov eax, dword [0x4188a0]
mov dword [ebp + 0x2a4], eax
mov eax, dword [0x418a40]
test eax, eax
je 0x414197
call eax
cmp dword [0x418a44], 0
je 0x4141de
push edi
xor eax, eax
and dword [ebp - 0x28], eax
push 0x13
pop ecx
lea edi, [ebp - 0x7c]
rep stosd dword es:[edi], eax
mov ecx, 0xb2
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x28]
push 0
mov dword [ebp - 0x80], 0xc0000409
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x30]
push eax
call dword [0x418a44]
pop edi
push 0x502
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp + 0x2a4]
call fcn.00414165
add ebp, 0x2a8
leave
ret
Function at 0x1019ac58
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x101c95c8]
jne 0x1019ac62
repz ret
jmp fcn.1019e72b

Function at 0x101a08df
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.1019acf3
and dword [ebp - 4], 0
cmp dword [0x101cb708], 0
mov ebx, eax
jne 0x101a0990
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101a0a41
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101a0a41
push eax
call fcn.1019ac81
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x101cb708], eax
call esi
push eax
call fcn.1019ac81
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x101cb70c], eax
call esi
push eax
call fcn.1019ac81
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x101cb710], eax
call esi
push eax
call fcn.1019ac81
pop ecx
mov dword [0x101cb718], eax
test eax, eax
je 0x101a0990
push 0x101ae1dc
push edi
call esi
push eax
call fcn.1019ac81
pop ecx
mov dword [0x101cb714], eax
mov eax, dword [0x101cb714]
cmp eax, ebx
je 0x101a09e8
cmp dword [0x101cb718], ebx
je 0x101a09e8
push eax
call fcn.1019acfc
push dword [0x101cb718]
mov esi, eax
call fcn.1019acfc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x101a09e8
test edi, edi
je 0x101a09e8
call esi
test eax, eax
je 0x101a09df
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x101a09df
test byte [ebp - 0xc], 1
jne 0x101a09e8
or dword [ebp + 0x10], 0x200000
jmp 0x101a0a21
mov eax, dword [0x101cb70c]
cmp eax, ebx
je 0x101a0a21
push eax
call fcn.1019acfc
pop ecx
test eax, eax
je 0x101a0a21
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101a0a21
mov eax, dword [0x101cb710]
cmp eax, ebx
je 0x101a0a21
push eax
call fcn.1019acfc
pop ecx
test eax, eax
je 0x101a0a21
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x101cb708]
call fcn.1019acfc
pop ecx
test eax, eax
je 0x101a0a41
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101a0a43
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x101ab15f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x101c904c], 0x1dce
mov dword [ebp - 0x10], eax
call fcn.101ac07f
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 0x101ab1a5
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101c9048], 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 0x101ab2d4
jmp 0x101ab1f0
mov al, byte [ebp - 0x31]
test al, 1
jne 0x101ab2a7
jmp 0x101ab27d
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 - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [0x101c904c], 0x1dce
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x31], cl
je 0x101ab1e0
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x31]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x101ab226
jmp 0x101ab1e0
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x44]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jb 0x101ab202
jmp 0x101ab2d4
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov dword [0x101c9048], 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 [0x101c904c], 0x92b
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101ab5f1
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
jmp 0x101ab65c
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 0x101ab65c
jmp 0x101ab672
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101ab6eb
mov eax, 0x1088
xor ecx, ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
jmp 0x101ab70e
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 0x101ab61e
mov eax, dword [ebp - 0x1c]
mov dword [0x101c904c], 0x258e
mov ecx, dword [ebp - 0x10]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101ab64a
mov dword [0x101c9048], 0x636
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101ab64a
mov dword [0x101c9048], 0x3d46
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101ab64a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x101ab64a
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x101ab637
jmp 0x101ab64a
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
jne 0x101ab64a
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
mov dword [0x101c9048], ecx
add esp, 0x24
pop esi
pop ebp
ret
Function at 0x101ab8d7
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 [0x101c9054], 0
mov byte [0x101c9058], 0
mov edi, dword [0x101c9048]
add edi, 0xfffff8e9
mov dword [0x101c904c], edi
mov dword [0x101c9050], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101ab9db
xor eax, eax
mov dword [0x101c9050], 0
mov dword [ebp - 0x20], eax
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 [0x101c905c], 0
mov edi, dword [0x101c9054]
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 [0x101c905c], esi
mov dword [0x101c9048], 0xa1b
mov eax, esi
cdq
idiv ecx
mov dword [0x101c9054], edx
mov dword [0x101c904c], 0xd32
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101c9058], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101c9058]
mov esi, dword [0x101c9054]
mov byte [ebx + esi], cl
mov esi, dword [0x101c9050]
add esi, 1
mov dword [0x101c9050], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x101ab938
jmp 0x101aba1a
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov dword [0x101c9048], 0x7c1
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x101c904c], 0x17ea
mov eax, dword [0x101c9050]
add eax, 1
mov dword [0x101c9050], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101ab9db
jmp 0x101ab929
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101abdb4
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 [0x101c904c], 0x1e49
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101abe83
mov eax, dword [ebp - 0x34]
mov dword [0x101c9048], 0x2091
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 - 0x38], eax
call fcn.101ab72b
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101c9048], 0x1f7a
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x3c], ecx
mov dword [0x101c904c], 0x8aa
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x58], ecx
add ecx, 0x1807
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x101abe7a
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101ad965]
mov dh, byte [eax + 0x101ad936]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101abe83
lea eax, [ebp - 0x24]
mov dword [0x101c904c], 0x1a22
mov ecx, dword [0x101c9048]
add ecx, 0xffffefe3
mov dword [0x101c9048], ecx
mov dword [ebp - 0x44], eax
call fcn.101ab2df
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.101aaee6
cmp eax, 0
mov dword [ebp - 0x34], eax
jne 0x101abddb
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101ac1fd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x1e25
xor ebx, ebx
mov dword [0x101c9050], 0
mov dword [0x101c9054], 0
mov dword [0x101c9060], 0
mov dword [0x101c9048], 0xfa3
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, ebx
mov dword [ebp - 0x14], eax
mov eax, ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
jne 0x101ac274
mov eax, dword [ebp - 0x28]
mov dword [0x101c9048], eax
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov esi, 0x100
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101c9050], edx
mov dword [0x101c9048], 0x3264
mov ebx, dword [ebp - 0x24]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x101c9054], edx
mov ecx, dword [0x101c904c]
add ecx, 0xfffff82b
mov dword [0x101c904c], ecx
mov ecx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x101c9058], cl
mov dword [0x101c9048], 0x26b4
mov ebx, dword [ebp - 0x24]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x101c904c], 0x112a
mov cl, byte [0x101c9058]
mov edx, dword [0x101c9054]
mov byte [ebx + edx], cl
mov edx, dword [0x101c9050]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101c9054]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov dword [0x101c904c], 0x55d
and ecx, 0xff
mov dword [0x101c9060], ecx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov dword [0x101c9048], 0x65f
mov dword [0x101c904c], 0xffffdf97
xor ch, cl
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x3c], edi
je 0x101ac389
mov eax, dword [0x101c9050]
mov ecx, dword [0x101c9054]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x2c], eax
jmp 0x101ac274
mov eax, dword [0x101c9048]
add eax, 0xe82
mov dword [ebp - 0x28], eax
jmp 0x101ac264