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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x154
mov edx, dword [edx + 4]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebx]
mov esi, dword [edx + ecx*4]
movzx eax, word [esi + 8]
cmp ax, 0x4e
je 0x41027e
mov ebx, dword [ebp + 0x10]
cmp ax, 0x35
je 0x455419
cmp ax, 0x47
je 0x455435
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x410259
mov eax, dword [esi + 0xc]
cmp eax, 4
je 0x4555b6
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4555d9
cmp eax, 5
jge 0x4555ee
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, 5
jne 0x4552fe
mov dword [ebp - 0x10], 0
mov esi, ebx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
mov eax, dword [edx + ecx*4 - 4]
mov dword [ebp - 0x14], 0
movsx eax, word [eax + 0xa]
mov dword [ebp - 0x2c], eax
les esi, [eax*4 - 0x7e7bf040]
lock add eax, dword [eax]
dec ebp
cwde
and ah, dl
add eax, dword [eax]
mov edx, esi
mov eax, esi
shr edx, 3
and eax, 7
movzx ecx, byte [edx + edi]
bts ecx, eax
inc esi
mov byte [edx + edi], cl
cmp esi, ebx
jbe 0x4555a5
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
cmp esi, 0xff
ja 0x4555d4
mov esi, 0x100
cmp edi, esi
jae 0x4949bb
add eax, dword [eax]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
test esi, esi
je 0x45560a
movzx edi, word [ecx]
dec esi
movzx eax, byte [edx]
lea ecx, [ecx + 2]
inc edx
cmp ax, di
je 0x4555ec
sbb eax, eax
and eax, 2
dec eax
pop edi
pop esi
pop ebp
ret
xor eax, eax
jmp 0x455606
push 0x20
pop ecx
movzx eax, word [eax]
cmp ax, cx
je 0x4d23fa
push 9
pop ecx
cmp ax, cx
je 0x4d23fa
mov esi, dword [ebp - 8]
mov ecx, dword [ebp + 8]
push edi
call fcn.00493411
inc edi
movzx eax, word [eax]
test ax, ax
je 0x4933cd
cmp esi, 0x1000
jge 0x4933cd
push 0x20
pop ecx
cmp ax, cx
je 0x493365
push 9
pop ecx
cmp ax, cx
je 0x493365
push 0x22
pop ecx
cmp ax, cx
je 0x493344
mov word [ebp + esi*2 - 0x202c], ax
inc esi
jmp 0x4932ff
mov ecx, dword [ebp + 8]
push edi
call fcn.00493411
push 0x22
pop ecx
cmp word [eax], cx
je 0x4d2400
test bl, bl
je 0x4933c3
xor bl, bl
test bl, bl
je 0x4932ff
jmp 0x4933c5
cmp bl, 1
je 0x493339
xor eax, eax
lea ecx, [ebp - 0x20]
mov word [ebp + esi*2 - 0x202c], ax
lea eax, [ebp - 0x202c]
push eax
call fcn.00498457
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.00493903
lea ecx, [ebp - 0x20]
call fcn.00498033
xor esi, esi
xor bh, bh
mov dword [ebp - 8], esi
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00493411
push 0x20
pop ecx
movzx eax, word [eax]
cmp ax, cx
je 0x4933c0
push 9
pop ecx
cmp ax, cx
jne 0x4932fc
inc edi
jmp 0x4933a1
mov bl, 1
mov dword [ebp - 0xc], esi
jmp 0x4932ff
test esi, esi
je 0x4d2417
test bl, bl
jne 0x4d242c
xor eax, eax
lea ecx, [ebp - 0x20]
mov word [ebp + esi*2 - 0x202c], ax
lea eax, [ebp - 0x202c]
push eax
call fcn.00498457
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push eax
call fcn.00493903
lea ecx, [ebp - 0x20]
call fcn.00498033
pop edi
pop esi
pop ebx
leave
ret 4
invalid
add al, 0x89
inc ebp
in al, dx
mov eax, dword [esi + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xc]
push 0x49cb68
mov dword [ebp - 0xc], eax
inc dword [eax]
call fcn.00492cbc
or ebx, 0xffffffff
lea ecx, [ebp - 0x28]
cmp eax, ebx
je 0x4d2599
lea esi, [eax + 1]
push ebx
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.004954c9
push ebx
push esi
lea ecx, [ebp - 0x18]
call fcn.00497b56
push 0x49cc40
lea ecx, [ebp - 0x28]
call fcn.00492cbc
mov esi, eax
cmp esi, ebx
je 0x493aa8
push ebx
push esi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x48]
call fcn.004954c9
push ebx
push esi
lea ecx, [ebp - 0x28]
call fcn.00497b56
mov ebx, dword [ebp - 0x14]
xor edi, edi
inc edi
xor esi, esi
cmp ebx, edi
jbe 0x493aef
push esi
lea ecx, [ebp - 0x18]
call fcn.004921e3
push 0x5c
pop ecx
cmp word [eax], cx
je 0x4d25af
cmp ebx, edi
jbe 0x493aef
push edi
lea ecx, [ebp - 0x18]
call fcn.00493411
cmp word [eax], 0x3a
jne 0x493aef
push 2
pop edi
push edi
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.004954c9
mov esi, edi
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x58]
call fcn.004954c9
mov eax, dword [ebp - 8]
test eax, eax
je 0x493b14
lea ecx, [ebp - 0x38]
cmp eax, ecx
je 0x493b14
push ecx
mov ecx, eax
call fcn.0049906b
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x493b28
lea eax, [ebp - 0x58]
cmp ecx, eax
je 0x493b28
push eax
call fcn.0049906b
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jne 0x4d26c3
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x4d26d9
lea ecx, [ebp - 0x18]
call fcn.00498033
lea ecx, [ebp - 0x48]
call fcn.00498033
lea ecx, [ebp - 0x28]
call fcn.00498033
lea ecx, [ebp - 0x58]
call fcn.00498033
lea ecx, [ebp - 0x38]
call fcn.00498033
pop edi
pop esi
pop ebx
leave
ret
mov esi, ecx
call fcn.004949ea
lea ecx, [esi + 0x18]
call fcn.00498033
mov ecx, esi
call fcn.004949ea
push dword [esi + 4]
call 0x4ae5b8
push 0x38
push esi
call 0x4ae571
add esp, 0xc
mov eax, esi
pop esi
ret 4