joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100f02f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10159ef5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101a7680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, edx
cmp dword [edx + 0x14], 0xf
jbe 0x100f0327
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100f0345
movzx eax, byte [edi + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x100f0333
push esi
push edx
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.100f0210
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x100f0376
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [ebx + 8], 0x5d1745d
je 0x100f04dd
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x2c
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.1012fb05
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
push dword [ebp + 0xc]
lea ecx, [edi + 8]
call fcn.100daea0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10196410]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x10196410]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x100f047f
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.1013a400
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.10130110
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x100f0463
cmp eax, 0x200
jae 0x100f0461
shl eax, 3
cmp eax, ecx
jae 0x100f0463
mov eax, ecx
push eax
mov ecx, ebx
call fcn.100f31a0
push esi
lea eax, [edi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100f0210
mov edx, dword [eax]
jmp 0x100f0482
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov dword [edi + 4], eax
mov dword [edi], edx
mov dword [eax], edi
mov dword [edx + 4], edi
mov ecx, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x18]
and eax, esi
mov esi, dword [ecx + eax*8]
cmp esi, dword [ebx + 4]
jne 0x100f04aa
mov dword [ecx + eax*8], edi
jmp 0x100f04bc
cmp esi, edx
jne 0x100f04b3
mov dword [ecx + eax*8], edi
jmp 0x100f04c0
mov edx, dword [ebp + 0xc]
cmp dword [ecx + eax*8 + 4], edx
jne 0x100f04c0
mov dword [ecx + eax*8 + 4], edi
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1012dbe3
int3
Function at 0x100f2e10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebp, ecx
push edi
mov edi, esi
cmp dword [esi + 0x14], 0xf
mov ebx, dword [esi + 0x10]
jbe 0x100f2e2a
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x100f2e46
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x100f2e35
push edx
push esi
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call fcn.100f0210
mov eax, dword [eax + 4]
test eax, eax
je 0x100f2fee
cmp eax, dword [ebp + 4]
je 0x100f2fee
mov ecx, dword [eax + 0x24]
lea ebx, [eax + 0x20]
mov esi, dword [ebx]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], ecx
cmp esi, ecx
je 0x100f2fee
cmp dword [esi], edx
je 0x100f2e8f
add esi, 0x30
cmp esi, ecx
jne 0x100f2e84
cmp esi, ecx
je 0x100f2fee
lea ebp, [esi + 0x30]
cmp ebp, ecx
je 0x100f2f33
lea ebx, [ebp + 0x2c]
lea edi, [esi + 0x2c]
mov eax, dword [ebp]
cmp eax, edx
je 0x100f2f21
mov dword [esi], eax
lea edx, [edi - 0x24]
lea eax, [ebx - 0x24]
cmp edx, eax
je 0x100f2f17
mov ecx, dword [edi]
test ecx, ecx
je 0x100f2edb
mov edx, dword [ecx]
lea eax, [edi - 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [edi], 0
lea eax, [ebx - 0x24]
mov ecx, dword [ebx]
test ecx, ecx
je 0x100f2f13
cmp ecx, eax
jne 0x100f2f0b
mov eax, dword [ecx]
mov edx, dword [eax + 4]
lea eax, [edi - 0x24]
push eax
call edx
mov dword [edi], eax
mov ecx, dword [ebx]
test ecx, ecx
je 0x100f2f13
mov edx, dword [ecx]
lea eax, [ebx - 0x24]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x100f2f0d
mov dword [edi], ecx
mov dword [ebx], 0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add esi, 0x30
add edi, 0x30
add ebp, 0x30
add ebx, 0x30
cmp ebp, ecx
jne 0x100f2ea8
mov ebx, dword [esp + 0x10]
cmp esi, ecx
je 0x100f2fee
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], eax
cmp ecx, eax
je 0x100f2fde
mov edx, esi
lea edi, [ecx + 0x2c]
sub edx, ecx
lea ebx, [esi + 8]
mov dword [esp + 0x20], edx
mov ecx, eax
nop word [eax + eax]
mov eax, dword [edi - 0x2c]
lea ebp, [edi - 0x24]
mov dword [esi], eax
cmp ebx, ebp
je 0x100f2fca
mov ecx, dword [edi + edx]
test ecx, ecx
je 0x100f2f8c
mov edx, dword [ecx]
cmp ecx, ebx
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x20]
mov dword [edi + edx], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x100f2fc6
cmp ecx, ebp
jne 0x100f2fbd
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov edx, dword [esp + 0x20]
mov dword [edi + edx], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x100f2fc6
mov edx, dword [ecx]
cmp ecx, ebp
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov edx, dword [esp + 0x20]
jmp 0x100f2fc0
mov dword [edi + edx], ecx
mov dword [edi], 0
mov ecx, dword [esp + 0x24]
add edi, 0x30
add esi, 0x30
add ebx, 0x30
lea eax, [edi - 0x2c]
cmp eax, ecx
jne 0x100f2f60
mov ebx, dword [esp + 0x10]
push ebx
push dword [ebx + 4]
push esi
call fcn.100efd20
add esp, 0xc
mov dword [ebx + 4], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x100f7610
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 0x100f7635
jl 0x100f7629
test esi, esi
jne 0x100f7635
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 0x100f7704
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 0x100f7667
mov eax, dword [ecx]
mov eax, dword [eax]
jmp 0x100f7669
xor eax, eax
cdq
mov esi, eax
mov eax, edx
mov dword [esp + 0x10], eax
test eax, eax
jl 0x100f76b6
jg 0x100f767c
test esi, esi
je 0x100f76b6
cmp ebp, eax
jg 0x100f768c
jl 0x100f7686
cmp edi, esi
jae 0x100f768c
mov esi, edi
mov dword [esp + 0x10], ebp
push esi
push dword [esp + 0x18]
push dword [esp + 0x28]
call fcn.10131920
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 0x100f76d6
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
cmp eax, 0xffffffff
je 0x100f76ee
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 0x100f7650
jl 0x100f76ee
test edi, edi
jne 0x100f7650
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 0x100f7749
mov eax, dword [ebx + 0x2c]
lea ecx, [ebx + 0x2c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
test eax, eax
je 0x100f7750
mov edi, dword [esp + 0x24]
cmp eax, edi
cmovb esi, eax
push esi
push edx
push ebp
call fcn.10131920
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 0x100f7750
lea eax, [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp dword [ebx + 0x4c], 0
je 0x100f77b9
mov ecx, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [ecx], eax
jne 0x100f777a
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 0x100f77a4
push dword [ebx + 0x4c]
push 0xfff
push 1
push ebp
call fcn.1013b0b5
add esp, 0x10
add ebp, eax
sub edi, eax
cmp eax, 0xfff
jne 0x100f77b9
cmp edi, eax
ja 0x100f7782
test edi, edi
je 0x100f77b9
push dword [ebx + 0x4c]
push edi
push 1
push ebp
call fcn.1013b0b5
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 0x10103230
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015ba2d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x101a7680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10103404
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x10], eax
jle 0x101033fd
nop dword [eax]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [ecx + eax*4]
lea eax, [ecx + eax*4]
push 0
push 0xfde9
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
mov dword [ebp - 0x14], edi
test edi, edi
jle 0x10103404
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
cmp edi, 0x7fffffff
ja 0x10103415
cmp edi, 0x1000
jb 0x1010330d
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x1010341a
push eax
call fcn.1012fb05
add esp, 4
test eax, eax
je 0x1010341f
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x10103318
push edi
call fcn.1012fb05
add esp, 4
mov esi, eax
push dword [ebp - 0x14]
add edi, esi
mov dword [ebp - 0x30], esi
push 0
push esi
mov dword [ebp - 0x28], edi
call fcn.10131ea0
add esp, 0xc
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push dword [eax]
mov dword [ebp - 4], 0
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], esi
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
je 0x1010339a
mov edx, esi
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
lea eax, [edx + 1]
mov dword [ebp - 0x24], eax
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x10103380
sub edx, dword [ebp - 0x24]
push edx
push esi
call fcn.100cdc10
mov ecx, dword [ebp - 0x18]
add dword [ecx + 4], 0x18
jmp 0x101033a6
lea edx, [ebp - 0x24]
push edx
push ecx
mov ecx, eax
call fcn.101018e0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x101033ea
cmp edi, 0x1000
jb 0x101033cb
mov eax, dword [esi - 4]
add edi, 0x23
sub esi, eax
add esi, 0xfffffffc
cmp esi, 0x1f
ja 0x1010341f
mov esi, eax
push edi
push esi
call fcn.1012fb35
add esp, 8
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x10]
jl 0x10103290
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.100e1560
call fcn.100e1310
call fcn.101355d8
int3
Function at 0x10104d80
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015bd80
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x101a7680]
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.100cdc10
mov ecx, dword [ebp - 0x11c]
mov byte [ebp - 0x130], 0
mov dword [ebp - 4], 0
push dword [ebp - 0x130]
test ecx, ecx
jne 0x10104e7d
push 0x1c
push str.C:_Program_Files__x86__Steam
push esi
call fcn.100cdca0
mov ecx, dword [ebp - 0x118]
add esp, 0x10
cmp ecx, 0xf
jbe 0x10104e61
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10104e57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10104ec8
push ecx
push edx
call fcn.1012fb35
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.1012fb43
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.100cdca0
mov ecx, dword [ebp - 0x118]
add esp, 0x10
cmp ecx, 0xf
jbe 0x10104e61
mov edx, dword [ebp - 0x12c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10104e57
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10104e57
call fcn.101355d8
int3
Function at 0x1010e5c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x1010e745
cmp dword [esi + 0x20], 0
je 0x1010e745
cmp dword [esi + 0x24], 0
je 0x1010e745
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1010e745
cmp dword [eax], esi
jne 0x1010e745
mov eax, dword [eax + 4]
cmp eax, 0x2a
je 0x1010e625
cmp eax, 0x39
je 0x1010e625
cmp eax, 0x45
je 0x1010e625
cmp eax, 0x49
je 0x1010e625
cmp eax, 0x5b
je 0x1010e625
cmp eax, 0x67
je 0x1010e625
cmp eax, 0x71
je 0x1010e625
cmp eax, 0x29a
jne 0x1010e745
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 0x1010e65e
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 0x1010e680
call fcn.1010f1c0
jmp 0x1010e685
call fcn.101112d0
add esp, 0xc
mov dword [esi + 0x30], eax
mov dword [edi + 0x28], 0xfffffffe
push edi
call fcn.10111aa0
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.10131ea0
mov eax, dword [esi + 0x84]
add esp, 0x10
lea ecx, [eax + eax*2]
movzx eax, word [ecx*4 + 0x10165a72]
mov dword [esi + 0x80], eax
movzx eax, word [ecx*4 + 0x10165a70]
mov dword [esi + 0x8c], eax
movzx eax, word [ecx*4 + 0x10165a74]
mov dword [esi + 0x90], eax
movzx eax, word [ecx*4 + 0x10165a76]
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 0x10113a40
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.0x10113a54
jmp dword [eax*4 + 0x10113be4]
cmp cl, 0x40
jne 0x10113a66
mov eax, 4
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10113a72
cmp al, 0x7a
jbe 0x10113adc
cmp cl, 0x30
jl 0x10113a7c
cmp cl, 0x39
jle 0x10113adc
cmp cl, 0x2d
je 0x10113adc
cmp cl, 0x5f
je 0x10113adc
cmp cl, 0x2e
je 0x10113adc
cmp cl, 0x21
je 0x10113adc
cmp cl, 0x7e
je 0x10113adc
cmp cl, 0x2a
je 0x10113adc
cmp cl, 0x27
je 0x10113adc
cmp cl, 0x28
je 0x10113adc
cmp cl, 0x29
je 0x10113adc
cmp cl, 0x25
je 0x10113adc
cmp cl, 0x3b
je 0x10113adc
cmp cl, 0x3a
je 0x10113adc
cmp cl, 0x26
je 0x10113adc
cmp cl, 0x3d
je 0x10113adc
cmp cl, 0x2b
je 0x10113adc
cmp cl, 0x24
je 0x10113adc
xor eax, eax
cmp cl, 0x2c
sete al
lea eax, [eax*2 + 1]
ret
mov eax, 3
ret
cmp cl, 0x5b
jne 0x10113aed
mov eax, 5
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10113af9
cmp al, 0x7a
jbe 0x10113b3d
cmp cl, 0x30
jl 0x10113b03
cmp cl, 0x39
jle 0x10113b3d
cmp cl, 0x2e
je 0x10113b3d
cmp cl, 0x2d
je 0x10113b3d
cmp cl, 0x5f
je 0x10113b3d
mov eax, 1
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10113b24
cmp al, 0x7a
jbe 0x10113b3d
cmp cl, 0x30
jl 0x10113b2e
cmp cl, 0x39
jle 0x10113b3d
cmp cl, 0x2e
je 0x10113b3d
cmp cl, 0x2d
je 0x10113b3d
cmp cl, 0x5f
jne case.0x10113a54.8
mov eax, 6
ret
cmp cl, 0x3a
jne case.default.0x10113a54
mov eax, 0xb
ret
cmp cl, 0x5d
je 0x10113b8c
cmp cl, 0x30
jl 0x10113b5d
cmp cl, 0x39
jle 0x10113b81
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10113b69
cmp al, 0x66
jbe 0x10113b81
cmp cl, 0x3a
je 0x10113b81
cmp cl, 0x2e
je 0x10113b81
cmp edx, 7
jne case.default.0x10113a54
cmp cl, 0x25
jne case.default.0x10113a54
lea eax, [edx + 2]
ret
mov eax, 7
ret
cmp cl, 0x5d
jne case.0x10113a54.9
mov eax, 8
ret
mov al, cl
or al, 0x20
cmp al, 0x61
jb 0x10113b9e
cmp al, 0x7a
jbe 0x10113bcd
cmp cl, 0x30
jl 0x10113ba8
cmp cl, 0x39
jle 0x10113bcd
cmp cl, 0x25
je 0x10113bcd
cmp cl, 0x2e
je 0x10113bcd
cmp cl, 0x2d
je 0x10113bcd
cmp cl, 0x5f
je 0x10113bcd
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 0x10113ed0
Capabilities:
Parse credit card information

Disassembly:
push ebx
mov bl, byte [esp + 0xc]
push esi
cmp bl, 0x20
je case.default.0x10113f01
cmp bl, 0xd
je case.default.0x10113f01
cmp bl, 0xa
je case.default.0x10113f01
mov esi, dword [esp + 0xc]
lea eax, [esi - 0x14]
cmp eax, 0xb
ja case.default.0x10113f01
jmp dword [eax*4 + 0x101140e8]
cmp bl, 0x2f
je 0x10113f78
cmp bl, 0x2a
je 0x10113f78
or bl, 0x20
sub bl, 0x61
cmp bl, 0x19
ja case.default.0x10113f01
pop esi
mov eax, 0x15
pop ebx
ret
mov al, bl
or al, 0x20
sub al, 0x61
cmp al, 0x19
jbe 0x101140e3
cmp bl, 0x3a
jne case.default.0x10113f01
pop esi
mov eax, 0x16
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x10113f01
pop esi
mov eax, 0x17
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x10113f01
pop esi
mov eax, 0x18
pop ebx
ret
cmp bl, 0x40
je case.default.0x10113f01
cmp bl, 0x2f
jne 0x10113f80
pop esi
mov eax, 0x1b
pop ebx
ret
cmp bl, 0x3f
je 0x10114043
cmp bl, 0x40
jne 0x10113f96
pop esi
mov eax, 0x1a
pop ebx
ret
mov al, bl
or al, 0x20
cmp al, 0x61
jb 0x10113fa2
cmp al, 0x7a
jbe 0x1011400b
cmp bl, 0x30
jl 0x10113fac
cmp bl, 0x39
jle 0x1011400b
cmp bl, 0x2d
je 0x1011400b
cmp bl, 0x5f
je 0x1011400b
cmp bl, 0x2e
je 0x1011400b
cmp bl, 0x21
je 0x1011400b
cmp bl, 0x7e
je 0x1011400b
cmp bl, 0x2a
je 0x1011400b
cmp bl, 0x27
je 0x1011400b
cmp bl, 0x28
je 0x1011400b
cmp bl, 0x29
je 0x1011400b
cmp bl, 0x25
je 0x1011400b
cmp bl, 0x3b
je 0x1011400b
cmp bl, 0x3a
je 0x1011400b
cmp bl, 0x26
je 0x1011400b
cmp bl, 0x3d
je 0x1011400b
cmp bl, 0x2b
je 0x1011400b
cmp bl, 0x24
je 0x1011400b
cmp bl, 0x2c
je 0x1011400b
cmp bl, 0x5b
je 0x1011400b
cmp bl, 0x5d
jne case.default.0x10113f01
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 + 0x10169d60], al
jne 0x101140e3
test bl, bl
js 0x101140e3
cmp bl, 0x23
je 0x1011407b
cmp bl, 0x3f
jne case.default.0x10113f01
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 + 0x10169d60], al
jne 0x10114083
test bl, bl
js 0x10114083
cmp bl, 0x23
je 0x1011407b
cmp bl, 0x3f
je 0x10114083
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 + 0x10169d60], al
jne 0x101140b3
test bl, bl
js 0x101140b3
cmp bl, 0x23
je 0x101140e3
cmp bl, 0x3f
jne case.default.0x10113f01
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 + 0x10169d60], al
jne 0x101140e3
test bl, bl
js 0x101140e3
cmp bl, 0x23
je 0x101140e3
cmp bl, 0x3f
jne case.default.0x10113f01
mov eax, esi
pop esi
pop ebx
ret
Function at 0x1012ddc8
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 0x1012ddef
mov eax, ecx
mov dword [ebp - 4], eax
jmp 0x1012ddf2
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.1012dda4
pop esi
leave
ret 8

Function at 0x1014118a
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.10141052
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x101412f9
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x101412f9
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x101412ae
jg 0x101411e6
test eax, eax
je 0x101412a4
push 1
push 0x1000
call fcn.1014847d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10141209
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x1014129b
push 0x8000
push ebx
call fcn.1014e5b0
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x10141232
jg 0x1014122d
cmp ecx, 0x1000
jb 0x10141232
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.10147b5e
add esp, 0x10
cmp eax, 0xffffffff
je 0x10141277
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 0x1014122d
jl 0x1014125e
test ecx, ecx
jne 0x1014121f
push dword [ebp - 0xc]
push ebx
call fcn.1014e5b0
push esi
call fcn.101484da
add esp, 0xc
xor ebx, ebx
jmp 0x10141307
cmp byte [edi + 0x24], 0
je 0x1014128e
cmp dword [edi + 0x20], 5
jne 0x1014128e
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x10141299
mov ebx, dword [edi + 0x18]
jmp 0x1014129b
xor ebx, ebx
push esi
call fcn.101484da
pop ecx
jmp 0x10141307
test ecx, ecx
jg 0x10141270
jl 0x101412ae
test eax, eax
jae 0x10141270
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.101420a3
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x101412ce
cmp byte [edi + 0x1c], 0
je 0x10141270
jmp 0x101412ff
push ebx
call fcn.10141822
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10141270
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 0x10141307
cmp byte [edi + 0x1c], 0
je 0x10141304
mov ebx, dword [edi + 0x18]
jmp 0x10141307
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.101420a3
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret