joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10093e90
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
push dword [esp + 0x50]
mov edi, edx
mov esi, ecx
mov dword [esp + 0x18], edi
call fcn.1011366b
mov ecx, dword [0x10170ffc]
add esp, 4
mov dword [esp + 0x10], eax
test ecx, ecx
jne 0x10093ed6
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov dword [0x10170ffc], ecx
xor ebp, ebp
test esi, esi
je 0x10094036
test edi, edi
je 0x10094036
test bl, 3
jne 0x10093ef7
push str._prot__0x2____prot__0x1_
jmp 0x1009403b
mov dword [esi], ebp
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
cmp eax, 0xffffffff
jne 0x10093f29
call fcn.10110d7f
push str.failed_to_mmap._Invalid_handle_value
push 2
mov dword [eax], 9
call fcn.10028220
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov edi, ebx
and ebx, 1
and edi, 2
je 0x10093f3a
mov ebp, 4
jmp 0x10093f44
test ebx, ebx
mov eax, 2
cmovne ebp, eax
push 0
push ecx
push dword [esp + 0x60]
neg edi
push dword [esp + 0x60]
sbb edi, edi
and edi, 2
call fcn.10105980
mov ecx, dword [esp + 0x54]
sub ecx, eax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x58]
sbb ecx, edx
or eax, edx
mov dword [esp + 0x1c], ecx
je 0x10093f98
call fcn.10110d7f
push str.failed_to_mmap._Offset_must_be_multiple_of_allocation_granularity
push 2
mov dword [eax], 0x16
call fcn.10028220
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push 0
push 0
push 0
push ebp
push 0
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, eax
mov dword [esi + 8], ecx
test ecx, ecx
je 0x10094015
cmp ecx, 0xffffffff
je 0x10094015
mov ebp, dword [esp + 0x14]
mov eax, edi
push ebp
push dword [esp + 0x1c]
or eax, 4
test ebx, ebx
push dword [esp + 0x24]
cmove eax, edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [esi], eax
test eax, eax
jne 0x10094008
push str.failed_to_mmap._No_data_written
push 2
call fcn.10028220
add esp, 8
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
mov dword [esi + 4], ebp
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push str.failed_to_mmap._Invalid_handle_value
push 2
call fcn.10028220
add esp, 8
mov dword [esi + 8], 0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
push str.out_____void__0___len___0
push str.unrecoverable_internal_error
push 0x1014f2f8
push 0x23
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x100a4ac0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
push edi
lea eax, [esp + 0xc]
mov dword [esp + 8], 0x4016
push eax
push 0x20019
push 0
push dword [esp + 0x24]
mov esi, ecx
mov edi, 0xfffffffd
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a4b63
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0x18]
push eax
push 0
push str.InstallLocation
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a4b59
cmp dword [esp + 0x10], 1
jne 0x100a4b59
mov ecx, dword [esp + 8]
lea eax, [ecx - 1]
cmp eax, 0x200a
ja 0x100a4b59
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
lea eax, [ecx - 1]
je 0x100a4b39
xor edx, edx
mov eax, ecx
mov word [esi + ecx*2], dx
cmp word [esi + eax*2 - 2], 0x5c
jne 0x100a4b48
xor ecx, ecx
mov word [esi + eax*2 - 2], cx
push 0
push esi
call fcn.101131a1
add esp, 8
neg eax
sbb eax, eax
and edi, eax
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x100c2650
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0xc], edx
mov ecx, dword [esp + 0x20]
mov esi, 0x1505
and ecx, 0x1e
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
mov ebx, dword [edi]
cmp ebx, edx
jae 0x100c26ac
push ebp
mov al, byte [ebx]
cmp al, 0xa
je 0x100c26a7
cmp ecx, 0x10
jne 0x100c26bf
cmp al, 0xd
jne 0x100c2692
lea eax, [ebx + 1]
cmp eax, edx
jae 0x100c2692
cmp byte [eax], 0xa
je 0x100c269e
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [ebx]
xor esi, eax
mov ecx, dword [esp + 0x18]
inc ebx
cmp ebx, edx
jb 0x100c2677
mov edi, dword [esp + 0x1c]
pop ebp
cmp ebx, edx
lea eax, [ebx + 1]
cmovae eax, ebx
mov dword [edi], eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x10
ret
movzx eax, al
push eax
call fcn.10112630
mov edx, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x100c2692
lea edi, [ebx + 1]
mov ebp, ebx
mov dword [esp + 0x14], ebp
cmp edi, edx
jae 0x100c2705
mov ebp, edx
movzx eax, byte [edi]
push eax
call fcn.10112630
add esp, 4
test eax, eax
je 0x100c26fd
cmp byte [edi], 0xa
je 0x100c26fd
inc edi
inc ebx
cmp edi, ebp
jb 0x100c26e2
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
lea ecx, [ebx + 1]
cmp edx, ecx
jbe 0x100c2715
cmp byte [ecx], 0xa
je 0x100c2715
xor eax, eax
jmp 0x100c271a
mov eax, 1
test byte [esp + 0x24], 2
jne 0x100c269e
test byte [esp + 0x24], 4
je 0x100c273f
test eax, eax
jne 0x100c273f
mov eax, esi
shl esi, 5
add esi, eax
xor esi, 0x20
jmp 0x100c269e
test byte [esp + 0x24], 8
je 0x100c269e
test eax, eax
jne 0x100c269e
cmp ebp, ecx
je 0x100c269e
nop word [eax + eax]
mov eax, esi
shl esi, 5
add esi, eax
movsx eax, byte [ebp]
inc ebp
xor esi, eax
cmp ebp, ecx
jne 0x100c2760
jmp 0x100c269e
Function at 0x100cc9e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10128715
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x1016b440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 0xc], 1
jne 0x100cca68
push 4
call fcn.10104fc6
add esp, 4
test eax, eax
je 0x100cca21
mov dword [eax], method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4
jmp 0x100cca23
xor eax, eax
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x100cc950
push 0
push 0
call fcn.1010a5fb
add esp, 0x18
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100cca85
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x100cca7e
push ecx
push eax
call fcn.10103d0c
add esp, 8
test eax, eax
jne 0x100cca7e
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
push 1
call fcn.10103e38
push 6
mov dword [ebp - 0x10], 0
call fcn.10103e38
int3
Function at 0x100de370
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
movzx ebp, ax
xor eax, eax
mov esi, ebp
push edi
shr esi, 8
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x20], eax
jbe 0x100de3d1
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + edi*2]
mov edx, ecx
movzx ecx, cl
shr edx, 8
add edx, eax
cmp esi, ecx
jb 0x100de3d1
jne 0x100de3c8
cmp eax, edx
jge 0x100de3c8
mov ecx, dword [esp + 0x18]
movzx esi, cl
movzx ecx, byte [eax + ebx]
cmp cx, si
je 0x100de3f9
inc eax
cmp eax, edx
jl 0x100de3b6
mov esi, dword [esp + 0x10]
inc edi
mov eax, edx
cmp edi, dword [esp + 0x20]
jb 0x100de393
mov edi, dword [esp + 0x2c]
xor eax, eax
mov bl, 1
test edi, edi
je 0x100de40f
mov esi, dword [esp + 0x28]
movzx ecx, byte [eax + esi]
test cl, cl
jns 0x100de401
movzx edx, byte [eax + esi + 1]
inc eax
and ecx, 0x7f
shl ecx, 8
or edx, ecx
jmp 0x100de403
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret
mov edx, ecx
sub ebp, edx
js 0x100de40f
inc eax
xor bl, 1
cmp eax, edi
jb 0x100de3e1
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret
Function at 0x100e16c0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov esi, dword [esp + 0x1c]
test eax, eax
jg 0x100e16e5
jl 0x100e16d9
test esi, esi
jne 0x100e16e5
pop esi
xor eax, eax
xor edx, edx
pop ebx
add esp, 0xc
ret 0xc
cmp dword [ebx + 0x38], 0
push ebp
push edi
mov edi, esi
je 0x100e17b4
mov ebp, eax
lea ecx, [ebx + 0x2c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
je 0x100e1717
mov eax, dword [ecx]
mov eax, dword [eax]
jmp 0x100e1719
xor eax, eax
cdq
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x100e1766
jg 0x100e172c
test esi, esi
je 0x100e1766
cmp ebp, eax
jg 0x100e173c
jl 0x100e1736
cmp edi, esi
jae 0x100e173c
mov esi, edi
mov dword [esp + 0x10], ebp
push esi
push dword [esp + 0x18]
push dword [esp + 0x28]
call fcn.10106cf0
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x20]
sub edi, esi
sbb ebp, dword [esp + 0x10]
mov eax, dword [ecx]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x100e1786
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x100e179e
mov edx, dword [esp + 0x20]
lea ecx, [ebx + 0x2c]
add edi, 0xffffffff
mov esi, 1
adc ebp, 0xffffffff
mov byte [edx], al
add edx, esi
mov dword [esp + 0x20], edx
test ebp, ebp
jg 0x100e1700
jl 0x100e179e
test edi, edi
jne 0x100e1700
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
sub eax, edi
pop edi
sbb edx, ebp
pop ebp
pop esi
pop ebx
add esp, 0xc
ret 0xc
mov eax, dword [ebx + 0x1c]
mov ebp, dword [esp + 0x20]
mov edx, dword [eax]
test edx, edx
je 0x100e17f9
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x100e1800
mov edi, dword [esp + 0x24]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.10106cf0
mov eax, dword [ebx + 0x2c]
add ebp, esi
sub edi, esi
add esp, 0xc
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
mov esi, dword [esp + 0x24]
jmp 0x100e1800
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x100e1869
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100e182a
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax], edx
cmp edi, 0xfff
jbe 0x100e1854
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.101101e5
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100e1869
cmp edi, eax
ja 0x100e1832
test edi, edi
je 0x100e1869
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.101101e5
add esp, 0x10
sub edi, eax
mov edx, dword [esp + 0x28]
sub esi, edi
pop edi
pop ebp
mov eax, esi
sbb edx, 0
pop esi
pop ebx
add esp, 0xc
ret 0xc
Function at 0x100e2e40
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101299d0
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x1016b440]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x114]
push 0x104
push eax
push str.SteamPath
mov dword [ebp - 0x130], esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x11c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
push eax
lea ecx, [ebp - 0x12c]
movups xmmword [ebp - 0x12c], xmm0
call fcn.100cd5f0
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 0x130], 0
mov dword [ebp - 4], 0
push dword [ebp - 0x130]
test ecx, ecx
jne 0x100e2f3d
push 0x1c
push str.C:_Program_Files__x86__Steam
push esi
call fcn.100cd680
mov ecx, dword [ebp - 0x118]
add esp, 0x10
cmp ecx, 0xf
jbe 0x100e2f21
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100e2f17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100e2f88
push ecx
push edx
call fcn.10104ff6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10105004
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x118], 0xf
lea eax, [ebp - 0x12c]
push ecx
cmova eax, dword [ebp - 0x12c]
push eax
push esi
call fcn.100cd680
mov ecx, dword [ebp - 0x118]
add esp, 0x10
cmp ecx, 0xf
jbe 0x100e2f21
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100e2f17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100e2f17
call fcn.1010a9a8
int3
Function at 0x100e4ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x100e4c65
cmp dword [esi + 0x20], 0
je 0x100e4c65
cmp dword [esi + 0x24], 0
je 0x100e4c65
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100e4c65
cmp dword [eax], esi
jne 0x100e4c65
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x100e4b45
cmp eax, 0x39
je 0x100e4b45
cmp eax, 0x45
je 0x100e4b45
cmp eax, 0x49
je 0x100e4b45
cmp eax, 0x5b
je 0x100e4b45
cmp eax, 0x67
je 0x100e4b45
cmp eax, 0x71
je 0x100e4b45
cmp eax, 0x29a
jne 0x100e4c65
push edi
mov edi, dword [esi + 0x1c]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x2c], 2
mov ecx, dword [edi + 0x18]
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
test ecx, ecx
jns 0x100e4b7e
neg ecx
mov dword [edi + 0x18], ecx
cmp ecx, 2
mov eax, 0x2a
push 0
mov edx, 0x39
cmove eax, edx
push 0
mov dword [edi + 4], eax
push 0
jne 0x100e4ba0
call fcn.100e56e0
jmp 0x100e4ba5
call fcn.100e77f0
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.100e7fd0
mov esi, dword [esi + 0x1c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x4c]
add eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [esi + 0x44]
mov word [eax + ecx*2 - 2], dx
mov eax, dword [esi + 0x4c]
lea eax, [eax*2 - 2]
push eax
push edx
push dword [esi + 0x44]
call fcn.10107270
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x1012e9aa]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x1012e9a8]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x1012e9ac]
mov dword [esi + 0x90], eax
movzx eax, word [ecx*4 + 0x1012e9ae]
mov dword [esi + 0x7c], eax
xor eax, eax
pop edi
mov dword [esi + 0x6c], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x16b4], 0
mov dword [esi + 0x78], 2
mov dword [esi + 0x60], 2
mov dword [esi + 0x68], 0
mov dword [esi + 0x48], 0
pop esi
ret
mov eax, 0xfffffffe
pop esi
ret
Function at 0x100e9f70
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [esp + 4]
mov cl, byte [esp + 8]
lea eax, [edx - 2]
cmp eax, 0xa
ja case.default.0x100e9f84
jmp dword [eax*4 + 0x100ea114]
cmp cl, 0x40
jne 0x100e9f96
mov eax, 4
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100e9fa2
cmp al, 0x7a
jbe 0x100ea00c
cmp cl, 0x30
jl 0x100e9fac
cmp cl, 0x39
jle 0x100ea00c
cmp cl, 0x2d
je 0x100ea00c
cmp cl, 0x5f
je 0x100ea00c
cmp cl, 0x2e
je 0x100ea00c
cmp cl, 0x21
je 0x100ea00c
cmp cl, 0x7e
je 0x100ea00c
cmp cl, 0x2a
je 0x100ea00c
cmp cl, 0x27
je 0x100ea00c
cmp cl, 0x28
je 0x100ea00c
cmp cl, 0x29
je 0x100ea00c
cmp cl, 0x25
je 0x100ea00c
cmp cl, 0x3b
je 0x100ea00c
cmp cl, 0x3a
je 0x100ea00c
cmp cl, 0x26
je 0x100ea00c
cmp cl, 0x3d
je 0x100ea00c
cmp cl, 0x2b
je 0x100ea00c
cmp cl, 0x24
je 0x100ea00c
xor eax, eax
cmp cl, 0x2c
sete al
lea eax, [eax*2 + 1]
ret
mov eax, 3
ret
cmp cl, 0x5b
jne 0x100ea01d
mov eax, 5
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100ea029
cmp al, 0x7a
jbe 0x100ea06d
cmp cl, 0x30
jl 0x100ea033
cmp cl, 0x39
jle 0x100ea06d
cmp cl, 0x2e
je 0x100ea06d
cmp cl, 0x2d
je 0x100ea06d
cmp cl, 0x5f
je 0x100ea06d
mov eax, 1
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100ea054
cmp al, 0x7a
jbe 0x100ea06d
cmp cl, 0x30
jl 0x100ea05e
cmp cl, 0x39
jle 0x100ea06d
cmp cl, 0x2e
je 0x100ea06d
cmp cl, 0x2d
je 0x100ea06d
cmp cl, 0x5f
jne case.0x100e9f84.8
mov eax, 6
ret
cmp cl, 0x3a
jne case.default.0x100e9f84
mov eax, 0xb
ret
cmp cl, 0x5d
je 0x100ea0bc
cmp cl, 0x30
jl 0x100ea08d
cmp cl, 0x39
jle 0x100ea0b1
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100ea099
cmp al, 0x66
jbe 0x100ea0b1
cmp cl, 0x3a
je 0x100ea0b1
cmp cl, 0x2e
je 0x100ea0b1
cmp edx, 7
jne case.default.0x100e9f84
cmp cl, 0x25
jne case.default.0x100e9f84
lea eax, [edx + 2]
ret
mov eax, 7
ret
cmp cl, 0x5d
jne case.0x100e9f84.9
mov eax, 8
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100ea0ce
cmp al, 0x7a
jbe 0x100ea0fd
cmp cl, 0x30
jl 0x100ea0d8
cmp cl, 0x39
jle 0x100ea0fd
cmp cl, 0x25
je 0x100ea0fd
cmp cl, 0x2e
je 0x100ea0fd
cmp cl, 0x2d
je 0x100ea0fd
cmp cl, 0x5f
je 0x100ea0fd
cmp cl, 0x7e
mov eax, 1
mov edx, 0xa
cmove eax, edx
ret
mov eax, 0xa
ret
mov al, 9
sub cl, 0x30
cmp al, cl
sbb eax, eax
and eax, 0xfffffff5
add eax, 0xc
ret
Function at 0x100ea400
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov bl, byte [esp + 0xc]
push esi
cmp bl, 0x20
je case.default.0x100ea431
cmp bl, 0xd
je case.default.0x100ea431
cmp bl, 0xa
je case.default.0x100ea431
mov esi, dword [esp + 0xc]
lea eax, [esi - 0x14]
cmp eax, 0xb
ja case.default.0x100ea431
jmp dword [eax*4 + 0x100ea618]
cmp bl, 0x2f
je 0x100ea4a8
cmp bl, 0x2a
je 0x100ea4a8
or bl, 0x20
sub bl, 0x61
cmp bl, 0x19
ja case.default.0x100ea431
pop esi
mov eax, 0x15
pop ebx
ret
mov al, bl
or al, 0x20
sub al, 0x61
cmp al, 0x19
jbe 0x100ea613
cmp bl, 0x3a
jne case.default.0x100ea431
pop esi
mov eax, 0x16
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x100ea431
pop esi
mov eax, 0x17
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x100ea431
pop esi
mov eax, 0x18
pop ebx
ret
cmp bl, 0x40
je case.default.0x100ea431
cmp bl, 0x2f
jne 0x100ea4b0
pop esi
mov eax, 0x1b
pop ebx
ret
cmp bl, 0x3f
je 0x100ea573
cmp bl, 0x40
jne 0x100ea4c6
pop esi
mov eax, 0x1a
pop ebx
ret
mov al, bl
or al, 0x20
cmp al, 0x61
jb 0x100ea4d2
cmp al, 0x7a
jbe 0x100ea53b
cmp bl, 0x30
jl 0x100ea4dc
cmp bl, 0x39
jle 0x100ea53b
cmp bl, 0x2d
je 0x100ea53b
cmp bl, 0x5f
je 0x100ea53b
cmp bl, 0x2e
je 0x100ea53b
cmp bl, 0x21
je 0x100ea53b
cmp bl, 0x7e
je 0x100ea53b
cmp bl, 0x2a
je 0x100ea53b
cmp bl, 0x27
je 0x100ea53b
cmp bl, 0x28
je 0x100ea53b
cmp bl, 0x29
je 0x100ea53b
cmp bl, 0x25
je 0x100ea53b
cmp bl, 0x3b
je 0x100ea53b
cmp bl, 0x3a
je 0x100ea53b
cmp bl, 0x26
je 0x100ea53b
cmp bl, 0x3d
je 0x100ea53b
cmp bl, 0x2b
je 0x100ea53b
cmp bl, 0x24
je 0x100ea53b
cmp bl, 0x2c
je 0x100ea53b
cmp bl, 0x5b
je 0x100ea53b
cmp bl, 0x5d
jne case.default.0x100ea431
pop esi
mov eax, 0x19
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x10132c98], al
jne 0x100ea613
test bl, bl
js 0x100ea613
cmp bl, 0x23
je 0x100ea5ab
cmp bl, 0x3f
jne case.default.0x100ea431
pop esi
mov eax, 0x1c
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x10132c98], al
jne 0x100ea5b3
test bl, bl
js 0x100ea5b3
cmp bl, 0x23
je 0x100ea5ab
cmp bl, 0x3f
je 0x100ea5b3
pop esi
mov eax, 1
pop ebx
ret
pop esi
mov eax, 0x1e
pop ebx
ret
pop esi
mov eax, 0x1d
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x10132c98], al
jne 0x100ea5e3
test bl, bl
js 0x100ea5e3
cmp bl, 0x23
je 0x100ea613
cmp bl, 0x3f
jne case.default.0x100ea431
pop esi
mov eax, 0x1f
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x10132c98], al
jne 0x100ea613
test bl, bl
js 0x100ea613
cmp bl, 0x23
je 0x100ea613
cmp bl, 0x3f
jne case.default.0x100ea431
mov eax, esi
pop esi
pop ebx
ret
Function at 0x10104112
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
lea eax, [ebp - 4]
push eax
push 0x20000001
push str._x_sys_default_locale
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor ecx, ecx
test eax, eax
jne 0x10104139
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1010413c
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push ecx
push ecx
push esi
push eax
push dword [ebp + 8]
push ecx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push eax
push dword [esi]
call fcn.101040ee
pop esi
leave
ret 8

Function at 0x10112fd3
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.10112ed2
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x10113142
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x10113142
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101130f7
jg 0x1011302f
test eax, eax
je 0x101130ed
push 1
push 0x1000
call fcn.1011a10c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10113052
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x101130e4
push 0x8000
push ebx
call fcn.1011fa22
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x1011307b
jg 0x10113076
cmp ecx, 0x1000
jb 0x1011307b
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.101197eb
add esp, 0x10
cmp eax, 0xffffffff
je 0x101130c0
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x10113076
jl 0x101130a7
test ecx, ecx
jne 0x10113068
push dword [ebp - 0xc]
push ebx
call fcn.1011fa22
push esi
call fcn.1011a169
add esp, 0xc
xor ebx, ebx
jmp 0x10113150
cmp byte [edi + 0x24], 0
je 0x101130d7
cmp dword [edi + 0x20], 5
jne 0x101130d7
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x101130e2
mov ebx, dword [edi + 0x18]
jmp 0x101130e4
xor ebx, ebx
push esi
call fcn.1011a169
pop ecx
jmp 0x10113150
test ecx, ecx
jg 0x101130b9
jl 0x101130f7
test eax, eax
jae 0x101130b9
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10113ee9
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10113117
cmp byte [edi + 0x1c], 0
je 0x101130b9
jmp 0x10113148
push ebx
call fcn.1011366b
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x101130b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x10113150
cmp byte [edi + 0x1c], 0
je 0x1011314d
mov ebx, dword [edi + 0x18]
jmp 0x10113150
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10113ee9
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret