joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402850
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
sub esp, 0x40
push ebx
push esi
push edi
test ecx, ecx
jle 0x402878
mov eax, dword [ebp + 0x10]
lea edx, [ebp + 0x18]
dec ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0xc], ecx
mov dword [ebp - 0xc], eax
jmp 0x402886
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
test ecx, ecx
jle 0x40289f
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x14], eax
jmp 0x4028ad
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
test ecx, ecx
jle 0x4028c6
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x20], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x1c], eax
jmp 0x4028d4
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
test ecx, ecx
jle 0x4028ed
dec ecx
add edx, 8
mov dword [ebp + 0xc], ecx
mov eax, dword [edx - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [edx - 4]
mov dword [ebp - 0x24], eax
jmp 0x4028fb
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov eax, edx
mov dword [ebp - 0x30], 0
cdq
mov dword [ebp - 0x40], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x402942
add dword [esp], 5
retf
Function at 0x403900
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
sub esp, 0xc08
push ebx
push ebp
mov dword [esp + 0xc], edx
xor edx, edx
mov dword [esp + 8], edx
push esi
push edi
test ecx, ecx
je 0x40394b
xor esi, esi
lea edi, [esp + 0x818]
mov al, byte [esi + ecx]
test al, al
je 0x40393b
cbw
inc esi
mov word [edi], ax
add edi, 2
cmp esi, 0x1ff
jb 0x403921
jmp 0x403940
xor eax, eax
mov word [edi], ax
lea edx, [esp + 0x818]
mov dword [esp + 0x10], edx
xor edi, edi
xor ebp, ebp
test edx, edx
je 0x40399b
mov edi, edx
lea ecx, [edi + 2]
jmp 0x403960
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x403960
sub edi, ecx
sar edi, 1
cmp edi, 0x200
jb 0x40397c
mov edi, 0x1ff
push edi
push edx
lea eax, [esp + 0x420]
push eax
lea ebp, [edi + edi]
call fcn.004043d0
add esp, 0xc
xor eax, eax
mov word [esp + ebp + 0x418], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
jne 0x4039bd
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0x14
je 0x403a30
mov esi, dword [ebx]
cmp esi, ebx
je 0x403a30
test esi, esi
je 0x403a30
cmp word [esi + 0x24], 2
jbe 0x403a2a
movzx eax, word [esi + 0x2c]
cmp eax, 2
jbe 0x403a2a
cmp dword [esi + 0x18], 0
je 0x403a2a
test ebp, ebp
je 0x4039e5
cmp ebp, eax
jne 0x403a2a
push edi
push dword [esi + 0x30]
lea eax, [esp + 0x20]
push eax
call fcn.004043d0
xor eax, eax
add esp, 0xc
mov word [esp + edi*2 + 0x18], ax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x403a0a
cmp eax, dword [esi + 0x18]
jne 0x403a2a
cmp dword [esp + 0x10], 0
je 0x403a3d
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x41c]
push eax
call fcn.00401f40
add esp, 8
test eax, eax
je 0x403a3d
mov esi, dword [esi]
cmp esi, ebx
jne 0x4039c3
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc08
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc08
ret
Function at 0x404210
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Get windows directory from kuser_shared_data

Disassembly:
mov eax, dword [0x80d208]
sub esp, 0x20c
push ebp
mov ebp, ecx
push esi
push edi
test eax, eax
je 0x4043bd
cmp dword [0x80d20c], 0
jne 0x4043a9
xor eax, eax
push 0x100
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov byte [esp + 0x1e], al
lea eax, [esp + 0x20]
push eax
call fcn.00403a50
add esp, 0xc
xor edi, edi
xor eax, eax
nop
mov byte [esp + eax + 0x18], al
inc eax
cmp eax, 0x100
jb 0x404260
xor esi, esi
mov edi, edi
mov dl, byte [esp + esi + 0x18]
mov eax, esi
and eax, 3
movzx ecx, dl
movzx eax, byte [eax + 0x41e0d4]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
inc esi
mov byte [esp + edi + 0x18], dl
cmp esi, 0x100
jb 0x404270
xor esi, esi
xor edi, edi
xor edx, edx
lea eax, [esi + 1]
movzx esi, al
mov cl, byte [esp + esi + 0x18]
movzx eax, cl
add eax, edi
movzx edi, al
movzx eax, byte [esp + edi + 0x18]
mov byte [esp + esi + 0x18], al
mov byte [esp + edi + 0x18], cl
movzx eax, byte [esp + esi + 0x18]
movzx ecx, cl
add ecx, eax
movzx eax, cl
movzx eax, byte [esp + eax + 0x18]
xor al, byte [edx + 0x41e0d8]
mov byte [esp + edx + 0xc], al
inc edx
cmp edx, 0xb
jb 0x4042a5
push 0x200
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00403a50
mov edx, 0x7ffe0030
add esp, 0xc
xor ecx, ecx
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x404304
sub edx, esi
sar edx, 1
je 0x4043bd
mov esi, ebp
lea edi, [esi + 1]
mov edi, edi
mov al, byte [esi]
inc esi
test al, al
jne 0x404320
sub esi, edi
add edx, 0xc
add edx, esi
cmp edx, 0x200
ja 0x4043bd
xor eax, eax
push ebx
test edx, edx
je 0x404358
movzx ebx, word [eax + eax + 0x7ffe0030]
test bx, bx
je 0x404358
mov byte [esp + eax + 0x1c], bl
inc ecx
inc eax
cmp eax, edx
jb 0x404341
xor eax, eax
test edx, edx
je 0x404372
mov edi, edi
mov bl, byte [esp + eax + 0x10]
test bl, bl
je 0x404372
mov byte [esp + ecx + 0x1c], bl
inc eax
inc ecx
cmp eax, edx
jb 0x404360
xor eax, eax
test edx, edx
je 0x40438f
lea ecx, [esp + ecx + 0x1c]
lea esp, [esp]
mov bl, byte [eax + ebp]
test bl, bl
je 0x40438f
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, edx
jb 0x404380
push 8
push 0
lea eax, [esp + 0x24]
push eax
call dword [0x80d208]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
push 0x800
push 0
push ebp
call eax
pop edi
pop esi
pop ebp
add esp, 0x20c
ret
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20c
ret

Function at 0x41d5c2
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x10009810
Capabilities:
Get geographical location

Disassembly:
push 0xa0
mov eax, 0x100c95ed
call fcn.100c74ca
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x2c]
and dword [ebp - 4], 0
push 6
mov dword [ebp - 0xa4], eax
xor eax, eax
pop ecx
rep stosd dword es:[edi], eax
push eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xac], ebx
call fcn.10054044
push 8
pop ecx
xor eax, eax
mov byte [ebp - 4], 1
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x64]
call fcn.10053b49
and dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.100570f0
mov esi, eax
mov dword [ebp - 0xa8], esi
mov eax, dword [ebp - 0xa4]
mov ecx, eax
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x10009894
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
lea edx, [ebp - 0x44]
mov edi, dword [esi]
add eax, ecx
push edx
lea edx, [ebp - 0x2c]
push edx
mov edi, dword [edi + 4]
push eax
push ecx
mov ecx, edi
call dword [0x100e97d8]
mov ecx, esi
call edi
test al, al
je 0x10009a08
push str.userId
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 4]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.firstName
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x1c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.lastName
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x34]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.email
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x4c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.countryCode
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x64]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.displayName
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x7c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
call fcn.100090b6
push str.accountType
lea ecx, [ebp - 0x2c]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
push ecx
mov ecx, eax
call fcn.100556b6
push eax
lea ecx, [ebx + 0x94]
call fcn.100c8a78
lea ecx, [ebp - 0xa0]
call fcn.100090b6
test esi, esi
je 0x10009a18
push esi
lea ecx, [ebp - 0xa8]
call fcn.100c8a78
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10009a2c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100c8a78
pop ecx
pop ecx
and dword [ebp - 0x34], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.100542df
lea ecx, [ebp - 0x2c]
call fcn.100543b8
call fcn.100c7417
ret 4
Function at 0x1000a0cf
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x100c971e
call fcn.100c7428
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.100c8a78
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push dword [ebp - 0x10]
push 0x1000bd30
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x20
mov dword [esi], eax
test eax, eax
je 0x1000a119
mov eax, esi
call fcn.100c73f1
ret 4
push 6
mov dword [edi], ebx
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
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.100c8a78
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.100c8a78
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.100c8a78
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.100c8a78
sub esi, 1
jne 0x10041d3f
mov eax, dword [ebp + 8]
call fcn.100c73f1
ret 0xc
call fcn.100c8a78
int3
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.100c8a78
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.100c8a78
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.100c8a78
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.100c8a78
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.100c8a78
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.100c8a78
mov ecx, esi
call fcn.1006972c
jmp 0x10067c04
cmp al, 0x42
jne 0x10067b55
push 4
lea ecx, [esi + 0x24]
call fcn.100c8a78
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.100c8a78
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.100c8a78
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.100c8a78
mov ecx, esi
call fcn.1006972c
mov bl, 1
test bl, bl
je 0x10067c04
mov ecx, esi
call fcn.100c8a78
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.100c8a78
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.100c8a78
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.100c8a78
mov ecx, esi
call fcn.100b34bb
jmp 0x100b1535
cmp eax, 0x42
jne 0x100b1486
push 4
lea ecx, [esi + 0x24]
call fcn.100c8a78
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.100c8a78
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.100c8a78
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.100c8a78
mov ecx, esi
call fcn.100b34bb
mov bl, 1
test bl, bl
je 0x100b1535
mov ecx, esi
call fcn.100c8a78
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.100c8a78
int3