joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023460
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1016a39c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x10023486
xor eax, eax
jmp 0x10023541
mov eax, dword [esi + 0x20]
cmp dword [eax], 0
je 0x100234a8
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
add edx, dword [eax]
cmp dword [eax], edx
jae 0x100234a8
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void_]
mov byte [eax], bl
mov eax, ebx
jmp 0x10023541
cmp dword [esi + 0x4c], 0
je 0x1002353f
call fcn.10021ce6
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x100234d2
push dword [esi + 0x4c]
push eax
call fcn.100426a0
test al, al
pop ecx
pop ecx
cmovne edi, ebx
jmp 0x1002353f
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet___char_const___char_const___char_const____char___char___char___const]
test eax, eax
js 0x1002353f
cmp eax, 1
jle 0x1002350d
cmp eax, 3
jne 0x1002353f
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x100234c4
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x10023531
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x1002353f
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
mov eax, ebx
jne 0x10023541
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c73e0
leave
ret 4
Function at 0x10041bc7
Capabilities:
Encode data using base64

Disassembly:
push 0x14
mov eax, 0x100d28a5
call fcn.100c7428
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov edi, dword [ebp + 8]
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0xf
mov byte [edi], bl
mov eax, dword [ebp + 0x10]
mov edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], 1
test eax, eax
je 0x10041d4e
push 3
pop esi
mov ecx, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0x10], eax
mov al, byte [ecx]
mov byte [ebp + edi - 0x14], al
inc edi
mov dl, byte [ebp - 0x13]
inc ecx
mov dword [ebp + 0xc], ecx
mov ch, byte [ebp - 0x12]
mov cl, byte [ebp - 0x14]
mov byte [ebp - 0xf], ch
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xe], cl
cmp edi, esi
jne 0x10041c97
mov esi, dword [ebp + 8]
mov al, cl
shr al, 2
and cl, 3
mov byte [ebp - 0x18], al
mov edi, ebx
shl cl, 4
mov al, dl
shr al, 4
add cl, al
mov al, ch
mov byte [ebp - 0x17], cl
mov cl, dl
and cl, 0xf
shr al, 6
shl cl, 2
add cl, al
mov al, ch
and al, 0x3f
mov byte [ebp - 0x16], cl
mov byte [ebp - 0x15], al
cmp dword [0x1016fbd0], 0x10
mov ecx, 0x1016fbbc
movzx eax, byte [ebp + edi - 0x18]
cmovae ecx, dword [0x1016fbbc]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.100426a0
inc edi
cmp edi, 4
jl 0x10041c5f
mov dl, byte [ebp - 0xd]
mov edi, ebx
mov cl, byte [ebp - 0xe]
mov ch, byte [ebp - 0xf]
push 3
pop esi
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x10041c01
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x10041d4e
mov eax, edi
cmp edi, esi
jge 0x10041ccd
cmp eax, esi
jae 0x10041d59
mov byte [ebp + eax - 0x14], bl
inc eax
cmp eax, esi
jl 0x10041cb5
mov ch, byte [ebp - 0x12]
mov dl, byte [ebp - 0x13]
mov cl, byte [ebp - 0x14]
mov al, cl
and cl, 3
shr al, 2
mov byte [ebp - 0x18], al
mov al, dl
shr al, 4
and dl, 0xf
shl cl, 4
add cl, al
shl dl, 2
mov al, ch
mov byte [ebp - 0x17], cl
shr al, 6
and ch, 0x3f
add dl, al
mov byte [ebp - 0x15], ch
lea eax, [edi + 1]
mov byte [ebp - 0x16], dl
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x10041d39
mov esi, dword [ebp + 8]
mov edi, eax
cmp dword [0x1016fbd0], 0x10
mov ecx, 0x1016fbbc
movzx eax, byte [ebp + ebx - 0x18]
cmovae ecx, dword [0x1016fbbc]
movzx eax, byte [eax + ecx]
mov ecx, esi
push eax
call fcn.100426a0
inc ebx
cmp ebx, edi
jl 0x10041d0a
mov edi, dword [ebp - 0x1c]
push 3
pop esi
cmp edi, esi
jge 0x10041d4e
sub esi, edi
mov ecx, dword [ebp + 8]
push 0x3d
call fcn.100426a0
sub esi, 1
jne 0x10041d3f
mov eax, dword [ebp + 8]
call fcn.100c73f1
ret 0xc
call fcn.100426a0
int3
Function at 0x100426a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x100426af
pop dword [ebp - 0x24]
mov eax, 0x100426af
sub dword [ebp - 0x24], eax
mov dword [ebp - 0x34], 0x2596737c
add dword [ebp - 0x34], 0x28bbd1cf
mov dword [ebp - 0x30], 0x4c4a0963
add dword [ebp - 0x30], 0xe5e942e2
mov dword [ebp - 0x2c], 0x40e6f86d
sub dword [ebp - 0x2c], 0xf49ab43f
mov dword [ebp - 0x28], 0x46806c83
sub dword [ebp - 0x28], 0x46806c83
lea eax, [ebp - 0x34]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x24]
call dword [eax]
mov dword [ebp - 0x34], 0xf34df52c
add dword [ebp - 0x34], 0x8124742a
mov dword [ebp - 0x30], 0x9085470b
sub dword [ebp - 0x30], 0x4f18e596
mov dword [ebp - 0x2c], 0x6f528f73
sub dword [ebp - 0x2c], 0xbe32307
mov dword [ebp - 0x28], 0xcfd072a7
sub dword [ebp - 0x28], 0xcfd072a7
lea ebx, [ebp - 0x34]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x24]
call dword [eax]
push 0x40
push 0x1000
push 0x842df
push 0
call eax
mov ecx, 0x46a04216
sub ecx, 0x469ffdcb
mov ebx, eax
mov edx, 0x820d8cd6
add edx, 0x8e0a872a
add edx, dword [ebp - 0x24]
mov edi, 0xb4e8a32
add dword [ebp - 8], 0x5365ced7
mov esi, dword [edx]
mov dword [ebp - 4], 0xece9b7da
sub esi, edi
xor dword [ebp - 4], 0xf545b89f
mov dword [ebx], esi
sub dword [ebp - 8], edi
add ebx, 0xef96f199
sub ebx, 0xef96f195
add edx, 0xab1930ab
sub edx, 0xab1930a7
loop 0x100427bc
add eax, 0x470d2356
add eax, 0xb8f3e0a9
xor ebx, ebx
add ebx, eax
add eax, 0xce802643
sub eax, 0xce80263e
mov ecx, 0x229f6b5f
sub ecx, 0x129f6b5f
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x10043da8
Capabilities:
Set http header

Disassembly:
push 0x4c
mov eax, 0x100d2b36
call fcn.100c745c
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [edi]
mov edi, dword [edi + 4]
jmp 0x10043e69
push 0x100efc48
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.100439f8
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push ecx
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100426a0
add esp, 0x18
lea ecx, [ebp - 0x58]
call fcn.100227b7
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100426a0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
pop ecx
cmovae eax, dword [ebp - 0x28]
pop ecx
push 0x20000000
push 0xffffffffffffffff
push eax
push dword [ebx]
call dword [sym.imp.winhttp.dll_WinHttpAddRequestHeaders]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10043e49
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.100426a0
pop ecx
pop ecx
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.100227b7
add esi, 0x30
cmp esi, edi
jne 0x10043dc4
mov al, 1
call fcn.100c7406
ret
Function at 0x10059dd2
Capabilities:
Check mutex on windows

Disassembly:
push 0
mov eax, 0x100d5cc9
call fcn.100c7428
mov esi, ecx
mov eax, dword [esi]
xor edi, edi
mov dword [ebp - 4], edi
test eax, eax
jne 0x10059e26
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
jne 0x10059e26
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 5
jne 0x10059e26
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push edi
push edi
call dword [sym.imp.kernel32.dll_OpenMutexW]
mov dword [esi], eax
cmp dword [esi], edi
lea ecx, [ebp + 8]
setne bl
call fcn.100227b7
mov al, bl
call fcn.100c73f1
ret 0x18

Function at 0x1005cf19
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f1f60]
xor byte [esi + ecx], al
inc esi
cmp esi, 9
jb 0x1005cf1d
pop edi
mov byte [ecx + 9], 0
mov eax, ecx
pop esi
ret

Function at 0x1005e270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x1016a39c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 0xffff
mov esi, ecx
cmp bx, di
jne 0x1005e299
xor eax, eax
jmp 0x1005e35f
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005e2c1
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
lea edx, [ecx + edx*2]
cmp ecx, edx
jae 0x1005e2c1
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_protected:_unsigned_short_int____thiscall_std::basic_streambuf_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::_Pninc_void_]
mov word [eax], di
mov ax, di
jmp 0x1005e35f
cmp dword [esi + 0x4c], 0
je 0x1005e35c
mov ecx, esi
call fcn.1005e1a5
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x1005e2ed
push dword [esi + 0x4c]
push edi
call fcn.100426a0
pop ecx
pop ecx
test al, al
je 0x1005e35c
movzx ebx, di
jmp 0x1005e35c
lea eax, [ebp - 0x2c]
mov word [ebp - 0x28], di
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_unsigned_short_int__char__struct__Mbstatet_::out_struct__Mbstatet___unsigned_short_int_const___unsigned_short_int_const___unsigned_short_int_const____char___char___char___const]
test eax, eax
js 0x1005e35c
cmp eax, 1
jle 0x1005e329
cmp eax, 3
jne 0x1005e35c
push dword [esi + 0x4c]
push dword [ebp - 0x28]
jmp 0x1005e2dd
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
sub eax, ecx
mov dword [ebp - 0x34], eax
je 0x1005e34d
push dword [esi + 0x4c]
push eax
mov eax, ecx
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp dword [ebp - 0x34], eax
jne 0x1005e35c
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
mov ax, di
jne 0x1005e35f
mov ax, bx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c73e0
leave
ret 4
Function at 0x10067abc
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x10067c13
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x10067c12
cmp eax, 0x29
jne 0x10067af4
cmp dword [esi + 0x10], 0
jne 0x10067c12
test dword [esi + 0x50], edx
je 0x10067c23
cmp eax, 0x2e
jne 0x10067b0f
push 5
lea ecx, [esi + 0x24]
call fcn.100426a0
mov ecx, esi
call fcn.1006972c
jmp 0x10067bfd
cmp eax, 0x5c
jne 0x10067b61
mov ecx, esi
call fcn.1006972c
test byte [esi + 0x50], 0x80
je 0x10067b55
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x10067b3e
push 4
lea ecx, [esi + 0x24]
call fcn.100426a0
mov ecx, esi
call fcn.1006972c
jmp 0x10067c04
cmp al, 0x42
jne 0x10067b55
push 4
lea ecx, [esi + 0x24]
call fcn.100426a0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x10067b32
mov ecx, esi
call fcn.10067c2d
jmp 0x10067bfd
cmp eax, 0x5b
jne 0x10067b81
mov ecx, esi
call fcn.1006972c
mov ecx, esi
call fcn.100680eb
push 4
push 0x5d
mov ecx, esi
call fcn.100426a0
jmp 0x10067bfd
cmp eax, 0x28
jne 0x10067ba3
mov ecx, esi
call fcn.1006972c
mov ecx, esi
call fcn.100699f9
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.100426a0
jmp 0x10067bf9
cmp eax, 0x5e
jne 0x10067baf
push 2
jmp 0x10067b2a
cmp eax, 0x24
jne 0x10067bbb
push 3
jmp 0x10067b2a
cmp eax, 0x2a
je 0x10067c1f
cmp eax, 0x2b
je 0x10067c1f
cmp eax, 0x3f
je 0x10067c1f
cmp eax, 0x7b
je 0x10067c1f
cmp eax, 0x7d
jne 0x10067bd9
test dword [esi + 0x50], edx
je 0x10067c17
cmp eax, 0x5d
jne 0x10067be3
test dword [esi + 0x50], edx
je 0x10067c1b
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100426a0
mov ecx, esi
call fcn.1006972c
mov bl, 1
test bl, bl
je 0x10067c04
mov ecx, esi
call fcn.100426a0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x10067ace
pop ebx
mov al, cl
pop esi
ret
push 6
jmp 0x10067c25
push 4
jmp 0x10067c25
push 0xa
jmp 0x10067c25
push 5
mov ecx, esi
call fcn.100426a0
int3

Function at 0x1006dc07
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f33a8]
xor byte [esi + ecx], al
inc esi
cmp esi, 0xb
jb 0x1006dc0b
pop edi
mov byte [ecx + 0xb], 0
mov eax, ecx
pop esi
ret

Function at 0x1006dc2e
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
xor esi, esi
xor edx, edx
mov eax, esi
mov edi, 0x10e
div edi
mov al, byte [edx + 0x100f33a8]
xor byte [esi + ecx], al
inc esi
cmp esi, 0xa
jb 0x1006dc32
pop edi
mov byte [ecx + 0xa], 0
mov eax, ecx
pop esi
ret
Function at 0x100b13ea
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x100b1544
push ebx
mov edx, 0x10000000
cmp eax, 0x7c
je 0x100b1543
cmp eax, 0x29
jne 0x100b1422
cmp dword [esi + 0x10], 0
jne 0x100b1543
test dword [esi + 0x50], edx
je 0x100b1554
cmp eax, 0x2e
jne 0x100b143d
push 5
lea ecx, [esi + 0x24]
call fcn.100426a0
mov ecx, esi
call fcn.100b34bb
jmp 0x100b152e
cmp eax, 0x5c
jne 0x100b1492
mov ecx, esi
call fcn.100b34bb
test byte [esi + 0x50], 0x80
je 0x100b1486
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x100b146e
push 4
lea ecx, [esi + 0x24]
call fcn.100426a0
mov ecx, esi
call fcn.100b34bb
jmp 0x100b1535
cmp eax, 0x42
jne 0x100b1486
push 4
lea ecx, [esi + 0x24]
call fcn.100426a0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x100b1462
mov ecx, esi
call fcn.100b155e
jmp 0x100b152e
cmp eax, 0x5b
jne 0x100b14b2
mov ecx, esi
call fcn.100b34bb
mov ecx, esi
call fcn.100b17cc
push 4
push 0x5d
mov ecx, esi
call fcn.100426a0
jmp 0x100b152e
cmp eax, 0x28
jne 0x100b14d4
mov ecx, esi
call fcn.100b34bb
mov ecx, esi
call fcn.100b3c58
push 5
push 0x29
mov ecx, esi
mov bl, al
call fcn.100426a0
jmp 0x100b152a
cmp eax, 0x5e
jne 0x100b14e0
push 2
jmp 0x100b145a
cmp eax, 0x24
jne 0x100b14ec
push 3
jmp 0x100b145a
cmp eax, 0x2a
je 0x100b1550
cmp eax, 0x2b
je 0x100b1550
cmp eax, 0x3f
je 0x100b1550
cmp eax, 0x7b
je 0x100b1550
cmp eax, 0x7d
jne 0x100b150a
test dword [esi + 0x50], edx
je 0x100b1548
cmp eax, 0x5d
jne 0x100b1514
test dword [esi + 0x50], edx
je 0x100b154c
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.100426a0
mov ecx, esi
call fcn.100b34bb
mov bl, 1
test bl, bl
je 0x100b1535
mov ecx, esi
call fcn.100426a0
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x100b13fc
pop ebx
mov al, cl
pop esi
ret
push 6
jmp 0x100b1556
push 4
jmp 0x100b1556
push 0xa
jmp 0x100b1556
push 5
mov ecx, esi
call fcn.100426a0
int3
Function at 0x100b17cc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x24]
call fcn.100426a0
cmp dword [esi + 0x4c], 0x5e
jne 0x100b17ec
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.100b34bb
test dword [esi + 0x50], 0x20000000
je 0x100b180c
cmp dword [esi + 0x4c], 0x5d
jne 0x100b180c
push 0x5d
lea ecx, [esi + 0x24]
call fcn.100426a0
mov ecx, esi
call fcn.100b34bb
pop edi
mov ecx, esi
pop esi
jmp 0x100b1ab9
push edi
mov edi, ecx
call fcn.100b198a
test eax, eax
je 0x100b1b7a
push esi
cmp eax, 2
je 0x100b1b4d
cmp dword [edi + 0x44], 0
jne 0x100b1ae2
test dword [edi + 0x50], 0x100000
je 0x100b1b7c
cmp dword [edi + 0x4c], 0x2d
jne 0x100b1b40
mov ecx, edi
call fcn.100b34bb
movzx esi, word [edi + 0x44]
mov ecx, edi
call fcn.100b198a
test eax, eax
je 0x100b1b62
cmp eax, 2
je 0x100b1b5e
test dword [edi + 0x40], 0x800
je 0x100b1b2b
movzx eax, word [edi + 0x44]
mov ecx, dword [edi + 0x3c]
push eax
call fcn.100426a0
mov ecx, dword [edi + 0x3c]
movzx eax, ax
push esi
mov dword [edi + 0x44], eax
call fcn.100426a0
movzx esi, ax
movzx eax, word [edi + 0x44]
cmp ax, si
jb 0x100b1b5e
push eax
push esi
lea ecx, [edi + 0x24]
call fcn.100426a0
jmp 0x100b1b4d
movzx eax, word [edi + 0x44]
lea ecx, [edi + 0x24]
push eax
call fcn.100426a0
mov ecx, edi
call fcn.100b198a
test eax, eax
jne 0x100b1aca
jmp 0x100b1b79
push 8
jmp 0x100b1b7e
movzx eax, word [edi + 0x44]
lea ecx, [edi + 0x24]
push eax
call fcn.100426a0
push 0x2d
lea ecx, [edi + 0x24]
call fcn.100426a0
pop esi
pop edi
ret
push 2
mov ecx, edi
call fcn.100426a0
int3
Function at 0x100b5a2a
Capabilities:
Create process on windows

Disassembly:
push 0x8c
mov eax, 0x100e4f7b
call fcn.100c745c
mov eax, dword [ebp + 8]
xor ebx, ebx
and dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x98], eax
inc ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
and dword [ebp - 4], ecx
mov esi, dword [eax]
mov edi, dword [eax + 4]
jmp 0x100b5abc
and dword [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
and dword [ebp - 0x2c], 0
push esi
call fcn.100426a0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], bl
call fcn.100426a0
push 0x100f1ea8
lea ecx, [ebp - 0x28]
call fcn.100426a0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x100b5ab9
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x40]
call fcn.100426a0
pop ecx
pop ecx
add esi, 0x18
cmp esi, edi
jne 0x100b5a63
push 0x44
pop esi
push esi
lea eax, [ebp - 0x84]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, dword [ebp - 0x98]
lea edi, [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x84], esi
stosd dword es:[edi], eax
lea edx, [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 8
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jb 0x100b5b00
mov ecx, dword [ecx]
lea eax, [ebp - 0x94]
xor esi, esi
push eax
lea eax, [ebp - 0x84]
push eax
movzx eax, byte [ebp + 0x10]
push esi
push esi
xor eax, ebx
shl eax, 0x1b
push eax
push esi
push esi
push esi
push edx
push ecx
call dword [sym.imp.kernel32.dll_CreateProcessW]
test eax, eax
je 0x100b5b45
push dword [ebp - 0x94]
mov ebx, esi
call dword [sym.imp.kernel32.dll_CloseHandle]
push dword [ebp - 0x90]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x100b5b5f
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebp - 0x28]
call fcn.100426a0
pop ecx
pop ecx
mov eax, ebx
call fcn.100c7406
ret
Function at 0x100b5b67
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x34
mov eax, 0x100e4fab
call fcn.100c745c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x100b5c1c
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x100b5c1c
cmp byte [ebp + 0x10], 0
jne 0x100b5c0f
cmp dword [eax + 0x14], 0x10
jb 0x100b5ba0
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
jb 0x100b5bae
mov ecx, dword [ecx]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], ecx
push eax
xor ebx, ebx
mov dword [ebp - 0x38], edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
je 0x100b5c1c
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.100426a0
push dword [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [esi + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x100b5bf6
mov eax, dword [esi]
mov byte [eax], bl
mov ecx, esi
lea eax, [ebp - 0x28]
push eax
call fcn.100426a0
lea ecx, [ebp - 0x28]
call fcn.100090b6
xor eax, eax
jmp 0x100b5c1f
push esi
push ecx
push eax
call fcn.100426a0
add esp, 0xc
jmp 0x100b5c1f
xor eax, eax
inc eax
call fcn.100c7406
ret

Function at 0x100b5e8a
Capabilities:
Encrypt data using dpapi

Disassembly:
push 0x34
mov eax, 0x100e4fab
call fcn.100c745c
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [eax + 0x10]
test edx, edx
je 0x100b5f3f
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x100b5f3f
cmp byte [ebp + 0x10], 0
jne 0x100b5f32
cmp dword [eax + 0x14], 0x10
jb 0x100b5ec3
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0x10
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
jb 0x100b5ed1
mov ecx, dword [ecx]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], ecx
push eax
xor ebx, ebx
mov dword [ebp - 0x38], edi
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
push ebx
lea eax, [ebp - 0x40]
push eax
call sub.CRYPT32.dll_CryptProtectData
test eax, eax
je 0x100b5f3f
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.100426a0
push dword [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [esi + 0x10], ebx
mov eax, esi
cmp dword [esi + 0x14], 0x10
jb 0x100b5f19
mov eax, dword [esi]
mov byte [eax], bl
mov ecx, esi
lea eax, [ebp - 0x28]
push eax
call fcn.100426a0
lea ecx, [ebp - 0x28]
call fcn.100090b6
xor eax, eax
jmp 0x100b5f42
push esi
push ecx
push eax
call fcn.100426a0
add esp, 0xc
jmp 0x100b5f42
xor eax, eax
inc eax
call fcn.100c7406
ret
Function at 0x100b64fb
Capabilities:
Get storage device properties

Disassembly:
push 0x54
mov eax, 0x100e50d6
call fcn.100c745c
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
mov dword [ebp - 0x48], eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x100b6530
xor al, al
jmp 0x100b66ae
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push eax
push 8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x38], ebx
push eax
push 0xc
lea eax, [ebp - 0x38]
mov dword [ebp - 0x34], ebx
push eax
push 0x2d1400
xorps xmm0, xmm0
mov dword [ebp - 0x14], ebx
push edi
movlpd qword [ebp - 0x40], xmm0
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x100b656e
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x100b6529
mov esi, dword [ebp - 0x3c]
push esi
call fcn.100426a0
push esi
push ebx
push eax
mov dword [ebp - 0x44], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0x14]
push ebx
push eax
push esi
mov esi, dword [ebp - 0x44]
lea eax, [ebp - 0x38]
push esi
push 0xc
push eax
push 0x2d1400
push edi
call dword [sym.imp.kernel32.dll_DeviceIoControl]
test eax, eax
jne 0x100b65ae
push esi
call fcn.100c7651
pop ecx
jmp 0x100b6565
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], ebx
test eax, eax
je 0x100b668a
cmp eax, dword [esi + 4]
jae 0x100b668a
add eax, esi
lea ecx, [ebp - 0x60]
push eax
call fcn.100426a0
lea ecx, [ebp - 0x2c]
cmp ecx, eax
je 0x100b65f0
mov byte [ebp - 0x44], bl
push dword [ebp - 0x44]
push eax
call fcn.100426a0
lea ecx, [ebp - 0x60]
call fcn.100090b6
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
test eax, eax
je 0x100b661d
lea edx, [eax + ecx]
mov eax, ecx
cmp ecx, edx
jae 0x100b661d
cmp byte [eax], 0x20
jne 0x100b6649
inc eax
cmp eax, edx
jb 0x100b6613
or eax, 0xffffffff
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100426a0
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae edx, dword [ebp - 0x2c]
test eax, eax
je 0x100b665b
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
add ecx, edx
jmp 0x100b6652
sub eax, ecx
jmp 0x100b6620
cmp ecx, edx
je 0x100b665b
dec ecx
cmp byte [ecx], 0x20
je 0x100b664d
sub ecx, edx
jmp 0x100b665e
or ecx, 0xffffffff
lea eax, [ecx + 1]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100426a0
push dword [ebp - 0x48]
lea eax, [ebp - 0x2c]
push eax
call fcn.100426a0
push esi
call fcn.100c7651
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov bl, 1
jmp 0x100b6698
push esi
call fcn.100c7651
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x100b66ac
inc ecx
push ecx
push dword [ebp - 0x2c]
call fcn.100426a0
pop ecx
pop ecx
mov al, bl
call fcn.100c7406
ret