Function at 0x4ae578
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 0x4ae5ad
xor eax, eax
jmp 0x4aef5f
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jne 0x4ae5bc
push 0x5c
pop esi
jmp 0x4aeadc
movzx esi, byte [edi]
cmp esi, 0x58
jg 0x4aeac9
je 0x4aea9c
cmp esi, 0x40
jg 0x4ae8c2
je 0x4ae785
cmp esi, 0x10
je 0x4aea5e
cmp esi, 0x11
je 0x4aeb69
cmp esi, 0x1f
je 0x4ae747
cmp esi, 0x30
je 0x4ae6e9
cmp esi, 0x3b
jle 0x4aef46
cmp esi, 0x3d
jle 0x4ae8fa
cmp esi, 0x3f
jne 0x4aef46
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.004ac7ae
mov ecx, dword [ebp + 8]
add esp, 0x14
call fcn.004af990
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
call fcn.004af990
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.004ac804
mov edx, dword [esp + 0x48]
mov esi, dword [esi + 0xc]
mov eax, edi
call fcn.004af9ed
push esi
push eax
lea edi, [esp + 0x50]
call fcn.004aef66
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.004ac804
push dword [ebp + 0x10]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x3d
call fcn.004a5f83
mov edx, dword [esp + 0x60]
add esp, 0x48
mov eax, edi
call fcn.004af9ed
mov edx, dword [esp + 0x1c]
call fcn.004af9ed
jmp 0x4aef46
cmp dword [edx + 0x188], ebx
jne 0x4ae703
push str.RAISE___may_only_be_used_within_a_trigger_program
mov esi, edx
call fcn.0049a37a
pop ecx
jmp 0x4ae5a6
cmp dword [edi + 0x28], 4
je 0x4ae728
mov eax, edx
push dword [eax]
mov esi, edi
call fcn.004acbdd
mov eax, dword [edi + 0x18]
pop ecx
shr eax, 1
push eax
push ebx
push dword [edi + 0x28]
push 0x13
push 0x26
jmp 0x4aeab5
push ebx
push ebx
push ebx
push 0x66
call fcn.004a5f83
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x188]
push ebx
push dword [eax + 0x18]
push ebx
push 0x5b
jmp 0x4ae921
push ecx
push dword [edi + 8]
push edx
call fcn.004ae578
mov esi, eax
add esp, 0xc
push esi
lea ecx, [edi + 0x14]
mov dword [esp + 0x2c], esi
call fcn.004b2128
movsx eax, al
add eax, 0x29
push eax
mov eax, dword [esp + 0x18]
call fcn.004a6005
mov eax, dword [ebp + 8]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
call fcn.004ae487
jmp 0x4aef46
push ebx
push edi
mov eax, edx
call fcn.004add22
mov dword [esp + 0x1c], eax
mov eax, edi
call fcn.004ac73e
push ebx
push dword [ebp + 0x10]
mov byte [esp + 0x4f], al
mov eax, dword [esp + 0x20]
push 1
push 0x2f
call fcn.004a5f83
push dword [edi + 8]
lea edi, [esp + 0x48]
push dword [ebp + 8]
call fcn.004aef66
mov edi, dword [esp + 0x30]
mov esi, eax
push esi
push 0x42
mov eax, edi
call fcn.004a6005
push ebx
push dword [ebp + 0x10]
mov dword [esp + 0x50], eax
push ebx
push 0x71
mov eax, edi
call fcn.004a5f83
push 0x5b
push edi
call fcn.004a5fed
mov edx, dword [edi + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
add esp, 0x40
mov ecx, edi
call fcn.004a628e
cmp dword [esp + 0x14], 1
jne 0x4ae851
push esi
push 0x25
mov eax, edi
call fcn.004a6005
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.004a5f83
push 0x5b
push edi
mov dword [esp + 0x34], eax
call fcn.004a5fed
mov edx, dword [edi + 0xc]
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 0x20
mov ecx, edi
call fcn.004a628e
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, edi
call fcn.004a628e
jmp 0x4ae896
mov ecx, dword [ebp + 8]
call fcn.004af990
push 1
push eax
push 1
push esi
push 0x55
push edi
lea ebx, [esp + 0x57]
mov dword [esp + 0x48], eax
call fcn.004a6033
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
call fcn.004ae487
push dword [esp + 0x48]
mov eax, dword [ebp + 0xc]
push 0
push dword [eax + 0x24]
mov eax, edi
push 0x7a
call fcn.004a5f83
add esp, 0x28
mov esi, eax
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov eax, edi
push 0x29
call fcn.004a5f83
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x44]
add esp, 0x10
mov ecx, edi
call fcn.004a628e
mov edx, dword [edi + 0xc]
mov eax, esi
mov ecx, edi
jmp 0x4ae9bb
cmp esi, 0x55
jg 0x4aea50
je 0x4ae9c5
cmp esi, 0x41
jl 0x4aef46
cmp esi, 0x42
jle 0x4ae979
cmp esi, 0x48
jle 0x4ae932
cmp esi, 0x49
jle 0x4aef46
cmp esi, 0x53
jg 0x4aef46
push dword [edi + 8]
lea edi, [esp + 0x30]
push edx
call fcn.004aef66
mov ebx, eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
lea edi, [esp + 0x3c]
push dword [ebp + 8]
call fcn.004aef66
push dword [ebp + 0x10]
push ebx
push eax
push esi
mov eax, dword [esp + 0x30]
call fcn.004a5f83
add esp, 0x20
jmp 0x4aef46
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.004ac7ae
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.004ac804
jmp 0x4aeac1
push ebx
push ecx
push 1
push 0x2f
call fcn.004a5f83
push dword [edi + 8]
lea edi, [esp + 0x40]
push dword [ebp + 8]
call fcn.004aef66
push eax
push esi
mov esi, dword [esp + 0x30]
mov eax, esi
call fcn.004a6005
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
push 0x29
mov eax, esi
call fcn.004a5f83
mov edx, dword [esi + 0xc]
add esp, 0x30
mov eax, edi
mov ecx, esi
call fcn.004a628e
jmp 0x4aef46
mov eax, dword [edi + 8]
mov cl, byte [eax]
cmp cl, 0x7d
je 0x4aea19
cmp cl, 0x7c
je 0x4aea14
mov ecx, edx
call fcn.004af990
push ebx
push eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push ebx
push 0x2f
call fcn.004a5f83
push dword [edi + 8]
lea edi, [esp + 0x44]
push dword [ebp + 8]
call fcn.004aef66
push dword [ebp + 0x10]
push dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
push 0x4f
call fcn.004a5f83
add esp, 0x28
jmp 0x4aea48
cmp cl, 0x7d
jne 0x4aea34
mov eax, dword [eax + 0x14]
cmp eax, ebx
je 0x4aea48
push dword [ebp + 0x10]
push 1
push eax
push dword [esp + 0x1c]
call fcn.004ae230
add esp, 0x10
jmp 0x4aea48
push dword [ebp + 0x10]
mov esi, dword [eax + 0x14]
push dword [esp + 0x14]
xor edi, edi
inc edi
call fcn.004ae2a2
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
jmp 0x4aec09
mov eax, esi
sub eax, 0x56
je 0x4aea8a
dec eax
jne 0x4aef46
push ecx
push dword [edi + 8]
mov ebx, edx
push ebx
call fcn.004ae578
add esp, 0xc
push dword [ebp + 0x10]
call fcn.004ae50c
pop ecx
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
push esi
call fcn.004a6005
jmp 0x4aeb62
push ecx
push dword [edi + 8]
push edx
call fcn.004ae578
add esp, 0xc
jmp 0x4aec09
mov eax, edx
push dword [eax]
mov esi, edi
call fcn.004acbdd
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.004a6033
add esp, 0x18
jmp 0x4aef46
mov eax, 0x80
cmp esi, eax
jg 0x4aebbb
je 0x4aeb89
sub esi, 0x5c
je 0x4aeb7f
sub esi, 0x12
je 0x4aeb69
sub esi, 0xe
je 0x4aeb50
dec esi
je 0x4aeb34
dec esi
je 0x4aeb04
dec esi
jne 0x4aef46
mov eax, dword [edi + 0x24]
jmp 0x4aec09
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.0049ac64
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 0x4aeab8
mov edi, dword [edi + 0x14]
cmp edi, ebx
je 0x4aef46
push ecx
push ebx
push edi
push dword [esp + 0x1c]
call fcn.004ae230
jmp 0x4aec2b
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x14]
push ecx
push dword [esp + 0x14]
xor edi, edi
call fcn.004ae2a2
pop ecx
pop ecx
jmp 0x4aef46
cmp dword [edi + 0x28], ebx
jne 0x4aeb77
push edi
push edx
call fcn.004adf5a
pop ecx
pop ecx
mov eax, dword [edi + 0x28]
jmp 0x4aec09
push ebx
push ecx
push ebx
push 0x71
jmp 0x4aec22
mov eax, dword [esp + 0x10]
push ecx
push dword [edi + 0x24]
push 0x1a
call fcn.004a601c
mov eax, dword [edi + 0x18]
shr eax, 1
add esp, 0xc
cmp eax, 1
jbe 0x4aef46
mov ebx, dword [edi + 0x14]
push eax
push dword [esp + 0x14]
or eax, 0xffffffff
call fcn.004a6370
jmp 0x4aeb62
sub esi, 0x81
je 0x4aee12
sub esi, 0x13
je 0x4aebe0
dec esi
je 0x4aec5e
dec esi
je 0x4aec33
dec esi
je 0x4aebf6
dec esi
jne 0x4aef46
mov eax, dword [edi + 0x10]
mov dword [esp + 0x34], eax
cmp eax, ebx
je 0x4aec91
mov esi, dword [eax]
jmp 0x4aec93
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], bl
jne 0x4aec12
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
jmp 0x4aef46
cmp byte [ecx + 1], bl
je 0x4aec5e
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [ecx + 4]
push 3
mov eax, dword [esp + 0x20]
call fcn.004a5f83
add esp, 0x10
jmp 0x4aef46
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jne 0x4aec4f
add edi, 0x1c
push edi
push str.misuse_of_aggregate:__T
mov esi, edx
call fcn.0049a37a
jmp 0x4aeb62
mov ecx, dword [edi + 0x30]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x4aec09
mov eax, dword [edi + 0x24]
cmp eax, ebx
jge 0x4aec6d
mov eax, dword [edx + 0x50]
add eax, dword [edi + 0x28]
jmp 0x4aec09
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.004ae346
add esp, 0x10
jmp 0x4aec09
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.004b4d21
mov ebx, dword [esp + 0x48]
add esp, 0x14
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x4aecfa
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
push eax
mov dword [esp + 0x1c], eax
call fcn.004afa04
pop ecx
push 1
push eax
mov dword [esp + 0x40], eax
push esi
mov eax, ebx
call fcn.004af0f3
add esp, 0xc
jmp 0x4aed04
and dword [esp + 0x38], 0
and dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 2
jl 0x4aed1c
test byte [edi + 2], 0x80
je 0x4aed1c
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ecx + 0xc]
jmp 0x4aed26
test eax, eax
jle 0x4aed3a
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ecx]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.004c206b
mov dword [esp + 0x30], eax
add esp, 0xc
xor edi, edi
xor esi, esi
cmp dword [esp + 0x18], edi
jle 0x4aed94
cmp edi, 0x180
jge 0x4aed94
mov eax, dword [ebx + 0xc]
push dword [edi + eax]
call fcn.004ad33f
pop ecx
test eax, eax
je 0x4aed67
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 0x4aed8a
cmp dword [esp + 0x1c], 0
jne 0x4aed8a
mov eax, dword [ebx + 0xc]
mov eax, dword [edi + eax]
mov ecx, dword [ebp + 8]
call fcn.004ac6bd
mov dword [esp + 0x1c], eax
inc esi
add edi, 0xc
cmp esi, dword [esp + 0x18]
jl 0x4aed44
mov eax, dword [esp + 0x24]
cmp byte [eax + 3], 0
je 0x4aedca
cmp dword [esp + 0x1c], 0
jne 0x4aedb1
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.004a6033
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.004a6033
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov dl, bl
call fcn.004a62aa
mov eax, dword [ebp + 8]
test ebx, ebx
je 0x4aee0b
cmp ebx, dword [eax + 0x38]
jle 0x4aee0b
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], esi
mov ecx, ebx
jmp 0x4ae77b
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.004a6062
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x14], eax
cmp eax, ebx
je 0x4aee82
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.004aef66
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 0x4aef0d
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 0x4aeeaf
mov dword [esp + 0x94], eax
jmp 0x4aeeb3
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
call fcn.004a6062
push 8
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push dword [ebp + 8]
call fcn.004af380
push dword [ebp + 0x10]
push dword [esi + 0xc]
push dword [ebp + 8]
call fcn.004aefa1
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push ebx
push dword [esp + 0x1c]
push ebx
push 0x5b
call fcn.004a5f83
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0x10
call fcn.004a60a4
add esi, 0x18
dec dword [esp + 0x20]
jne 0x4aee9e
mov esi, dword [ebp + 8]
mov edi, dword [edi + 0xc]
cmp edi, ebx
je 0x4aef23
push dword [ebp + 0x10]
push edi
push esi
call fcn.004aefa1
add esp, 0xc
jmp 0x4aef36
mov eax, dword [esp + 0x10]
push ebx
push dword [ebp + 0x10]
push ebx
push 0x71
call fcn.004a5f83
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.004a60a4
dec dword [esi + 0x54]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
call fcn.004af9ed
mov edx, dword [esp + 0x30]
call fcn.004af9ed
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret