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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
cmp byte [0x100c5b68], 0
push esi
je 0x1004cced
mov esi, dword [sym.imp.KERNEL32.dll_Beep]
push 0xb1768eeb
pop es
mov ecx, 0x3e488624
mov byte [0x576dea9a], al
jmp 0xc40683c0
mov dword [esp + 0x20], 0x3ef3237d
mov dword [esp + 0x24], 0x3ef32361
mov dword [esp + 0x28], 0x3ee9237e
mov dword [esp + 0x2c], 0x3eea236b
mov dword [esp + 0x30], 0x3efe237e
mov dword [esp + 0x34], 0x3ee22368
mov dword [esp + 0x38], 0x3ee1237f
mov dword [esp + 0x3c], 0x3ea32333
mov dword [esp + 0x40], 0x3e9b230a
mov eax, dword [esp + 0x20]
mov byte [esp + 0x44], 0
cmp byte [esp + 0x44], 0
jne 0x1004cd63
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x20]
xor eax, 0x3e9b230a
mov dword [esp + ecx*4 + 0x20], eax
inc ecx
cmp ecx, 9
jb 0x1004cd50
mov dword [esp + 8], 0x6fe243b8
mov dword [esp + 0xc], 0x76e859bb
mov dword [esp + 0x10], 0x7eeb4ebb
mov dword [esp + 0x14], 0x3fb051ba
mov dword [esp + 0x18], 0x7892bcf
mov eax, dword [esp + 8]
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x1c], 0
jne 0x1004cdb3
xor ecx, ecx
nop dword [eax]
mov eax, dword [esp + ecx*4 + 8]
xor eax, 0x7892bcf
mov dword [esp + ecx*4 + 8], eax
inc ecx
cmp ecx, 5
jb 0x1004cda0
push 0
push 0
push 0
push dword [ebp + 0x14]
lea eax, [esp + 0x30]
mov edx, 2
push eax
push dword [ebp + 0xc]
lea ecx, [esp + 0x20]
push dword [ebp + 8]
call fcn.1005c850
add esp, 0x1c
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1004cde0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
cmp byte [0x100c5b68], 0
je 0x1004d2d8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Beep]
into
mov bl, 0x83
jle 0x1004cdea
retf
mov dword [esp + 0xc], 0x604018
mov dword [esp + 0x10], 0x614053
mov dword [esp + 0x14], 0x6e4000
mov dword [esp + 0x18], 0x58406a
mov eax, dword [esp + 0xc]
mov byte [esp + 0x1c], 0
cmp byte [esp + 0x1c], 0
jne 0x1004d323
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0xc]
xor eax, 0x58406a
mov dword [esp + ecx*4 + 0xc], eax
inc ecx
cmp ecx, 4
jb 0x1004d310
mov dword [esp], 0x2205df4
mov dword [esp + 4], 0x3b1953ec
mov eax, dword [esp]
mov byte [esp + 8], 0
cmp byte [esp + 8], 0
jne 0x1004d354
xor ecx, ecx
mov eax, dword [esp + ecx*4]
xor eax, 0x3b196586
mov dword [esp + ecx*4], eax
inc ecx
cmp ecx, 2
jb 0x1004d343
push 0
push 0
push 0
push dword [esp + 0x3c]
lea eax, [esp + 0x1c]
mov edx, 2
push eax
push dword [esp + 0x3c]
lea ecx, [esp + 0x18]
push dword [esp + 0x3c]
call fcn.1005c850
add esp, 0x3c
ret 0x10
Function at 0x1004d380
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov dword [esp + 0x28], 0x4a27e908
mov dword [esp + 0x2c], 0x4a29e91e
mov dword [esp + 0x30], 0x4a78e918
mov dword [esp + 0x34], 0x4a22e906
mov dword [esp + 0x38], 0x4a7ae909
mov dword [esp + 0x3c], 0x4a2ae904
mov dword [esp + 0x40], 0x4a3ae903
mov dword [esp + 0x44], 0x4a26e913
mov dword [esp + 0x48], 0x4a3ee944
mov dword [esp + 0x4c], 0x4a2ae91c
mov dword [esp + 0x50], 0x4a7be945
mov dword [esp + 0x54], 0x4a32e900
mov dword [esp + 0x58], 0x4a7de913
mov dword [esp + 0x5c], 0x4a38e900
mov dword [esp + 0x60], 0x4a48e971
mov eax, dword [esp + 0x28]
mov byte [esp + 0x64], 0
cmp byte [esp + 0x64], 0
jne 0x1004d426
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x28]
xor eax, 0x4a48e971
mov dword [esp + ecx*4 + 0x28], eax
inc ecx
cmp ecx, 0xf
jb 0x1004d413
mov dword [esp + 4], 0x4083805e
mov dword [esp + 8], 0x4b9bdf4e
mov dword [esp + 0xc], 0x4399dd5f
mov dword [esp + 0x10], 0x4f8e9d55
mov dword [esp + 0x14], 0x43819912
mov dword [esp + 0x18], 0x5b9ddc13
mov dword [esp + 0x1c], 0x519dda45
mov dword [esp + 0x20], 0x21ecef27
mov eax, dword [esp + 4]
mov byte [esp + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x1004d493
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 4]
xor eax, 0x21ecef27
mov dword [esp + ecx*4 + 4], eax
inc ecx
cmp ecx, 8
jb 0x1004d480
push 0
push 0
push 0
push dword [ebp + 0x14]
lea eax, [esp + 0x38]
mov edx, 2
push eax
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push dword [ebp + 8]
call fcn.1005c850
add esp, 0x1c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1004d4c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68
mov dword [esp + 0x28], 0x279e9f7a
mov dword [esp + 0x2c], 0x27899f31
mov dword [esp + 0x30], 0x278d9f7e
mov dword [esp + 0x34], 0x278d9f6b
mov dword [esp + 0x38], 0x27cf9f7b
mov dword [esp + 0x3c], 0x27c99f70
mov dword [esp + 0x40], 0x279e9f6c
mov dword [esp + 0x44], 0x278c9f71
mov dword [esp + 0x48], 0x279a9f6d
mov dword [esp + 0x4c], 0x27859f72
mov dword [esp + 0x50], 0x27939f6a
mov dword [esp + 0x54], 0x278c9f6b
mov dword [esp + 0x58], 0x27959f6d
mov dword [esp + 0x5c], 0x27929f39
mov dword [esp + 0x60], 0x27fd9f08
mov eax, dword [esp + 0x28]
mov byte [esp + 0x64], 0
cmp byte [esp + 0x64], 0
jne 0x1004d566
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x28]
xor eax, 0x27fd9f08
mov dword [esp + ecx*4 + 0x28], eax
inc ecx
cmp ecx, 0xf
jb 0x1004d553
mov dword [esp + 4], 0xcec9aca
mov dword [esp + 8], 0x8b689ce
mov dword [esp + 0xc], 0x4cadcbcb
mov dword [esp + 0x10], 0x9ac9adc
mov dword [esp + 0x14], 0xaf9edd
mov dword [esp + 0x18], 0x9b697da
mov dword [esp + 0x1c], 0x17e491dd
mov dword [esp + 0x20], 0x78d5f9b8
mov eax, dword [esp + 4]
mov byte [esp + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x1004d5d3
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 4]
xor eax, 0x78d5f9b8
mov dword [esp + ecx*4 + 4], eax
inc ecx
cmp ecx, 8
jb 0x1004d5c0
push 0
push 0
push 0
push dword [ebp + 0x14]
lea eax, [esp + 0x38]
mov edx, 2
push eax
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push dword [ebp + 8]
call fcn.1005c850
add esp, 0x1c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1004d600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
cmp byte [0x100c5b68], 0
push esi
je 0x1004db5d
mov esi, dword [sym.imp.KERNEL32.dll_Beep]
add dword [ecx - 0x3d], esp
add byte [edi + 0x6d], ah
insd dword es:[di], dx
ficom dword [ebx - 0x1042c14c]
sti
or eax, 0xccacd6c
cdq
mov dl, 0xa2
sbb ah, dh
sbb eax, dword [0x1323d1ff]
jae 0x1004d65f
in eax, dx
push esi
xor dword [edx - 0x65], ebx
add edi, ebx
jbe 0x1004d621
out dx, al
xchg edi, eax
mov esi, 0x59378083
pop es
loope 0x1004d5d5
clc
pop edx
or edx, esp
dec esp
leave
mov dword [edx - 0x150c6560], esp
cmpsb byte [esi], byte es:[edi]
xor bh, byte [ebp + 0x74]
jge 0x1004d6d5
add al, 0x50
and dword [edx - 0x406b416a], 0x284d90a3
invalid
sub ebp, dword [ecx]
loope 0x1004d6e9
pushal
sti
pop ds
popal
mov esp, ebx
mov byte [0xadece365], al
daa
xchg dword [ebx - 0x10], esi
lcall 0x8876, 0x8f7e17c2
shr al, cl
mov eax, dword [0x767f3a40]
jnp 0x1004d6db
ret 0x7e17
push ss
push edx
inc esi
fsubr st(3)
ljmp 0x517e
mov dword [esp + 0x1c], 0xc4e86fb
mov dword [esp + 0x20], 0xc4386b8
mov dword [esp + 0x24], 0xc4986ee
mov dword [esp + 0x28], 0xc1986e8
mov dword [esp + 0x2c], 0xc1986f3
mov dword [esp + 0x30], 0xc4d86be
mov dword [esp + 0x34], 0xc0286ee
mov dword [esp + 0x38], 0xc4286e6
mov dword [esp + 0x3c], 0xc4a86b9
mov dword [esp + 0x40], 0xc7a86e8
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x44], 0
cmp byte [esp + 0x44], 0
jne 0x1004dbd3
xor ecx, ecx
nop
mov eax, dword [esp + ecx*4 + 0x1c]
xor eax, 0xc7a8689
mov dword [esp + ecx*4 + 0x1c], eax
inc ecx
cmp ecx, 0xa
jb 0x1004dbc0
mov dword [esp + 4], 0x42e2f24a
mov dword [esp + 8], 0x18b2f55f
mov dword [esp + 0xc], 0x4ce4a542
mov dword [esp + 0x10], 0x43bcbe5f
mov dword [esp + 0x14], 0x7bb2f608
mov eax, dword [esp + 4]
mov byte [esp + 0x18], 0
cmp byte [esp + 0x18], 0
jne 0x1004dc23
xor ecx, ecx
nop dword [eax]
mov eax, dword [esp + ecx*4 + 4]
xor eax, 0x7bd3c638
mov dword [esp + ecx*4 + 4], eax
inc ecx
cmp ecx, 5
jb 0x1004dc10
push 0
push 0
push 0
push dword [ebp + 0x14]
lea eax, [esp + 0x2c]
mov edx, 2
push eax
push dword [ebp + 0xc]
lea ecx, [esp + 0x1c]
push dword [ebp + 8]
call fcn.1005c850
add esp, 0x1c
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1004dc50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 0x10], 0x83fb097
mov dword [esp + 0x14], 0x83db088
mov dword [esp + 0x18], 0x838b09f
mov dword [esp + 0x1c], 0x828b095
mov dword [esp + 0x20], 0x859b0fa
mov eax, dword [esp + 0x10]
mov byte [esp + 0x24], 0
cmp byte [esp + 0x24], 0
jne 0x1004dca6
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x10]
xor eax, 0x859b0fa
mov dword [esp + ecx*4 + 0x10], eax
inc ecx
cmp ecx, 5
jb 0x1004dc93
mov dword [esp], 0x2464ea32
mov dword [esp + 4], 0x3179ed3a
mov dword [esp + 8], 0x40168c5f
mov eax, dword [esp]
mov byte [esp + 0xc], 0
cmp byte [esp + 0xc], 0
jne 0x1004dce1
xor ecx, ecx
nop
mov eax, dword [esp + ecx*4]
xor eax, 0x40168c5f
mov dword [esp + ecx*4], eax
inc ecx
cmp ecx, 3
jb 0x1004dcd0
push 0
push 0
push 0
push dword [ebp + 0x14]
lea eax, [esp + 0x20]
mov edx, 2
push eax
push dword [ebp + 0xc]
lea ecx, [esp + 0x18]
push dword [ebp + 8]
call fcn.1005c850
add esp, 0x1c
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1005bc50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x404
push ebp
push edi
push ebx
mov edi, edx
mov dword [esp + 0xc], ecx
xor ebp, ebp
push esi
mov esi, ebp
mov eax, ebp
shr esi, 1
mov ecx, esi
xor ecx, 0xedb88320
and al, 1
cmove ecx, esi
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ecx, eax
xor ecx, 0xedb88320
and dl, 1
cmove ecx, eax
mov eax, ecx
shr eax, 1
mov edx, eax
xor edx, 0xedb88320
and cl, 1
cmove edx, eax
mov eax, edx
shr eax, 1
mov ebx, eax
xor ebx, 0xedb88320
and dl, 1
cmove ebx, eax
mov ecx, ebx
shr ecx, 1
mov eax, ecx
xor eax, 0xedb88320
and bl, 1
cmove eax, ecx
mov dword [esp + ebp*4 + 0x14], eax
inc ebp
cmp ebp, 0x100
jl 0x1005bc62
cmp byte [0x100c5b68], 0
mov ebp, dword [esp + 0x10]
je 0x1005bfba
mov esi, dword [sym.imp.KERNEL32.dll_Beep]
add eax, 0xdf63a682
sub eax, 0x65b6fe35
aaa
not byte [ecx - 0x41b850a7]
outsd dx, dword [esi]
stosd dword es:[edi], eax
sal dword [0xa93dabee], 1
neg esi
and dword [edi - 0x44], edi
aam 0x11
sub dl, dh
salc
in al, dx
lea esp, gs:[edx - 0x39]
sub dword [eax - 0x4aeea1aa], edi
aas
not dword [0x206e13e3]
jl 0x1005bd03
xchg esi, eax
fistp dword [ecx + 0x145427fd]
jne 0x1005bd3c
out 0x9e, al
out dx, eax
mov byte [ebx], al
lodsd eax, dword [esi]
sub bl, byte [edx - 0x14]
jle 0x1005bd90
cmp eax, 0xc6de5dbe
jp 0x1005bd52
push ecx
aaa
mov ch, 0x15
xor ecx, esi
mov ss, word [ebx - 0x4f]
popfd
and eax, eax
mov ecx, 0xda503b0
mov eax, dword gs:[0x2dac73e2]
mov edi, ebx
sub eax, 0xb6717a4e
scasb al, byte es:[edi]
pushal
xchg dword [edi], esp
add dword [eax + 0x49c245e], ebp
iretd
test al, 0x5e
and al, 0x9c
add al, 0xcf
xor esp, eax
mov ah, 0x83
salc
and dword ds:[ebp - 0x2624a5cc], edx
xchg esi, eax
cmpsd dword [esi], dword es:[edi]
jl 0x1005bddd
rep lodsd eax, dword [esi]
push edx
xor al, 0x41
pop ds
salc
pushfd
mov bl, byte [ecx - 0x104fcab9]
stosb byte es:[edi], al
add ch, 0x5c
out 0xbd, eax
pop ebp
or dword [eax], ebx
int3
xchg esi, eax
ja 0x1005bd66
xor ebx, dword [esi - 0x5a]
push edi
das
pop edx
mov esp, dword [eax + 0x477c5df]
aaa
mov gs, word [ebx + 0x754dec88]
mov dword [0x9bf6065b], eax
jno 0x1005be5b
or al, byte [esi + eax - 0x3b]
invalid
hlt
or eax, 0xffffffff
pop esi
pop ebx
test edi, edi
je 0x1005bfdb
movsx ecx, byte [ebp]
lea ebp, [ebp + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [esp + ecx*4 + 0xc]
sub edi, 1
jne 0x1005bfc3
pop edi
not eax
pop ebp
add esp, 0x404
ret
Function at 0x100694a0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
mov ebx, edx
push edi
mov edi, ecx
test ebx, ebx
je 0x1006997e
cmp byte [0x100c5b68], 0
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x18]
mov dword [edi], ebx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebp
je 0x10069954
mov esi, dword [sym.imp.KERNEL32.dll_Beep]
pop ebx
nop
push ebx
sbb al, 0xf0
div byte [edi]
mov byte [edx + 0x68], cl
insb byte es:[edi], dx
in al, dx
invalid
lea eax, [edi + 4]
mov edx, ebp
push eax
mov ecx, ebx
call fcn.10068c50
add esp, 4
test eax, eax
jne 0x10069983
lea eax, [edi + 8]
mov edx, ebp
push eax
mov ecx, ebx
call fcn.10069200
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, 0x57
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10071780
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xa4
push ebx
mov ebx, ecx
lea ecx, [esp + 0x3c]
push ebp
push esi
push edi
mov eax, dword [ebx + 0xc]
mov byte [eax], 0
mov eax, dword [ebx + 0x10]
mov byte [eax], 0
mov eax, dword [ebx + 0x14]
mov byte [eax], 0
mov eax, 0x68
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x100717a7
push 0x244
push 0x593a82d7
lea edx, [eax + 0x11]
call fcn.100674a0
add esp, 8
lea ecx, [esp + 0x48]
push ecx
call eax
mov edi, dword [ebx]
mov ebp, dword [ebx + 4]
sub edi, 1
je 0x10071810
nop dword [eax + eax]
mov esi, 0x40
mov edx, 0x11
cmp edi, esi
push 0x245
push 0x4110acca
cmovb esi, edi
call fcn.100674a0
add esp, 8
lea ecx, [esp + 0x48]
push esi
push ebp
push ecx
call eax
add ebp, esi
sub edi, esi
jne 0x100717e0
push 0x246
push 0x6da0a140
mov edx, 0x11
call fcn.100674a0
add esp, 8
lea ecx, [esp + 0x48]
push ecx
call eax
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0xa0]
push 0xf
call fcn.1006eb70
mov esi, dword [ebx + 0xc]
add esp, 4
test esi, esi
je 0x100718d4
mov dword [esp + 0x30], 0x57befe88
mov dword [esp + 0x34], 0x53bafa8c
mov dword [esp + 0x38], 0x6edf680
mov dword [esp + 0x3c], 0x2e9abdb
mov dword [esp + 0x40], 0x648ccfb8
mov eax, dword [esp + 0x30]
mov byte [esp + 0x44], 0
cmp byte [esp + 0x44], 0
jne 0x100718a3
xor ecx, ecx
nop word [eax + eax]
mov eax, dword [esp + ecx*4 + 0x30]
xor eax, 0x648ccfb8
mov dword [esp + ecx*4 + 0x30], eax
inc ecx
cmp ecx, 5
jb 0x10071890
xor eax, eax
movzx ecx, byte [esi]
lea esi, [esi + 1]
mov edx, dword [ebx + 0x10]
shr ecx, 4
movzx ecx, byte [esp + ecx + 0x30]
mov byte [eax + edx], cl
movzx ecx, byte [esi - 1]
mov edx, dword [ebx + 0x10]
and ecx, 0xf
movzx ecx, byte [esp + ecx + 0x30]
mov byte [eax + edx + 1], cl
add eax, 2
cmp eax, 0x1e
jl 0x100718a5
mov eax, dword [ebx + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 1
push 0
mov byte [eax + 0x1e], 0
mov dword [esp + 0x1c], 0x33323130
mov dword [esp + 0x20], 0x37363534
mov word [esp + 0x24], 0x3938
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
push 1
push 0
mov dword [esp + 0x28], eax
call edi
push eax
call esi
push 1
push 0
mov dword [esp + 0x2c], eax
call edi
push eax
call esi
push 1
push 0
mov dword [esp + 0x30], eax
call edi
push eax
call esi
push dword [ebx + 0x10]
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], eax
call fcn.10071dc0
push eax
push dword [ebx + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push dword [esp + 0x20]
push 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push dword [esp + 0x24]
push 0
call edi
push eax
call esi
push dword [esp + 0x28]
push 0
call edi
push eax
call esi
push dword [esp + 0x2c]
push 0
call edi
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa4
ret
Function at 0x10071b80
Capabilities:
Encode data using xor
Parse credit card information

Disassembly:
sub esp, 0x1c
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
lea eax, [eax + eax*2]
dec eax
push eax
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, dword [edi + 4]
mov edx, eax
mov dword [esp + 0x14], 0x6bab0838
mov dword [esp + 0x18], 0x6faf0c3c
mov dword [esp + 0x1c], 0x1ad80030
mov dword [esp + 0x20], 0x1edc7d4b
mov dword [esp + 0x24], 0x58993908
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x28], 0
cmp byte [esp + 0x28], 0
mov dword [esp + 0x10], eax
jne 0x10071c03
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + ecx*4 + 0x14]
xor eax, 0x58993908
mov dword [esp + ecx*4 + 0x14], eax
inc ecx
cmp ecx, 5
jb 0x10071bf0
mov eax, dword [edi]
xor ebx, ebx
xor ecx, ecx
sub eax, 1
je 0x10071c89
nop
mov al, byte [esi]
cmp al, 0x30
jl 0x10071c1a
cmp al, 0x39
jle 0x10071c76
cmp al, 0x61
jl 0x10071c22
cmp al, 0x7a
jle 0x10071c76
cmp al, 0x41
jl 0x10071c2a
cmp al, 0x5a
jle 0x10071c76
cmp al, 0x5c
je 0x10071c76
cmp al, 0x3d
je 0x10071c76
cmp al, 0x2f
je 0x10071c76
cmp al, 0x2e
je 0x10071c76
cmp al, 0x3f
je 0x10071c76
cmp al, 0x3b
je 0x10071c76
cmp al, 0x26
je 0x10071c76
cmp al, 0x5b
je 0x10071c76
cmp al, 0x5d
je 0x10071c76
mov byte [edx], 0x25
movzx eax, byte [esi]
shr eax, 4
movzx eax, byte [esp + eax + 0x14]
mov byte [edx + 1], al
add edx, 2
movsx eax, byte [esi]
and eax, 0xf
movzx eax, byte [esp + eax + 0x14]
mov byte [edx], al
mov eax, 3
jmp 0x10071c7d
mov byte [edx], al
mov eax, 1
add ebx, eax
inc ecx
mov eax, dword [edi]
inc edx
dec eax
inc esi
cmp ecx, eax
jb 0x10071c10
mov byte [edx], 0
push dword [edi + 8]
push 0
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
lea eax, [ebx + 1]
push eax
push 0
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push dword [esp + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push eax
mov dword [edi + 8], eax
call ebp
mov eax, dword [edi + 8]
mov byte [ebx + eax], 0
push dword [edi + 4]
mov ebx, dword [edi + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call esi
xor ecx, ecx
mov eax, ebx
inc ecx
cmp byte [eax], 0
je 0x10071ce0
inc eax
jmp 0x10071cd7
push ecx
push 0
mov dword [edi], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push ebx
push eax
mov dword [edi + 4], eax
call ebp
mov eax, dword [edi + 8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x10072190
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov edx, ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x100721a6
mov ebx, edi
sub edx, esi
lea esi, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x100721b4
push dword [ecx + 0x10]
sub ebx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
cmp edx, ebx
push 0
cmovg ebx, edx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [ebx + 2]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [esp + 0x10]
mov esi, eax
mov dword [edx + 0x10], esi
test ebx, ebx
jne 0x10072206
mov byte [esi], 0x30
mov eax, dword [edx + 0x10]
pop edi
pop esi
pop ebp
mov byte [eax + 1], bl
mov eax, dword [edx + 0x10]
pop ebx
pop ecx
ret 8
mov al, byte [ebp]
xor ebx, ebx
nop dword [eax + eax]
test al, al
jne 0x10072218
xor eax, eax
jmp 0x1007221e
movzx eax, al
sub eax, 0x30
mov cl, byte [edi]
test cl, cl
jne 0x10072228
xor ecx, ecx
jmp 0x1007222e
movzx ecx, cl
sub ecx, 0x30
add eax, ebx
add ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edx, edx
mov ebx, eax
cmp ecx, 9
cmovle ebx, edx
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
mov al, byte [ecx + edx]
mov byte [esi], al
inc esi
cmp byte [ebp], 0
je 0x10072265
inc ebp
cmp byte [edi], 0
je 0x1007226b
inc edi
mov al, byte [ebp]
test al, al
jne 0x10072218
cmp byte [edi], al
jne 0x10072210
test ebx, ebx
je 0x10072280
mov al, byte [ebx + edx]
mov byte [esi], al
inc esi
pop edi
mov byte [esi], 0
mov eax, dword [edx + 0x10]
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x10072300
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
push edi
mov edi, ebx
mov ebp, ecx
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x10072310
push dword [ebp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
sub edi, ecx
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea eax, [edi + 3]
push eax
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp + 0x18], eax
test edi, edi
jne 0x10072357
mov byte [eax], 0x30
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov byte [eax + 1], 0
mov eax, dword [ebp + 0x18]
pop ebp
pop ebx
ret 8
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ebx, ebx
test edi, edi
jle 0x100723eb
nop dword [eax + eax]
mov eax, dword [esp + 0x14]
mov al, byte [ebx + eax]
test al, al
jne 0x1007237f
xor ecx, ecx
jmp 0x10072385
movzx ecx, al
sub ecx, 0x30
imul ecx, dword [esp + 0x18]
mov eax, 0x66666667
add ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edx, edx
mov esi, eax
cmp ecx, 9
cmovle esi, edx
mov edx, dword [ebp + 0x18]
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
mov al, byte [ecx + ebp]
mov byte [ebx + edx], al
inc ebx
cmp ebx, edi
jl 0x10072370
test esi, esi
jle 0x100723eb
mov ecx, dword [ebp + 0x18]
lea ebx, [ebx + 1]
mov eax, 0xcccccccd
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub esi, eax
mov al, byte [esi + ebp]
mov esi, edx
mov byte [ebx + ecx - 1], al
mov eax, dword [ebp + 0x18]
mov byte [ebx + eax], 0
test esi, esi
jg 0x100723c0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x100871eb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008697a

Function at 0x100871f6
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10086bb9

Function at 0x1008acb7
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1008ab8d
Function at 0x40267f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x64464c], 0x1c
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], eax
jne 0x4026b5
push edi
call dword [sym.imp.KERNEL32.dll_GetFileType]
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [0x427ef8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x427efc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], 0x9e3779b9
call fcn.00402678
add dword [ebp - 4], 0x235
cmp dword [0x64464c], 0x14
jne 0x4026f5
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov eax, dword [0x427f00]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x427f04]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, dword [ebp - 0xc]
mov esi, dword [0x64464c]
mov edx, eax
shl edx, 4
add edx, dword [ebp - 0x1c]
cmp esi, 0xfa9
jne 0x40273a
mov dword [0x644574], 0xedeb2e40
cmp esi, 0x3eb
jne 0x402748
mov dword [0x42f964], edi
mov ecx, dword [ebp - 4]
add ecx, eax
xor edx, ecx
mov ecx, dword [ebp - 0x10]
shr eax, cl
mov dword [0x644570], 0xf4ea3dee
add eax, dword [ebp - 0x2c]
xor eax, edx
mov dword [ebp - 0x14], eax
cmp esi, 0x1a3
jne 0x402788
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
lea eax, [ebp - 0x830]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 8], eax
mov ebx, 0x4a0c69b
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, eax
add edx, eax
shl ecx, 4
add ecx, dword [ebp - 0x28]
shr eax, 5
add eax, dword [ebp - 0x20]
push edx
push ecx
mov esi, eax
call fcn.0040265d
push eax
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.00402640
mov dword [0x42f960], edi
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 4], eax
dec dword [ebp - 0x18]
jne 0x40270c
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4