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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
cmp eax, ebx
jne 0x4a0734
xor eax, eax
jmp 0x4a10e6
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jne 0x4a0743
push 0x5c
pop esi
jmp 0x4a0c63
movzx esi, byte [edi]
cmp esi, 0x58
jg 0x4a0c50
je 0x4a0c23
cmp esi, 0x40
jg 0x4a0a49
je 0x4a090c
cmp esi, 0x10
je 0x4a0be5
cmp esi, 0x11
je 0x4a0cf0
cmp esi, 0x1f
je 0x4a08ce
cmp esi, 0x30
je 0x4a0870
cmp esi, 0x3b
jle 0x4a10cd
cmp esi, 0x3d
jle 0x4a0a81
cmp esi, 0x3f
jne 0x4a10cd
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + 0xc]
mov eax, dword [edi + 8]
mov edi, dword [esi]
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x44]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x28], eax
call fcn.0049e935
mov ecx, dword [ebp + 8]
add esp, 0x14
call fcn.004a1b17
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
call fcn.004a1b17
mov ebx, 0x80
push ebx
push dword [esp + 0x1c]
mov dword [esp + 0x24], eax
push dword [esp + 0x2c]
mov eax, edi
push dword [esp + 0x44]
mov edi, dword [ebp + 8]
push 0x48
push dword [esp + 0x28]
call fcn.0049e98b
mov edx, dword [esp + 0x48]
mov esi, dword [esi + 0xc]
mov eax, edi
call fcn.004a1b74
push esi
push eax
lea edi, [esp + 0x50]
call fcn.004a10ed
mov edi, dword [ebp + 8]
push ebx
push dword [esp + 0x40]
push eax
push dword [esp + 0x64]
mov eax, esi
push 0x46
push dword [esp + 0x48]
call fcn.0049e98b
push dword [ebp + 0x10]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x3d
call fcn.0049810a
mov edx, dword [esp + 0x60]
add esp, 0x48
mov eax, edi
call fcn.004a1b74
mov edx, dword [esp + 0x1c]
call fcn.004a1b74
jmp 0x4a10cd
cmp dword [edx + 0x188], ebx
jne 0x4a088a
push str.RAISE___may_only_be_used_within_a_trigger_program
mov esi, edx
call fcn.0048c501
pop ecx
jmp 0x4a072d
cmp dword [edi + 0x28], 4
je 0x4a08af
mov eax, edx
push dword [eax]
mov esi, edi
call fcn.0049ed64
mov eax, dword [edi + 0x18]
pop ecx
shr eax, 1
push eax
push ebx
push dword [edi + 0x28]
push 0x13
push 0x26
jmp 0x4a0c3c
push ebx
push ebx
push ebx
push 0x66
call fcn.0049810a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x188]
push ebx
push dword [eax + 0x18]
push ebx
push 0x5b
jmp 0x4a0aa8
push ecx
push dword [edi + 8]
push edx
call fcn.004a06ff
mov esi, eax
add esp, 0xc
push esi
lea ecx, [edi + 0x14]
mov dword [esp + 0x2c], esi
call fcn.004a42af
movsx eax, al
add eax, 0x29
push eax
mov eax, dword [esp + 0x18]
call fcn.0049818c
mov eax, dword [ebp + 8]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
call fcn.004a060e
jmp 0x4a10cd
push ebx
push edi
mov eax, edx
call fcn.0049fea9
mov dword [esp + 0x1c], eax
mov eax, edi
call fcn.0049e8c5
push ebx
push dword [ebp + 0x10]
mov byte [esp + 0x4f], al
mov eax, dword [esp + 0x20]
push 1
push 0x2f
call fcn.0049810a
push dword [edi + 8]
lea edi, [esp + 0x48]
push dword [ebp + 8]
call fcn.004a10ed
mov edi, dword [esp + 0x30]
mov esi, eax
push esi
push 0x42
mov eax, edi
call fcn.0049818c
push ebx
push dword [ebp + 0x10]
mov dword [esp + 0x50], eax
push ebx
push 0x71
mov eax, edi
call fcn.0049810a
push 0x5b
push edi
call fcn.00498174
mov edx, dword [edi + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
add esp, 0x40
mov ecx, edi
call fcn.00498415
cmp dword [esp + 0x14], 1
jne 0x4a09d8
push esi
push 0x25
mov eax, edi
call fcn.0049818c
push esi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xc]
push ebx
push dword [eax + 0x24]
mov eax, edi
push 0x2d
call fcn.0049810a
push 0x5b
push edi
mov dword [esp + 0x34], eax
call fcn.00498174
mov edx, dword [edi + 0xc]
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 0x20
mov ecx, edi
call fcn.00498415
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, edi
call fcn.00498415
jmp 0x4a0a1d
mov ecx, dword [ebp + 8]
call fcn.004a1b17
push 1
push eax
push 1
push esi
push 0x55
push edi
lea ebx, [esp + 0x57]
mov dword [esp + 0x48], eax
call fcn.004981ba
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
call fcn.004a060e
push dword [esp + 0x48]
mov eax, dword [ebp + 0xc]
push 0
push dword [eax + 0x24]
mov eax, edi
push 0x7a
call fcn.0049810a
add esp, 0x28
mov esi, eax
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov eax, edi
push 0x29
call fcn.0049810a
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x44]
add esp, 0x10
mov ecx, edi
call fcn.00498415
mov edx, dword [edi + 0xc]
mov eax, esi
mov ecx, edi
jmp 0x4a0b42
cmp esi, 0x55
jg 0x4a0bd7
je 0x4a0b4c
cmp esi, 0x41
jl 0x4a10cd
cmp esi, 0x42
jle 0x4a0b00
cmp esi, 0x48
jle 0x4a0ab9
cmp esi, 0x49
jle 0x4a10cd
cmp esi, 0x53
jg 0x4a10cd
push dword [edi + 8]
lea edi, [esp + 0x30]
push edx
call fcn.004a10ed
mov ebx, eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
lea edi, [esp + 0x3c]
push dword [ebp + 8]
call fcn.004a10ed
push dword [ebp + 0x10]
push ebx
push eax
push esi
mov eax, dword [esp + 0x30]
call fcn.0049810a
add esp, 0x20
jmp 0x4a10cd
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
mov eax, dword [edi + 8]
push edx
call fcn.0049e935
mov eax, dword [edi + 0xc]
add esp, 0x14
push 0x80
push dword [ebp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push esi
push dword [edi + 8]
mov edi, dword [ebp + 8]
call fcn.0049e98b
jmp 0x4a0c48
push ebx
push ecx
push 1
push 0x2f
call fcn.0049810a
push dword [edi + 8]
lea edi, [esp + 0x40]
push dword [ebp + 8]
call fcn.004a10ed
push eax
push esi
mov esi, dword [esp + 0x30]
mov eax, esi
call fcn.0049818c
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
push 0x29
mov eax, esi
call fcn.0049810a
mov edx, dword [esi + 0xc]
add esp, 0x30
mov eax, edi
mov ecx, esi
call fcn.00498415
jmp 0x4a10cd
mov eax, dword [edi + 8]
mov cl, byte [eax]
cmp cl, 0x7d
je 0x4a0ba0
cmp cl, 0x7c
je 0x4a0b9b
mov ecx, edx
call fcn.004a1b17
push ebx
push eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push ebx
push 0x2f
call fcn.0049810a
push dword [edi + 8]
lea edi, [esp + 0x44]
push dword [ebp + 8]
call fcn.004a10ed
push dword [ebp + 0x10]
push dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
push 0x4f
call fcn.0049810a
add esp, 0x28
jmp 0x4a0bcf
cmp cl, 0x7d
jne 0x4a0bbb
mov eax, dword [eax + 0x14]
cmp eax, ebx
je 0x4a0bcf
push dword [ebp + 0x10]
push 1
push eax
push dword [esp + 0x1c]
call fcn.004a03b7
add esp, 0x10
jmp 0x4a0bcf
push dword [ebp + 0x10]
mov esi, dword [eax + 0x14]
push dword [esp + 0x14]
xor edi, edi
inc edi
call fcn.004a0429
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
jmp 0x4a0d90
mov eax, esi
sub eax, 0x56
je 0x4a0c11
dec eax
jne 0x4a10cd
push ecx
push dword [edi + 8]
mov ebx, edx
push ebx
call fcn.004a06ff
add esp, 0xc
push dword [ebp + 0x10]
call fcn.004a0693
pop ecx
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
push esi
call fcn.0049818c
jmp 0x4a0ce9
push ecx
push dword [edi + 8]
push edx
call fcn.004a06ff
add esp, 0xc
jmp 0x4a0d90
mov eax, edx
push dword [eax]
mov esi, edi
call fcn.0049ed64
mov eax, dword [edi + 0x18]
pop ecx
shr eax, 1
push eax
push ebx
push dword [ebp + 0x10]
push ebx
push 0x58
mov ebx, dword [edi + 0x14]
push dword [esp + 0x24]
call fcn.004981ba
add esp, 0x18
jmp 0x4a10cd
mov eax, 0x80
cmp esi, eax
jg 0x4a0d42
je 0x4a0d10
sub esi, 0x5c
je 0x4a0d06
sub esi, 0x12
je 0x4a0cf0
sub esi, 0xe
je 0x4a0cd7
dec esi
je 0x4a0cbb
dec esi
je 0x4a0c8b
dec esi
jne 0x4a10cd
mov eax, dword [edi + 0x24]
jmp 0x4a0d90
mov esi, dword [edi + 0x18]
mov edi, dword [edi + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
shr esi, 1
sub esi, 3
inc edi
inc edi
push esi
call fcn.0048cdeb
pop ecx
mov ecx, eax
push 0xffffffffffffffff
mov eax, esi
push ebx
push dword [ebp + 0x10]
cdq
sub eax, edx
sar eax, 1
push eax
push 0x73
mov ebx, ecx
jmp 0x4a0c3f
mov edi, dword [edi + 0x14]
cmp edi, ebx
je 0x4a10cd
push ecx
push ebx
push edi
push dword [esp + 0x1c]
call fcn.004a03b7
jmp 0x4a0db2
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x14]
push ecx
push dword [esp + 0x14]
xor edi, edi
call fcn.004a0429
pop ecx
pop ecx
jmp 0x4a10cd
cmp dword [edi + 0x28], ebx
jne 0x4a0cfe
push edi
push edx
call fcn.004a00e1
pop ecx
pop ecx
mov eax, dword [edi + 0x28]
jmp 0x4a0d90
push ebx
push ecx
push ebx
push 0x71
jmp 0x4a0da9
mov eax, dword [esp + 0x10]
push ecx
push dword [edi + 0x24]
push 0x1a
call fcn.004981a3
mov eax, dword [edi + 0x18]
shr eax, 1
add esp, 0xc
cmp eax, 1
jbe 0x4a10cd
mov ebx, dword [edi + 0x14]
push eax
push dword [esp + 0x14]
or eax, 0xffffffff
call fcn.004984f7
jmp 0x4a0ce9
sub esi, 0x81
je 0x4a0f99
sub esi, 0x13
je 0x4a0d67
dec esi
je 0x4a0de5
dec esi
je 0x4a0dba
dec esi
je 0x4a0d7d
dec esi
jne 0x4a10cd
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], eax
cmp eax, ebx
je 0x4a0e18
mov esi, dword [eax]
jmp 0x4a0e1a
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], bl
jne 0x4a0d99
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
jmp 0x4a10cd
cmp byte [ecx + 1], bl
je 0x4a0de5
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [ecx + 4]
push 3
mov eax, dword [esp + 0x20]
call fcn.0049810a
add esp, 0x10
jmp 0x4a10cd
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jne 0x4a0dd6
add edi, 0x1c
push edi
push str.misuse_of_aggregate:__T
mov esi, edx
call fcn.0048c501
jmp 0x4a0ce9
mov ecx, dword [edi + 0x30]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x4a0d90
mov eax, dword [edi + 0x24]
cmp eax, ebx
jge 0x4a0df4
mov eax, dword [edx + 0x50]
add eax, dword [edi + 0x28]
jmp 0x4a0d90
movzx ecx, word [edi + 2]
mov ebx, dword [edi + 0x3c]
and ecx, 0x200
push ecx
push dword [ebp + 0x10]
push eax
push dword [edi + 0x28]
mov edi, edx
call fcn.004a04cd
add esp, 0x10
jmp 0x4a0d90
xor esi, esi
mov eax, edx
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
mov eax, dword [eax + 0x14]
mov al, byte [eax + 0x59]
mov edx, dword [edi + 0x14]
push ebx
mov byte [esp + 0x1c], al
push dword [esp + 0x1c]
mov eax, dword [edi + 0x18]
push esi
shr eax, 1
push edx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
push ecx
mov ebx, eax
mov dword [esp + 0x34], ecx
call fcn.004a6ea8
mov ebx, dword [esp + 0x48]
add esp, 0x14
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x4a0e81
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
push eax
mov dword [esp + 0x1c], eax
call fcn.004a1b8b
pop ecx
push 1
push eax
mov dword [esp + 0x40], eax
push esi
mov eax, ebx
call fcn.004a127a
add esp, 0xc
jmp 0x4a0e8b
and dword [esp + 0x38], 0
and dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 2
jl 0x4a0ea3
test byte [edi + 2], 0x80
je 0x4a0ea3
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ecx + 0xc]
jmp 0x4a0ead
test eax, eax
jle 0x4a0ec1
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ecx]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.004b41f2
mov dword [esp + 0x30], eax
add esp, 0xc
xor edi, edi
xor esi, esi
cmp dword [esp + 0x18], edi
jle 0x4a0f1b
cmp edi, 0x180
jge 0x4a0f1b
mov eax, dword [ebx + 0xc]
push dword [edi + eax]
call fcn.0049f4c6
pop ecx
test eax, eax
je 0x4a0eee
xor eax, eax
inc eax
mov ecx, esi
shl eax, cl
or dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
cmp byte [eax + 3], 0
je 0x4a0f11
cmp dword [esp + 0x1c], 0
jne 0x4a0f11
mov eax, dword [ebx + 0xc]
mov eax, dword [edi + eax]
mov ecx, dword [ebp + 8]
call fcn.0049e844
mov dword [esp + 0x1c], eax
inc esi
add edi, 0xc
cmp esi, dword [esp + 0x18]
jl 0x4a0ecb
mov eax, dword [esp + 0x24]
cmp byte [eax + 3], 0
je 0x4a0f51
cmp dword [esp + 0x1c], 0
jne 0x4a0f38
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x1c], eax
mov ebx, dword [esp + 0x1c]
push 0xfffffffffffffffc
xor eax, eax
push eax
push eax
push eax
push 0xc
push dword [esp + 0x24]
call fcn.004981ba
add esp, 0x18
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
push 0xfffffffffffffffb
push dword [ebp + 0x10]
push esi
push dword [esp + 0x20]
push 0x15
push dword [esp + 0x24]
call fcn.004981ba
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov dl, bl
call fcn.00498431
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x4a0f92
cmp ebx, dword [eax + 0x38]
jle 0x4a0f92
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], esi
mov ecx, ebx
jmp 0x4a0902
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
call fcn.004981e9
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x4a1009
push 0x11
pop ecx
mov esi, eax
push eax
push dword [ebp + 8]
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x34]
call fcn.004a10ed
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x98], eax
pop ecx
lea eax, [esp + 0x8c]
pop ecx
mov byte [esp + 0x40], 0x7f
mov dword [esp + 0x68], ebx
mov byte [esp + 0x88], 0x44
mov dword [esp + 0x34], eax
mov esi, dword [ebp + 8]
inc dword [esi + 0x54]
cmp dword [esp + 0x20], ebx
jle 0x4a1094
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x20], eax
mov eax, dword [esi]
cmp dword [esp + 0x14], ebx
je 0x4a1036
mov dword [esp + 0x94], eax
jmp 0x4a103a
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
call fcn.004981e9
push 8
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push dword [ebp + 8]
call fcn.004a1507
push dword [ebp + 0x10]
push dword [esi + 0xc]
push dword [ebp + 8]
call fcn.004a1128
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push ebx
push dword [esp + 0x1c]
push ebx
push 0x5b
call fcn.0049810a
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0x10
call fcn.0049822b
add esi, 0x18
dec dword [esp + 0x20]
jne 0x4a1025
mov esi, dword [ebp + 8]
mov edi, dword [edi + 0xc]
cmp edi, ebx
je 0x4a10aa
push dword [ebp + 0x10]
push edi
push esi
call fcn.004a1128
add esp, 0xc
jmp 0x4a10bd
mov eax, dword [esp + 0x10]
push ebx
push dword [ebp + 0x10]
push ebx
push 0x71
call fcn.0049810a
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.0049822b
dec dword [esi + 0x54]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
call fcn.004a1b74
mov edx, dword [esp + 0x30]
call fcn.004a1b74
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret