Function at 0x40c4d3
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 8], 2
mov dword [ebp - 0x10], 0x100000
mov al, byte [edi]
cmp al, 0xff
jne 0x40c53e
cmp byte [edi + 1], 0xd8
jne 0x40c719
cmp byte [edi + 2], al
jne 0x40c719
mov al, byte [edi + 3]
cmp al, 0xe0
je 0x40c530
cmp al, 0xe1
je 0x40c530
cmp al, 0xdb
je 0x40c530
cmp al, 0xee
je 0x40c530
cmp al, 0xe2
je 0x40c530
cmp al, 0xfe
jne 0x40c719
mov dword [ebx + 0x18], 0x1f
mov al, 1
jmp 0x40cdfb
cmp al, 0x25
jne 0x40c57c
cmp byte [edi + 1], 0x50
jne 0x40c719
cmp byte [edi + 2], 0x44
jne 0x40c719
cmp byte [edi + 3], 0x46
jne 0x40c719
cmp byte [edi + 4], 0x2d
jne 0x40c719
cmp byte [edi + 5], dl
jne 0x40c719
mov dword [ebx + 0x18], 0x2f
jmp 0x40c537
cmp al, 0x89
jne 0x40c5db
cmp byte [edi + 1], 0x50
jne 0x40c719
cmp byte [edi + 2], 0x4e
jne 0x40c719
cmp byte [edi + 3], 0x47
jne 0x40c719
cmp byte [edi + 4], 0xd
jne 0x40c719
cmp byte [edi + 5], 0xa
jne 0x40c719
cmp byte [edi + 6], 0x1a
jne 0x40c719
cmp byte [edi + 7], 0xa
jne 0x40c719
cmp byte [edi + 8], dl
jne 0x40c719
mov dword [ebx + 0x18], 0x30
jmp 0x40c537
cmp al, 0x50
jne 0x40c609
cmp byte [edi + 1], 0x4b
jne 0x40c719
cmp byte [edi + 2], 3
jne 0x40c719
cmp byte [edi + 3], 4
jne 0x40c719
mov dword [ebx + 0x18], 0x44
jmp 0x40c537
test al, al
jne 0x40c7c4
cmp byte [edi + 1], dl
jne 0x40c719
push 0xf
pop esi
cmp byte [edi + 2], cl
jne 0x40c69d
cmp byte [edi + 3], dl
jne 0x40c69d
movzx eax, word [edi + 2]
mov dword [ebp - 0x18], eax
cmp cx, ax
je 0x40c639
cmp word [ebp - 8], ax
jne 0x40c69d
movzx ecx, word [edi + 4]
lea eax, [ecx - 1]
cmp ax, si
ja 0x40c69a
mov eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], eax
push 6
pop esi
test eax, eax
je 0x40c697
lea eax, [edi + 0xe]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add eax, 0xfffffff8
push eax
call fcn.0040ce5d
test al, al
je 0x40c680
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 0x10
add esi, eax
cmp esi, 0x100000
jb 0x40c784
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc ecx
add eax, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, dword [ebp - 0x14]
jb 0x40c65a
xor edx, edx
push 0xf
pop esi
xor ecx, ecx
inc ecx
cmp byte [edi + 2], 2
jne 0x40c719
cmp byte [edi + 3], 0
jne 0x40c719
movzx eax, word [edi + 2]
mov dword [ebp - 0x14], eax
cmp cx, ax
je 0x40c6bd
push 2
pop ecx
cmp cx, ax
jne 0x40c719
movzx ecx, word [edi + 4]
lea eax, [ecx - 1]
cmp ax, si
ja 0x40c719
mov eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], eax
push 6
pop esi
test eax, eax
je 0x40c719
lea eax, [edi + 0xe]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
add eax, 0xfffffff8
push eax
call fcn.0040ce5d
test al, al
je 0x40c704
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, 0x10
add esi, eax
cmp esi, 0x100000
jb 0x40c7bb
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
inc ecx
add eax, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
cmp ecx, dword [ebp - 0x18]
jb 0x40c6de
mov eax, 0x4d42
xor ecx, ecx
cmp ax, word [edi]
jne 0x40c801
cmp word [edi + 6], cx
jne 0x40c801
cmp word [edi + 8], cx
jne 0x40c801
mov eax, dword [edi + 0xe]
cmp eax, 0xc
je 0x40c767
cmp eax, 0x40
je 0x40c767
cmp eax, 0x34
je 0x40c767
cmp eax, 0x28
je 0x40c767
cmp eax, 0x38
je 0x40c767
cmp eax, 0x6c
je 0x40c767
cmp eax, 0x7c
jne 0x40c801
mov eax, dword [ebp - 0xc]
push 9
pop edx
mov dword [eax + 0x1e58], edx
mov dword [ebx + 0x18], edx
mov eax, dword [edi + 2]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
jmp 0x40c537
xor edx, edx
inc edx
cmp dx, word [ebp - 0x18]
jne 0x40c79e
mov ecx, dword [ebp - 0xc]
push 0x1e
pop eax
mov dword [ebx + 0x18], eax
mov dword [ecx + 0x1e58], eax
jmp 0x40c7ad
mov eax, dword [ebp - 0xc]
push 0x12
pop ecx
mov dword [eax + 0x1e58], ecx
mov dword [ebx + 0x18], ecx
and dword [ebx + 0x14], 0
mov al, dl
mov dword [ebx + 0x10], esi
jmp 0x40cdfb
xor edx, edx
inc edx
cmp dx, word [ebp - 0x14]
jmp 0x40c78b
cmp al, 0x47
jne 0x40c719
cmp byte [edi + 1], 0x49
jne 0x40c719
cmp byte [edi + 2], 0x46
jne 0x40c719
cmp byte [edi + 3], 0x38
jne 0x40c719
mov al, byte [edi + 5]
cmp al, 0x61
jne 0x40c719
mov dword [ebx + 0x18], 0x1a
jmp 0x40c537
mov dword [ebp - 0x1c], str.ftyp3g2a
lea eax, [edi + 4]
mov dword [ebp - 0x18], str.ftyp3gp4
mov esi, ecx
mov dword [ebp - 0x28], str.3gp4
mov dword [ebp - 0x24], str.3gp5
mov dword [ebp - 0x20], str.3g2a
push 8
push dword [ebp + esi*4 - 0x1c]
push eax
call fcn.004993b6
add esp, 0xc
test eax, eax
je 0x40c849
push 2
pop eax
inc esi
cmp esi, eax
lea eax, [edi + 4]
jl 0x40c829
jmp 0x40c86e
xor esi, esi
lea eax, [edi + 0x10]
push 4
push dword [ebp + esi*4 - 0x28]
push eax
call fcn.004993b6
add esp, 0xc
test eax, eax
je 0x40cdf5
inc esi
lea eax, [edi + 0x10]
cmp esi, 3
jl 0x40c84e
push 4
lea eax, [edi + 4]
push eax
push str.ftyp__0_r_nSECTION_r_n__2_r_nHEADER_r_n
call fcn.0049450a
add esp, 0xc
test eax, eax
je 0x40cdf5
cmp byte [edi], 0x30
jne 0x40c8f4
cmp byte [edi + 1], 0x26
jne 0x40c8f4
cmp byte [edi + 2], 0xb2
jne 0x40c8f4
cmp byte [edi + 3], 0x75
jne 0x40c8f4
cmp byte [edi + 4], 0x8e
jne 0x40c8f4
cmp byte [edi + 5], 0x66
jne 0x40c8f4
cmp byte [edi + 6], 0xcf
jne 0x40c8f4
cmp byte [edi + 7], 0x11
jne 0x40c8f4
cmp byte [edi + 8], 0xa6
jne 0x40c8f4
cmp byte [edi + 9], 0xd9
jne 0x40c8f4
cmp byte [edi + 0xa], 0
jne 0x40c8f4
cmp byte [edi + 0xb], 0xaa
jne 0x40c8f4
cmp byte [edi + 0xc], 0
jne 0x40c8f4
cmp byte [edi + 0xd], 0x62
jne 0x40c8f4
cmp byte [edi + 0xe], 0xce
jne 0x40c8f4
cmp byte [edi + 0xf], 0x6c
jne 0x40c8f4
mov dword [ebx + 0x18], 6
jmp 0x40c537
cmp byte [edi], 0x49
jne 0x40c911
cmp byte [edi + 1], 0x44
jne 0x40c911
cmp byte [edi + 2], 0x33
jne 0x40c911
mov dword [ebx + 0x18], 0x29
jmp 0x40c537
push 0x1b
push 0x4c0200
push edi
call fcn.0049450a
add esp, 0xc
test eax, eax
jne 0x40c931
mov dword [ebx + 0x18], 0x16
jmp 0x40c537
mov al, byte [edi]
cmp al, 0x46
jne 0x40c957
xor eax, eax
inc eax
cmp byte [edi + 1], 0x4c
jne 0x40c9b1
cmp byte [edi + 2], 0x56
jne 0x40c9b1
cmp byte [edi + 3], al
jne 0x40c9b1
mov dword [ebx + 0x18], 0x19
jmp 0x40cdfb
cmp al, 0x4d
jne 0x40c9ae
cmp byte [edi + 1], 0x54
jne 0x40c9ae
cmp byte [edi + 2], 0x68
jne 0x40c9ae
cmp byte [edi + 3], 0x64
jne 0x40c9ae
cmp byte [edi + 4], 0
jne 0x40c9ae
cmp byte [edi + 5], 0
jne 0x40c9ae
cmp byte [edi + 6], 0
jne 0x40c9ae
cmp byte [edi + 7], 6
jne 0x40c9ae
mov ax, word [edi + 8]
mov ch, al
mov cl, ah
push 2
pop eax
cmp cx, ax
ja 0x40c9ae
mov ax, word [edi + 0xa]
mov ch, al
mov cl, ah
test cx, cx
je 0x40c9ae
mov dword [ebx + 0x18], 0x24
jmp 0x40c537
xor eax, eax
inc eax
cmp byte [edi], 0x38
jne 0x40c9d4
cmp byte [edi + 1], 0x42
jne 0x40c9d4
cmp byte [edi + 2], 0x50
jne 0x40c9d4
cmp byte [edi + 3], 0x53
jne 0x40c9d4
mov dword [ebx + 0x18], 0x33
jmp 0x40cdfb
push 4
push edi
push str._BDN
call fcn.0049450a
add esp, 0xc
test eax, eax
jne 0x40ca23
mov al, byte [edi + 0xa]
cmp al, 0xe
jne 0x40c9f7
mov eax, dword [edi + 0xa8]
jmp 0x40ca01
cmp al, 0x17
jne 0x40ca04
mov eax, dword [edi + 0xb8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
xor eax, eax
push 0x35
pop edx
mov dword [ebx + 0x18], edx
mov dword [ecx + 0x1e58], edx
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
jmp 0x40c537
push 7
push 0x4c0224
push edi
call fcn.0049450a
add esp, 0xc
test eax, eax
je 0x40cde9
push 7
push str.Rar_
push edi
call fcn.0049450a
add esp, 0xc
test eax, eax
je 0x40cde9
cmp dword [edi], 0x46464952
jne 0x40cab0
mov esi, dword [ebp - 0xc]
mov ecx, esi
push edi
call fcn.0040c484
test al, al
je 0x40ca73
mov dword [ebx + 0x18], 0x3f
jmp 0x40ca9e
push edi
mov ecx, esi
call fcn.0040c363
test al, al
je 0x40ca88
mov dword [ebx + 0x18], 8
jmp 0x40ca9e
push edi
mov ecx, esi
call fcn.0040c3b2
push 0xb
pop ecx
test al, al
push 0x38
pop eax
cmovne eax, ecx
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 4]
add eax, 8
mov dword [ebx + 0x10], eax
and dword [ebx + 0x14], 0
jmp 0x40c537
mov al, byte [edi]
cmp al, 0x7b
jne 0x40caea
cmp byte [edi + 1], 0x5c
jne 0x40cc4e
cmp byte [edi + 2], 0x72
jne 0x40cc4e
cmp byte [edi + 3], 0x74
jne 0x40cc4e
cmp byte [edi + 4], 0x66
jne 0x40cc4e
mov dword [ebx + 0x18], 0x39
jmp 0x40c537
cmp al, 0x46
jne 0x40cb3f
cmp byte [edi + 1], 0x57
jne 0x40cafa
cmp byte [edi + 2], 0x53
je 0x40cb5b
cmp byte [edi + 1], 0x55
jne 0x40cc4e
cmp byte [edi + 2], 0x4a
jne 0x40cc4e
cmp byte [edi + 3], 0x49
jne 0x40cc4e
cmp byte [edi + 4], 0x46
jne 0x40cc4e
cmp byte [edi + 5], 0x49
jne 0x40cc4e
cmp byte [edi + 6], 0x4c
jne 0x40cc4e
cmp byte [edi + 7], 0x4d
jmp 0x40cc4c
cmp al, 0x43
jne 0x40cc27
cmp byte [edi + 1], 0x57
jne 0x40cc4e
cmp byte [edi + 2], 0x53
jne 0x40cc4e
mov al, byte [edi + 3]
lea esi, [edi + 8]
sub al, 3
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], 5
cmp al, 0x11
ja 0x40cc4e
mov edx, dword [edi + 4]
mov ecx, edx
shl ecx, 0x10
mov eax, edx
and eax, 0xff00
shr edx, 8
or ecx, eax
and edx, 0xff00
movzx eax, byte [edi + 7]
shl ecx, 8
or ecx, eax
or ecx, edx
cmp ecx, 9
jb 0x40cc4e
movzx eax, byte [esi]
shr eax, 3
mov dword [ebp - 8], eax
cmp eax, 1
jbe 0x40cc4e
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040ce98
push dword [ebp - 8]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040ce98
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040ce98
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040ce98
add esp, 0x30
test esi, esi
jne 0x40cc4e
cmp dword [ebp - 0x18], esi
jne 0x40cc4e
cmp dword [ebp - 0x14], esi
jle 0x40cc4e
test eax, eax
jle 0x40cc4e
mov eax, dword [ebp - 0xc]
push 0x3b
pop ecx
mov dword [eax + 0x1e58], ecx
mov dword [ebx + 0x18], ecx
mov eax, dword [edi + 4]
jmp 0x40caa4
cmp al, 0x4d
jne 0x40cc55
cmp byte [edi + 1], al
jne 0x40cc4e
cmp byte [edi + 2], 0
jne 0x40cc42
cmp byte [edi + 3], 0x2a
je 0x40cc82
cmp byte [edi + 3], 0x55
jmp 0x40cc4c
cmp byte [edi + 2], 0x4f
jne 0x40cc4e
cmp byte [edi + 3], 0x52
je 0x40cc82
xor al, al
jmp 0x40cdfb
cmp al, 0x49
jne 0x40cc8e
cmp byte [edi + 1], al
jne 0x40cc4e
cmp byte [edi + 2], 0x2a
je 0x40cc6a
cmp byte [edi + 2], 0x55
jne 0x40cc70
cmp byte [edi + 3], 0
jmp 0x40cc4c
cmp byte [edi + 2], 0x52
jne 0x40cc4e
cmp byte [edi + 3], 0x4f
je 0x40cc82
cmp byte [edi + 3], 0x53
jne 0x40cc4e
mov dword [ebx + 0x18], 0x3d
jmp 0x40c537
cmp al, 0x1a
jne 0x40ccb0
cmp byte [edi + 1], 0x45
jne 0x40cc4e
cmp byte [edi + 2], 0xdf
jne 0x40cc4e
cmp byte [edi + 3], 0xa3
jne 0x40cc4e
mov dword [ebx + 0x18], 0x55
jmp 0x40c537
cmp al, 0x4f
jne 0x40cce2
cmp byte [edi + 1], 0x67
jne 0x40cc4e
cmp byte [edi + 2], 0x67
jne 0x40cc4e
cmp byte [edi + 3], 0x53
jne 0x40cc4e
cmp byte [edi + 4], 0
jne 0x40cc4e
cmp byte [edi + 5], 2
jne 0x40cc4e
mov dword [ebx + 0x18], 0x2b
jmp 0x40c537
cmp al, 0xd0
jne 0x40cd38
cmp byte [edi + 1], 0xcf
jne 0x40cc4e
cmp byte [edi + 2], 0x11
jne 0x40cc4e
cmp byte [edi + 3], 0xe0
jne 0x40cc4e
cmp byte [edi + 4], 0xa1
jne 0x40cc4e
cmp byte [edi + 5], 0xb1
jne 0x40cc4e
cmp byte [edi + 6], 0x1a
jne 0x40cc4e
cmp byte [edi + 7], 0xe1
jne 0x40cc4e
mov dword [ebx + 0x18], 0x2d
jmp 0x40c537
cmp al, 0xe4
jne 0x40cc4e
cmp byte [edi + 1], 0x52
jne 0x40cc4e
cmp byte [edi + 2], 0x5c
jne 0x40cc4e
cmp byte [edi + 3], 0x7b
jne 0x40cc4e
cmp byte [edi + 4], 0x8c
jne 0x40cc4e
cmp byte [edi + 5], 0xd8
jne 0x40cc4e
cmp byte [edi + 6], 0xa7
jne 0x40cc4e
cmp byte [edi + 7], 0x4d
jne 0x40cc4e
cmp byte [edi + 8], 0xae
jne 0x40cc4e
cmp byte [edi + 9], 0xb1
jne 0x40cc4e
cmp byte [edi + 0xa], 0x53
jne 0x40cc4e
cmp byte [edi + 0xb], 0x78
jne 0x40cc4e
cmp byte [edi + 0xc], 0xd0
jne 0x40cc4e
cmp byte [edi + 0xd], 0x29
jne 0x40cc4e
cmp byte [edi + 0xe], 0x96
jne 0x40cc4e
cmp byte [edi + 0xf], 0xd3
jne 0x40cc4e
mov dword [ebx + 0x18], 0x2e
mov dword [ebx + 0x10], 0x100000
jmp 0x40caa7
mov dword [ebx + 0x18], 0x37
jmp 0x40c537
xor eax, eax
inc eax
mov dword [ebx + 0x18], eax
pop edi
pop esi
pop ebx
leave
ret 8