joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10064080
Capabilities:
Convert ip address from string

Disassembly:
sub esp, 0x4c
mov eax, dword [0x10091628]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
push ebx
mov ebx, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + 8], eax
push esi
push edi
cmp ebp, 4
jb 0x100641fb
inc ebx
sub ebp, 2
push str.0123456789abcdefABCDEF:.
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strspn
add esp, 8
cmp ebp, eax
je 0x1006417e
mov ebp, eax
add eax, ebx
mov dword [esp + 0x14], eax
cmp byte [eax], 0x25
jne 0x100641fb
push 2
lea esi, [eax + 1]
xor edi, edi
push 0x10086178
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strncmp
add esp, 0xc
test eax, eax
jne 0x100640ff
mov cl, byte [esi + 2]
lea eax, [esi + 2]
test cl, cl
je 0x100640ff
cmp cl, 0x5d
cmovne esi, eax
mov al, byte [esi]
test al, al
je 0x100641fb
lea ecx, [esp + 0x18]
sub ecx, esi
nop
cmp al, 0x5d
je 0x10064125
cmp edi, 0xf
jge 0x10064125
mov byte [ecx + esi], al
inc edi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10064110
test edi, edi
je 0x100641fb
cmp byte [esi], 0x5d
jne 0x100641fb
cmp edi, 0x10
jae 0x10064213
lea eax, [esp + 0x18]
mov byte [esp + edi + 0x18], 0
push eax
call dword [0x10091264]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [ecx + 0x14], eax
test eax, eax
jne 0x10064175
pop edi
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10075b41
add esp, 0x4c
ret
mov eax, dword [esp + 0x14]
mov word [eax], 0x5d
lea eax, [esp + 0x18]
mov byte [ebx + ebp], 0
push eax
push ebx
lea esi, [ebx + ebp]
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x100641fb
push 0x2e
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x20]
push eax
push 0x17
call sub.WS2_32.dll_inet_ntop
test eax, eax
je 0x100641e3
lea edx, [esp + 0x28]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100641b6
sub edx, ecx
cmp edx, ebp
jae 0x100641e3
lea ecx, [esp + 0x28]
mov esi, ebx
mov eax, ecx
sub esi, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x100641d0
lea esi, [edx + ebx]
mov byte [esi + 1], al
pop edi
mov byte [esi], 0x5d
xor eax, eax
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10075b41
add esp, 0x4c
ret
mov ecx, dword [esp + 0x58]
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10075b41
add esp, 0x4c
ret
call fcn.10075caf
int3
Function at 0x1006c740
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x120
mov eax, dword [0x10091628]
xor eax, esp
mov dword [esp + 0x11c], eax
mov eax, dword [esp + 0x124]
push ebx
push ebp
mov ebp, dword [esp + 0x134]
xor ebx, ebx
push esi
push edi
mov edi, dword [esp + 0x138]
xor esi, esi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edi
call fcn.10022dd0
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x1006c7bf
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004c930
push eax
push edi
push str.schannel:_invalid_path_name_for_CA_file__s:__s
push ebp
call fcn.10024e90
push esi
call dword [0x1009125c]
add esp, 0x20
lea eax, [ebx + 0x4d]
jmp 0x1006c91f
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
jne 0x1006c819
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004c930
push eax
push edi
push str.schannel:_failed_to_open_CA_file__s:__s
push ebp
call fcn.10024e90
push 0
mov esi, 0x4d
call dword [0x1009125c]
add esp, 0x20
jmp 0x1006c911
lea ecx, [esp + 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1006c859
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004c930
push eax
push edi
push str.schannel:_failed_to_determine_size_of_CA_file__s:__s
push ebp
call fcn.10024e90
add esp, 0x1c
mov esi, 0x4d
jmp 0x1006c8fd
mov edi, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0x1006c887
jg 0x1006c86d
cmp edi, 0x100000
jbe 0x1006c887
push 0x100000
push str.schannel:_CA_file_exceeds_max_size_of__u_bytes
push ebp
call fcn.10024e90
add esp, 0xc
mov esi, 0x4d
jmp 0x1006c8fd
lea eax, [edi + 1]
push eax
call dword [0x10091258]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x1006c89f
lea esi, [eax + 0x1b]
jmp 0x1006c8fd
test edi, edi
je 0x1006c8e4
nop dword [eax]
nop word [eax + eax]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006c93c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x1006c938
add esi, eax
cmp esi, edi
jb 0x1006c8b0
push ebp
push dword [esp + 0x18]
mov byte [edi + ebx], 0
push edi
push ebx
push dword [esp + 0x2c]
call fcn.1006c540
add esp, 0x14
mov esi, eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call dword [0x1009125c]
add esp, 4
push dword [esp + 0x20]
call fcn.100770de
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10075b41
add esp, 0x120
ret
mov edi, esi
jmp 0x1006c8e4
push 0x100
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.1004c930
push eax
push dword [esp + 0x24]
push str.schannel:_failed_to_read_from_CA_file__s:__s
push ebp
call fcn.10024e90
add esp, 0x1c
mov esi, 0x4d
jmp 0x1006c8fd
Function at 0x10071d90
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x10091258]
mov edi, eax
add esp, 4
test edi, edi
jne 0x10071db7
pop edi
pop esi
pop ecx
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [esp + 0x1c]
mov dword [edi + 8], eax
push ebp
cmp ebx, dword [esi + 0x10]
jbe 0x10071e02
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [esp + 0x24]
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x20], ebx
jmp 0x10071e06
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x28]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10071e66
mov dword [esp + 0x10], eax
mov ebx, eax
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x18], al
lea eax, [esp + 0x18]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x24], al
lea eax, [esp + 0x24]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x10071e25
mov ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0x10]
jae 0x10071e97
nop dword [eax + eax]
mov eax, dword [esi + 4]
push 1
push 0x10088300
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x10088301
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10071e70
pop ebp
pop ebx
mov eax, edi
pop edi
pop esi
pop ecx
ret
Function at 0x10071ea0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x20]
call fcn.10024b30
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [0x10091258]
mov edi, eax
add esp, 8
test edi, edi
je 0x10072008
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x10071f1c
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push ebp
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10071f81
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x10071f40
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esi + 0x10]
jae 0x10071fad
mov eax, dword [esi + 4]
push 1
push 0x10088300
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x10088301
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10071f86
push dword [esp + 0x28]
call fcn.10024b30
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
push dword [edi + 4]
mov eax, dword [ecx + 4]
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [edi]
test esi, esi
jne 0x10071fd8
mov esi, dword [ebx + 0xc]
add esi, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ebx + 8]
push esi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push esi
push dword [edi + 8]
call eax
push dword [edi + 8]
mov eax, dword [ebx + 8]
push esi
call eax
push edi
call dword [0x1009125c]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret
Function at 0x100720e0
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
sub esp, 0xc
lea eax, [esp + 4]
push 0xf0000040
push 0x18
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x10072106
mov eax, 0x1b
add esp, 0xc
ret
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x800c
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x10072136
push eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, 2
add esp, 0xc
ret
push dword [esp + 0x18]
call fcn.10024b30
add esp, 4
push 0
push eax
push dword [esp + 0x1c]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp dword [esp], 0x20
jne 0x1007218d
push 0
lea eax, [esp + 4]
push eax
push dword [esp + 0x18]
push 2
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov eax, dword [esp + 8]
test eax, eax
je 0x1007219c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x100721ad
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
xor eax, eax
add esp, 0xc
ret
Function at 0x100015d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b31d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movaps xmm0, xmmword [0x100af9e0]
xor ecx, ecx
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x677d5177
mov dword [ebp - 0x2c], 0x6077667c
mov byte [ebp - 0x28], 0
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x17
jb 0x10001628
mov byte [ebp - 0x28], 0
mov dl, 0x1f
mov dword [ebp - 0x20], 0x6d7a741f
xor ecx, ecx
mov dword [ebp - 0x1c], 0x2c737a71
mov dword [ebp - 0x18], 0x737b312d
mov word [ebp - 0x14], 0x73
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x10001669
mov dl, byte [ebp - 0x20]
jmp 0x10001658
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x13], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x3f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.100183b0
cmp al, 0xe9
jne 0x10001725
movaps xmm0, xmmword [0x100af710]
xor ecx, ecx
movups xmmword [ebp - 0x24], xmm0
mov word [ebp - 0x14], 0x58
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x10
jb 0x100016a4
xorps xmm0, xmm0
mov byte [ebp - 0x13], 0
lea ecx, [ebp - 0x23]
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100016d0
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10002580
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.1001d260
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x10001725
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000171b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001737
push ecx
push edx
call fcn.100810d6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008626f
int3
Function at 0x10001740
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b34d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dl, 0x11
mov dword [ebp - 0x20], 0x7c786511
mov dword [ebp - 0x1c], 0x65745674
xor ecx, ecx
mov dword [ebp - 0x18], 0x747c7845
mov byte [ebp - 0x14], 0
lea eax, [ebp - 0x1f]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xb
jae 0x100017a7
mov dl, byte [ebp - 0x20]
jmp 0x10001796
mov byte [ebp - 0x14], 0
mov dl, 0x73
mov dword [ebp - 0x38], 0x1161873
xor ecx, ecx
mov dword [ebp - 0x34], 0x401f161d
mov dword [ebp - 0x30], 0x1f175d41
mov word [ebp - 0x2c], 0x1f
nop word [eax + eax]
lea eax, [ebp - 0x37]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x100017e1
mov dl, byte [ebp - 0x38]
jmp 0x100017d0
lea eax, [ebp - 0x37]
mov byte [ebp - 0x2b], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1f]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.100183b0
cmp al, 0xe9
jne 0x100018a5
movaps xmm0, xmmword [0x100af250]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x2c], 0x30
nop dword [eax]
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0x10
jb 0x10001820
xorps xmm0, xmm0
mov byte [ebp - 0x2b], 0
lea ecx, [ebp - 0x3b]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001850
sub ecx, edx
lea eax, [ebp - 0x3b]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.10002580
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.1001d260
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100018a5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000189b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100018b7
push ecx
push edx
call fcn.100810d6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008626f
int3
Function at 0x100018c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b37d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100b7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dl, 0x2d
mov dword [ebp - 0x34], 0x59486a2d
mov dword [ebp - 0x30], 0x464e4479
xor ecx, ecx
mov dword [ebp - 0x2c], 0x4358426e
mov word [ebp - 0x28], 0x59
lea eax, [ebp - 0x33]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x10001929
mov dl, byte [ebp - 0x34]
jmp 0x10001918
mov byte [ebp - 0x27], 0
mov dl, 0x7a
mov dword [ebp - 0x24], 0x81f117a
xor ecx, ecx
mov dword [ebp - 0x20], 0x49161f14
mov dword [ebp - 0x1c], 0x161e5448
mov word [ebp - 0x18], 0x16
nop dword [eax]
lea eax, [ebp - 0x23]
xor byte [eax + ecx], dl
inc ecx
cmp ecx, 0xc
jae 0x10001961
mov dl, byte [ebp - 0x24]
jmp 0x10001950
lea eax, [ebp - 0x23]
mov byte [ebp - 0x17], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x33]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
call fcn.100183b0
cmp al, 0xe9
jne 0x10001a58
mov byte [ebp - 0x24], 0xb
mov cl, 0x62
xor cl, byte [ebp - 0x24]
mov al, 0x5f
xor al, byte [ebp - 0x24]
mov ch, 0x48
mov byte [ebp - 0x23], al
mov dl, 0x68
mov byte [ebp - 0x22], cl
mov dh, 0x64
mov cl, byte [ebp - 0x24]
mov ah, 0x60
mov byte [ebp - 0x11], 0x7e
xor dl, cl
mov al, byte [ebp - 0x11]
xor ch, cl
xor al, cl
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0x1d], al
xor dh, cl
mov al, byte [ebp - 0x12]
xor ah, cl
xor al, cl
mov byte [ebp - 0x13], 0x7f
mov byte [ebp - 0x1c], al
xorps xmm0, xmm0
mov al, byte [ebp - 0x13]
xor al, cl
mov byte [ebp - 0x1f], ch
lea ecx, [ebp - 0x23]
mov byte [ebp - 0x1a], 0
mov byte [ebp - 0x21], dl
mov byte [ebp - 0x1e], dh
lea edx, [ecx + 1]
mov byte [ebp - 0x20], ah
mov byte [ebp - 0x1b], al
mov byte [ebp - 0x1a], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001a03
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10002580
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0
call fcn.1001d260
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x10001a58
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10001a4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10001a6a
push ecx
push edx
call fcn.100810d6
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008626f
int3

Function at 0x10001d60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
ret
Function at 0x10001d70
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100b16c8
push 0x10082650
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc0
mov eax, dword [0x100b7040]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x40
push 0x3000
mov edx, dword [ebp - 0x44]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10001e05
xor al, al
jmp 0x10001e8e
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
mov byte [ecx], 0xc3
lea edx, [ebp - 0x20]
push edx
push 0x140
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001e30
xor al, al
jmp 0x10001e8e
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push 0x10001e7b
jmp eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10081075
mov esp, ebp
pop ebp
ret
Function at 0x10002b40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b4b0
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x100b7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb0], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x98
mov ebx, eax
lea eax, [ebp - 0xa8]
push 0
push eax
call fcn.100831e0
add esp, 8
lea ecx, [ebp - 0xa8]
call fcn.10007ba0
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x100aee50]
movups xmmword [ebp - 0xc4], xmm0
mov dword [ebp - 0xb4], 0x215a0e
nop word [eax + eax]
mov cl, byte [ebp - 0xc4]
xor byte [ebp + eax - 0xc3], cl
inc eax
cmp eax, 0x12
jb 0x10002bd0
lea edx, [ebp - 0xc3]
mov byte [ebp - 0xb1], 0
lea ecx, [ebp - 0xa8]
call fcn.10005cd0
mov esi, eax
push 0
push 8
mov eax, dword [esi]
mov eax, dword [eax + 4]
or dword [eax + esi + 0x14], 4
mov eax, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + esi + 0x14], eax
lea eax, [ebp - 0xd8]
push eax
call fcn.1007dbf9
add esp, 0xc
mov ecx, dword [eax]
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
push eax
call ecx
mov eax, dword [esi]
add esp, 0xc
mov ecx, esi
mov eax, dword [eax + 4]
push ebx
mov byte [eax + esi + 0x40], 0x30
call fcn.10003580
mov ecx, eax
mov byte [ebp - 0xaa], 0
mov dl, 0x2d
mov byte [ebp - 0xaa], 0
mov al, 0x70
mov byte [ebp - 0xac], dl
xor al, dl
lea edx, [ebp - 0xab]
mov byte [ebp - 0xab], al
call fcn.10005cd0
push edi
lea ecx, [ebp - 0xa8]
call fcn.100058d0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
lea ecx, [ebp - 0xa4]
call fcn.10007ad0
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax + 4]
lea ecx, [edx - 8]
mov dword [ebp + edx - 0xac], ecx
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - 0x58], vtable.std::ios_base.0
call fcn.1007d7ed
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10081075
mov esp, ebp
pop ebp
ret