joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10052ad0
Capabilities:
Get common file path

Disassembly:
push esi
push edi
mov edi, ecx
push edi
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
test esi, esi
jne 0x10052b09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
mov ecx, 0xd
mov esi, 2
cmove esi, ecx
call fcn.100fe8aa
pop edi
mov dword [eax], esi
or eax, 0xffffffff
pop esi
ret
cmp esi, 0x1000
jle 0x10052b22
call fcn.100fe8aa
pop edi
pop esi
mov dword [eax], 0x26
or eax, 0xffffffff
ret
push 4
push str.__
push edi
call fcn.10102576
add esp, 0xc
test eax, eax
jne 0x10052b4a
sub esi, 4
lea eax, [esi + esi]
push eax
lea eax, [edi + 8]
push eax
push edi
call fcn.100f6030
add esp, 0xc
pop edi
mov eax, esi
pop esi
ret
Function at 0x1007c8a0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x38
mov eax, dword [ecx + 0x10]
push ebx
push ebp
mov ebp, edx
mov eax, dword [eax + 0x1c]
mov dword [esp + 8], eax
push esi
push edi
test ebp, ebp
jne 0x1007c8db
push str.data
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebx, dword [esp + 0x54]
test ebx, ebx
jne 0x1007c907
push str.size
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, dword [0x1015bdfc]
test eax, eax
jne 0x1007c924
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x40]
mov dword [0x1015bdfc], eax
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
push 0
push eax
push edi
push esi
call fcn.100f4ca0
sub esi, eax
mov dword [esp + 0x14], eax
sbb edi, 0
push edi
push esi
push dword [esp + 0x18]
lea edx, [eax + ebx]
push ecx
push 2
lea ecx, [esp + 0x2c]
call fcn.10093e90
add esp, 0x14
test eax, eax
js 0x1007c979
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x14]
push ebx
push ebp
push eax
call fcn.100f6030
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10094060
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret

Function at 0x1007c990
Capabilities:
Get system information on windows
Write file on windows

Disassembly:
sub esp, 0x38
mov eax, dword [ecx + 0x10]
push ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
push ebp
push esi
push edi
test ebx, ebx
jne 0x1007c9c2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ebp, dword [0x1015bdfc]
test ebp, ebp
jne 0x1007c9e9
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [0x1015bdfc], ebp
mov esi, ebx
xor edi, edi
add esi, ecx
adc edi, eax
xor ebx, ebx
push ebx
push ebp
push edi
push esi
call fcn.100f4ca0
sub ebp, eax
mov dword [esp + 0x14], 0
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
sbb ebx, ebx
movlpd qword [esp + 0x24], xmm0
add ebp, esi
mov esi, dword [esp + 0x1c]
adc ebx, edi
sub ebp, 1
mov dword [esp + 0x2c], ebp
mov eax, dword [esi + 0x10]
sbb ebx, 0
mov dword [esp + 0x30], ebx
push dword [eax + 0x1c]
call fcn.101017fb
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x28]
add esp, 4
push ecx
lea ecx, [esp + 0x18]
push ecx
push 1
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1007ca81
cmp dword [esp + 0x14], 0
jl 0x1007ca86
mov eax, dword [esi + 0x10]
mov edx, edi
push dword [esp + 0x4c]
mov ecx, esi
push dword [eax + 0x24]
push dword [eax + 0x20]
call fcn.1007c8a0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
call fcn.1003f370
mov eax, dword [esi + 0x10]
add eax, 0xa8
push eax
push str.cannot_extend_packfile__s
push 2
call fcn.10028220
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x1007fc50
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1007fc7f
push 0x10149c4c
push str.invalid_argument
push 0x1013b008
push 3
call fcn.10028220
add esp, 0x10
mov dword [esi + 0x960], 1
or eax, 0xffffffff
pop esi
ret
mov dword [esi], 0
xor eax, eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 1
mov dword [esi + 0x68], 1
mov dword [esi + 0x64], 1
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x960], 1
pop esi
ret

Function at 0x1007fcf0
Capabilities:
Hash data using sha1

Disassembly:
push ecx
mov eax, dword [ecx + 0x960]
sub eax, 1
je 0x1007fd10
push str.unknown_hash_algorithm
push 0x23
call fcn.10028220
add esp, 8
or eax, 0xffffffff
pop ecx
ret
mov dword [ecx], 0
xor eax, eax
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 1
mov dword [ecx + 0x68], 1
mov dword [ecx + 0x64], 1
mov dword [ecx + 0x6c], 0
mov dword [ecx + 0x70], 0
pop ecx
ret
Function at 0x10087220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x10156440]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov eax, ecx
mov dword [esp + 4], 0x1015de6d
push esi
mov esi, edx
mov dword [esp + 0x14], eax
xor ebx, ebx
mov dword [esp + 0xc], 0
mov dword [eax], ebx
lea edx, [esp + 0x1c]
push edi
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x14], 0
call fcn.10040360
test eax, eax
js 0x100872bf
mov ecx, dword [esp + 0x50]
cmp dword [esi], ecx
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jne 0x100872a1
mov eax, dword [esp + 0x54]
cmp dword [esi + 4], eax
jne 0x100872a1
cmp dword [esi + 8], ecx
jne 0x100872a1
cmp dword [esi + 0x10], edi
jne 0x100872a1
cmp dword [esi + 0x14], edx
jne 0x100872a1
movzx eax, word [esp + 0x24]
cmp dword [esi + 0x18], eax
je 0x10087311
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
mov dword [esi], eax
movzx eax, word [esp + 0x24]
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], eax
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0xc]
call fcn.10038b00
mov edi, dword [esp + 0xc]
mov ebx, eax
test ebx, ebx
js 0x10087360
push ecx
push dword [esp + 0x18]
mov edx, edi
lea ecx, [esp + 0x78]
call fcn.1007ff30
mov ebx, eax
add esp, 8
test ebx, ebx
js 0x10087360
lea edx, [esi + 0x20]
mov edi, 0x10
lea ecx, [esp + 0x70]
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x10087352
add ecx, 4
add edx, 4
sub edi, 4
jae 0x10087300
xor edi, edi
cmp dword [esi + 0x3c], edi
jbe 0x1008735c
xor eax, eax
mov dword [esp + 0x1c], eax
nop
mov edx, dword [esi + 0x38]
add edx, eax
je 0x1008735c
mov ecx, dword [esp + 0x18]
call fcn.10087220
mov ebx, eax
test ebx, ebx
js 0x1008735c
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
jne 0x1008735c
mov eax, dword [esp + 0x1c]
inc edi
add eax, 0x48
mov dword [esp + 0x1c], eax
cmp edi, dword [esi + 0x3c]
jb 0x10087320
jmp 0x1008735c
mov eax, dword [esp + 0x18]
mov dword [eax], 1
mov edi, dword [esp + 0xc]
cmp dword [esp + 0x10], 0
jbe 0x10087387
test edi, edi
je 0x10087387
cmp edi, 0x1015de6c
je 0x10087387
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x101182f8]
call esi
add esp, 4
mov ecx, dword [esp + 0x84]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100f4326
mov esp, ebp
pop ebp
ret
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.101017fb
mov ecx, dword [0x1015bdfc]
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 [0x1015bdfc], 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.100fe8aa
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.100f4ca0
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.100fe8aa
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 0x1013b008
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.10101331
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.101007c0
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.101007c0
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 0x10115e65
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10156440]
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.100f42e8
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.100f993b
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.100f26cc
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.100f27f8
push 6
mov dword [ebp - 0x10], 0
call fcn.100f27f8
int3
Function at 0x100d34b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x100d3635
cmp dword [esi + 0x20], 0
je 0x100d3635
cmp dword [esi + 0x24], 0
je 0x100d3635
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100d3635
cmp dword [eax], esi
jne 0x100d3635
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x100d3515
cmp eax, 0x39
je 0x100d3515
cmp eax, 0x45
je 0x100d3515
cmp eax, 0x49
je 0x100d3515
cmp eax, 0x5b
je 0x100d3515
cmp eax, 0x67
je 0x100d3515
cmp eax, 0x71
je 0x100d3515
cmp eax, 0x29a
jne 0x100d3635
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 0x100d354e
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 0x100d3570
call fcn.100d40b0
jmp 0x100d3575
call fcn.100d61c0
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.100d6990
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.100f65b0
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x1011a682]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x1011a680]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x1011a684]
mov dword [esi + 0x90], eax
movzx eax, word [ecx*4 + 0x1011a686]
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 0x100d8930
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.0x100d8944
jmp dword [eax*4 + 0x100d8ad4]
cmp cl, 0x40
jne 0x100d8956
mov eax, 4
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100d8962
cmp al, 0x7a
jbe 0x100d89cc
cmp cl, 0x30
jl 0x100d896c
cmp cl, 0x39
jle 0x100d89cc
cmp cl, 0x2d
je 0x100d89cc
cmp cl, 0x5f
je 0x100d89cc
cmp cl, 0x2e
je 0x100d89cc
cmp cl, 0x21
je 0x100d89cc
cmp cl, 0x7e
je 0x100d89cc
cmp cl, 0x2a
je 0x100d89cc
cmp cl, 0x27
je 0x100d89cc
cmp cl, 0x28
je 0x100d89cc
cmp cl, 0x29
je 0x100d89cc
cmp cl, 0x25
je 0x100d89cc
cmp cl, 0x3b
je 0x100d89cc
cmp cl, 0x3a
je 0x100d89cc
cmp cl, 0x26
je 0x100d89cc
cmp cl, 0x3d
je 0x100d89cc
cmp cl, 0x2b
je 0x100d89cc
cmp cl, 0x24
je 0x100d89cc
xor eax, eax
cmp cl, 0x2c
sete al
lea eax, [eax*2 + 1]
ret
mov eax, 3
ret
cmp cl, 0x5b
jne 0x100d89dd
mov eax, 5
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100d89e9
cmp al, 0x7a
jbe 0x100d8a2d
cmp cl, 0x30
jl 0x100d89f3
cmp cl, 0x39
jle 0x100d8a2d
cmp cl, 0x2e
je 0x100d8a2d
cmp cl, 0x2d
je 0x100d8a2d
cmp cl, 0x5f
je 0x100d8a2d
mov eax, 1
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100d8a14
cmp al, 0x7a
jbe 0x100d8a2d
cmp cl, 0x30
jl 0x100d8a1e
cmp cl, 0x39
jle 0x100d8a2d
cmp cl, 0x2e
je 0x100d8a2d
cmp cl, 0x2d
je 0x100d8a2d
cmp cl, 0x5f
jne case.0x100d8944.8
mov eax, 6
ret
cmp cl, 0x3a
jne case.default.0x100d8944
mov eax, 0xb
ret
cmp cl, 0x5d
je 0x100d8a7c
cmp cl, 0x30
jl 0x100d8a4d
cmp cl, 0x39
jle 0x100d8a71
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100d8a59
cmp al, 0x66
jbe 0x100d8a71
cmp cl, 0x3a
je 0x100d8a71
cmp cl, 0x2e
je 0x100d8a71
cmp edx, 7
jne case.default.0x100d8944
cmp cl, 0x25
jne case.default.0x100d8944
lea eax, [edx + 2]
ret
mov eax, 7
ret
cmp cl, 0x5d
jne case.0x100d8944.9
mov eax, 8
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x100d8a8e
cmp al, 0x7a
jbe 0x100d8abd
cmp cl, 0x30
jl 0x100d8a98
cmp cl, 0x39
jle 0x100d8abd
cmp cl, 0x25
je 0x100d8abd
cmp cl, 0x2e
je 0x100d8abd
cmp cl, 0x2d
je 0x100d8abd
cmp cl, 0x5f
je 0x100d8abd
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 0x100d8dc0
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov bl, byte [esp + 0xc]
push esi
cmp bl, 0x20
je case.default.0x100d8df1
cmp bl, 0xd
je case.default.0x100d8df1
cmp bl, 0xa
je case.default.0x100d8df1
mov esi, dword [esp + 0xc]
lea eax, [esi - 0x14]
cmp eax, 0xb
ja case.default.0x100d8df1
jmp dword [eax*4 + 0x100d8fd8]
cmp bl, 0x2f
je 0x100d8e68
cmp bl, 0x2a
je 0x100d8e68
or bl, 0x20
sub bl, 0x61
cmp bl, 0x19
ja case.default.0x100d8df1
pop esi
mov eax, 0x15
pop ebx
ret
mov al, bl
or al, 0x20
sub al, 0x61
cmp al, 0x19
jbe 0x100d8fd3
cmp bl, 0x3a
jne case.default.0x100d8df1
pop esi
mov eax, 0x16
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x100d8df1
pop esi
mov eax, 0x17
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x100d8df1
pop esi
mov eax, 0x18
pop ebx
ret
cmp bl, 0x40
je case.default.0x100d8df1
cmp bl, 0x2f
jne 0x100d8e70
pop esi
mov eax, 0x1b
pop ebx
ret
cmp bl, 0x3f
je 0x100d8f33
cmp bl, 0x40
jne 0x100d8e86
pop esi
mov eax, 0x1a
pop ebx
ret
mov al, bl
or al, 0x20
cmp al, 0x61
jb 0x100d8e92
cmp al, 0x7a
jbe 0x100d8efb
cmp bl, 0x30
jl 0x100d8e9c
cmp bl, 0x39
jle 0x100d8efb
cmp bl, 0x2d
je 0x100d8efb
cmp bl, 0x5f
je 0x100d8efb
cmp bl, 0x2e
je 0x100d8efb
cmp bl, 0x21
je 0x100d8efb
cmp bl, 0x7e
je 0x100d8efb
cmp bl, 0x2a
je 0x100d8efb
cmp bl, 0x27
je 0x100d8efb
cmp bl, 0x28
je 0x100d8efb
cmp bl, 0x29
je 0x100d8efb
cmp bl, 0x25
je 0x100d8efb
cmp bl, 0x3b
je 0x100d8efb
cmp bl, 0x3a
je 0x100d8efb
cmp bl, 0x26
je 0x100d8efb
cmp bl, 0x3d
je 0x100d8efb
cmp bl, 0x2b
je 0x100d8efb
cmp bl, 0x24
je 0x100d8efb
cmp bl, 0x2c
je 0x100d8efb
cmp bl, 0x5b
je 0x100d8efb
cmp bl, 0x5d
jne case.default.0x100d8df1
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 + 0x1011e970], al
jne 0x100d8fd3
test bl, bl
js 0x100d8fd3
cmp bl, 0x23
je 0x100d8f6b
cmp bl, 0x3f
jne case.default.0x100d8df1
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 + 0x1011e970], al
jne 0x100d8f73
test bl, bl
js 0x100d8f73
cmp bl, 0x23
je 0x100d8f6b
cmp bl, 0x3f
je 0x100d8f73
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 + 0x1011e970], al
jne 0x100d8fa3
test bl, bl
js 0x100d8fa3
cmp bl, 0x23
je 0x100d8fd3
cmp bl, 0x3f
jne case.default.0x100d8df1
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 + 0x1011e970], al
jne 0x100d8fd3
test bl, bl
js 0x100d8fd3
cmp bl, 0x23
je 0x100d8fd3
cmp bl, 0x3f
jne case.default.0x100d8df1
mov eax, esi
pop esi
pop ebx
ret
Function at 0x100f2ab5
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 0x100f2adc
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x100f2adf
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.100f2a91
pop esi
leave
ret 8

Function at 0x100f3bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x100f3be1
jl 0x100f3bd8
test edi, edi
jne 0x100f3be1
xor eax, eax
xor edx, edx
jmp 0x100f3ca2
cmp dword [ebx + 0x38], 0
je 0x100f3bf6
push eax
push edi
push dword [ebp + 8]
call fcn.100d0b90
jmp 0x100f3ca2
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x100f3c3d
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x100f3c3d
cmp eax, edi
jb 0x100f3c17
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.100f6030
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x100f3c43
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x100f3c97
mov ecx, ebx
call fcn.100d1810
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x100f3c82
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.10103bdf
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x100f3c97
jmp 0x100f3c55
test edx, edx
je 0x100f3c97
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.10103bdf
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc