Function at 0x40253a
Capabilities:
Authenticate hmac
Encode data using base64
Encrypt data using speck
Parse credit card information
Resolve function by parsing pe exports

Disassembly:
mov edx, esi
inc esi
mov eax, dword [ecx + esi*4]
cmp word [eax + 8], bx
jne 0x402299
mov ebx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x34], esi
or esi, 0xffffffff
cmp dword [ebp - 0x34], 0
jbe 0x4427db
test bx, bx
je 0x40230f
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x68]
mov ecx, eax
push eax
mov dword [ebp - 0x24], edi
call fcn.00403e80
inc dword [ebp - 0x68]
or esi, 0xffffffff
into
dec dword [ecx - 0x3f7a27bb]
je 0x402593
mov dword [0x4d1528], ecx
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov edx, ecx
mov ecx, dword [eax + 4]
push 0x7f
pop esi
push 0xffffffffffffffff
mov eax, dword [ecx]
movzx ebx, word [eax + 8]
cmp bx, si
mov dword [ebp - 0x14], ebx
pop esi
je 0x4022ba
push 0x7f
mov esi, edx
pop ebx
jmp 0x402299
mov eax, dword [eax]
cmp eax, 0x13
jg 0x4023c9
cmp eax, 0x12
jge fcn.00442803
sub eax, 4
cmp eax, 0xa
ja case.default.0x40232b
jmp dword [eax*4 + 0x402785]
push 0x7f
pop eax
cmp bx, ax
je 0x442a00
mov ebx, dword [ecx]
xor eax, eax
test ax, ax
je 0x402363
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
mov ebx, dword [ecx + eax*4]
movzx eax, word [ebx + 8]
cmp ax, word [ebp - 0xb0]
jne 0x402342
jmp 0x442a00
cmp dword [ebx], 5
jne 0x402347
mov eax, dword [ecx + edx*4]
xor ebx, ebx
cmp word [eax + 8], bx
or byte [edi], cl
test byte [edi], ah
daa
add dword [eax], eax
invalid
mov edx, dword [ebp - 0x70]
mov ecx, dword [ecx + edx*4 + 4]
mov edx, dword [ebp - 8]
cmp word [ecx + 8], bx
mov ebx, dword [ebp - 4]
jne 0x4022c5
cmp dword [ecx], 0x12
jl 0x4429f5
cmp dword [ecx], 0x13
jle 0x40269a
cmp dword [ecx], 0x18
jle 0x4429f5
cmp dword [ecx], 0x1e
jle 0x4022c5
cmp dword [ecx], 0x21
jle 0x4429f5
cmp dword [ecx], 0x23
jle case.default.0x40232b
jmp 0x4429f5
cmp eax, 0x20
jg 0x4024d1
je 0x4024f6
sub eax, 0x14
je 0x442953
sub eax, 1
je 0x4428fe
sub eax, 1
je 0x4428a5
sub eax, 1
je 0x442887
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
sub eax, 1
jne 0x4022c5
jmp 0x44282e
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0x14]
inc ebx
mov dword [ebp - 0x14], edi
push eax
mov edx, dword [ebp - 8]
jmp 0x4022c5
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x442a07
mov eax, dword [ebp - 4]
dec eax
dec edi
cmp dword [ebp - 0x94], 0
mov dword [ebp - 4], eax
je 0x4427e3
cmp byte [ebp - 0x8b], 0
mov eax, dword [ebp - 0x40]
jne 0x4427eb
mov ebx, dword [eax]
lea ecx, [ebp - 0x94]
call fcn.0040405b
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
test eax, eax
js 0x442a10
cmp edi, ebx
je case.default.0x40232b
jmp 0x442a10
cmp dword [eax], 5
jne 0x402377
inc dword [ebp - 0xc]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0xac]
push eax
inc edi
call fcn.004040d0
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x44], eax
jmp 0x402377
sub eax, 0x21
jne 0x4025fd
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x442a07
sub dword [ebp - 0x4c], 1
jne 0x442a41
jmp 0x402506
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp eax, 1
jg 0x442a36
push dword [ebp - 0x18]
mov ebx, dword [ebp - 4]
push dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
push eax
push dword [ebp - 0x10]
push edi
call fcn.00404251
test eax, eax
jns 0x402433
jmp 0x4025b2
mov eax, dword [ecx + 4]
push 0x7f
pop ecx
cmp word [eax + 8], cx
jne 0x442a07
mov eax, dword [ebp - 0xc]
dec eax
dec edi
cmp dword [ebp - 0xac], 0
mov dword [ebp - 0xc], eax
je 0x4427f3
cmp byte [ebp - 0xa3], 0
mov eax, dword [ebp - 0x44]
jne 0x4427fb
mov ebx, dword [eax]
lea ecx, [ebp - 0xac]
call fcn.00404150
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
test eax, eax
js 0x442a18
cmp edi, ebx
invalid
test byte [ecx], dh
std