Function at 0x4931de
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
cmp eax, 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
jne 0x493213
xor eax, eax
jmp 0x493bc5
mov edi, dword [ebp + 0xc]
cmp edi, ebx
jne 0x493222
push 0x5c
pop esi
jmp 0x493742
movzx esi, byte [edi]
cmp esi, 0x58
jg 0x49372f
je 0x493702
cmp esi, 0x40
jg 0x493528
je 0x4933eb
cmp esi, 0x10
je 0x4936c4
cmp esi, 0x11
je 0x4937cf
cmp esi, 0x1f
je 0x4933ad
cmp esi, 0x30
je 0x49334f
cmp esi, 0x3b
jle 0x493bac
cmp esi, 0x3d
jle 0x493560
cmp esi, 0x3f
jne 0x493bac
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.0049142a
mov ecx, dword [ebp + 8]
add esp, 0x14
call fcn.004945f3
mov ecx, dword [ebp + 8]
mov dword [esp + 0x18], eax
call fcn.004945f3
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.0049147b
mov edx, dword [esp + 0x48]
mov esi, dword [esi + 0xc]
mov eax, edi
call fcn.00494650
push esi
push eax
lea edi, [esp + 0x50]
call fcn.00493bcc
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.0049147b
push dword [ebp + 0x10]
mov eax, dword [esp + 0x4c]
push dword [esp + 0x58]
push dword [esp + 0x58]
push 0x3d
call fcn.0048ac92
mov edx, dword [esp + 0x60]
add esp, 0x48
mov eax, edi
call fcn.00494650
mov edx, dword [esp + 0x1c]
call fcn.00494650
jmp 0x493bac
cmp dword [edx + 0x188], ebx
jne 0x493369
push str.RAISE___may_only_be_used_within_a_trigger_program
mov esi, edx
call fcn.0047f1d8
pop ecx
jmp 0x49320c
cmp dword [edi + 0x28], 4
je 0x49338e
mov eax, edx
push dword [eax]
mov esi, edi
call fcn.0049184c
mov eax, dword [edi + 0x18]
pop ecx
shr eax, 1
push eax
push ebx
push dword [edi + 0x28]
push 0x13
push 0x26
jmp 0x49371b
push ebx
push ebx
push ebx
push 0x66
call fcn.0048ac92
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x188]
push ebx
push dword [eax + 0x18]
push ebx
push 0x5b
jmp 0x493587
push ecx
push dword [edi + 8]
push edx
call fcn.004931de
mov esi, eax
add esp, 0xc
push esi
lea ecx, [edi + 0x14]
mov dword [esp + 0x2c], esi
call fcn.00496d89
movsx eax, al
add eax, 0x29
push eax
mov eax, dword [esp + 0x18]
call fcn.0048ad14
mov eax, dword [ebp + 8]
pop ecx
pop ecx
xor ecx, ecx
inc ecx
call fcn.004930ed
jmp 0x493bac
push ebx
push edi
mov eax, edx
call fcn.0049298a
mov dword [esp + 0x1c], eax
mov eax, edi
call fcn.004913bd
push ebx
push dword [ebp + 0x10]
mov byte [esp + 0x4f], al
mov eax, dword [esp + 0x20]
push 1
push 0x2f
call fcn.0048ac92
push dword [edi + 8]
lea edi, [esp + 0x48]
push dword [ebp + 8]
call fcn.00493bcc
mov edi, dword [esp + 0x30]
mov esi, eax
push esi
push 0x42
mov eax, edi
call fcn.0048ad14
push ebx
push dword [ebp + 0x10]
mov dword [esp + 0x50], eax
push ebx
push 0x71
mov eax, edi
call fcn.0048ac92
push 0x5b
push edi
call fcn.0048acfc
mov edx, dword [edi + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x60]
add esp, 0x40
mov ecx, edi
call fcn.0048af9d
cmp dword [esp + 0x14], 1
jne 0x4934b7
push esi
push 0x25
mov eax, edi
call fcn.0048ad14
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.0048ac92
push 0x5b
push edi
mov dword [esp + 0x34], eax
call fcn.0048acfc
mov edx, dword [edi + 0xc]
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 0x20
mov ecx, edi
call fcn.0048af9d
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x14]
mov ecx, edi
call fcn.0048af9d
jmp 0x4934fc
mov ecx, dword [ebp + 8]
call fcn.004945f3
push 1
push eax
push 1
push esi
push 0x55
push edi
lea ebx, [esp + 0x57]
mov dword [esp + 0x48], eax
call fcn.0048ad42
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
call fcn.004930ed
push dword [esp + 0x48]
mov eax, dword [ebp + 0xc]
push 0
push dword [eax + 0x24]
mov eax, edi
push 0x7a
call fcn.0048ac92
add esp, 0x28
mov esi, eax
xor ebx, ebx
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov eax, edi
push 0x29
call fcn.0048ac92
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x44]
add esp, 0x10
mov ecx, edi
call fcn.0048af9d
mov edx, dword [edi + 0xc]
mov eax, esi
mov ecx, edi
jmp 0x493621
cmp esi, 0x55
jg 0x4936b6
je 0x49362b
cmp esi, 0x41
jl 0x493bac
cmp esi, 0x42
jle 0x4935df
cmp esi, 0x48
jle 0x493598
cmp esi, 0x49
jle 0x493bac
cmp esi, 0x53
jg 0x493bac
push dword [edi + 8]
lea edi, [esp + 0x30]
push edx
call fcn.00493bcc
mov ebx, eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
lea edi, [esp + 0x3c]
push dword [ebp + 8]
call fcn.00493bcc
push dword [ebp + 0x10]
push ebx
push eax
push esi
mov eax, dword [esp + 0x30]
call fcn.0048ac92
add esp, 0x20
jmp 0x493bac
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.0049142a
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.0049147b
jmp 0x493727
push ebx
push ecx
push 1
push 0x2f
call fcn.0048ac92
push dword [edi + 8]
lea edi, [esp + 0x40]
push dword [ebp + 8]
call fcn.00493bcc
push eax
push esi
mov esi, dword [esp + 0x30]
mov eax, esi
call fcn.0048ad14
push ebx
push 0xffffffffffffffff
push dword [ebp + 0x10]
mov edi, eax
push 0x29
mov eax, esi
call fcn.0048ac92
mov edx, dword [esi + 0xc]
add esp, 0x30
mov eax, edi
mov ecx, esi
call fcn.0048af9d
jmp 0x493bac
mov eax, dword [edi + 8]
mov cl, byte [eax]
cmp cl, 0x7d
je 0x49367f
cmp cl, 0x7c
je 0x49367a
mov ecx, edx
call fcn.004945f3
push ebx
push eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
push ebx
push 0x2f
call fcn.0048ac92
push dword [edi + 8]
lea edi, [esp + 0x44]
push dword [ebp + 8]
call fcn.00493bcc
push dword [ebp + 0x10]
push dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x34]
push 0x4f
call fcn.0048ac92
add esp, 0x28
jmp 0x4936ae
cmp cl, 0x7d
jne 0x49369a
mov eax, dword [eax + 0x14]
cmp eax, ebx
je 0x4936ae
push dword [ebp + 0x10]
push 1
push eax
push dword [esp + 0x1c]
call fcn.00492e98
add esp, 0x10
jmp 0x4936ae
push dword [ebp + 0x10]
mov esi, dword [eax + 0x14]
push dword [esp + 0x14]
xor edi, edi
inc edi
call fcn.00492f0a
pop ecx
pop ecx
mov eax, dword [ebp + 0x10]
jmp 0x49386f
mov eax, esi
sub eax, 0x56
je 0x4936f0
dec eax
jne 0x493bac
push ecx
push dword [edi + 8]
mov ebx, edx
push ebx
call fcn.004931de
add esp, 0xc
push dword [ebp + 0x10]
call fcn.00493172
pop ecx
push eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
push esi
call fcn.0048ad14
jmp 0x4937c8
push ecx
push dword [edi + 8]
push edx
call fcn.004931de
add esp, 0xc
jmp 0x49386f
mov eax, edx
push dword [eax]
mov esi, edi
call fcn.0049184c
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.0048ad42
add esp, 0x18
jmp 0x493bac
mov eax, 0x80
cmp esi, eax
jg 0x493821
je 0x4937ef
sub esi, 0x5c
je 0x4937e5
sub esi, 0x12
je 0x4937cf
sub esi, 0xe
je 0x4937b6
dec esi
je 0x49379a
dec esi
je 0x49376a
dec esi
jne 0x493bac
mov eax, dword [edi + 0x24]
jmp 0x49386f
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.0047fabd
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 0x49371e
mov edi, dword [edi + 0x14]
cmp edi, ebx
je 0x493bac
push ecx
push ebx
push edi
push dword [esp + 0x1c]
call fcn.00492e98
jmp 0x493891
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x14]
push ecx
push dword [esp + 0x14]
xor edi, edi
call fcn.00492f0a
pop ecx
pop ecx
jmp 0x493bac
cmp dword [edi + 0x28], ebx
jne 0x4937dd
push edi
push edx
call fcn.00492bc2
pop ecx
pop ecx
mov eax, dword [edi + 0x28]
jmp 0x49386f
push ebx
push ecx
push ebx
push 0x71
jmp 0x493888
mov eax, dword [esp + 0x10]
push ecx
push dword [edi + 0x24]
push 0x1a
call fcn.0048ad2b
mov eax, dword [edi + 0x18]
shr eax, 1
add esp, 0xc
cmp eax, 1
jbe 0x493bac
mov ebx, dword [edi + 0x14]
push eax
push dword [esp + 0x14]
or eax, 0xffffffff
call fcn.0048b07f
jmp 0x4937c8
sub esi, 0x81
je 0x493a78
sub esi, 0x13
je 0x493846
dec esi
je 0x4938c4
dec esi
je 0x493899
dec esi
je 0x49385c
dec esi
jne 0x493bac
mov eax, dword [edi + 0x10]
cmp eax, ebx
mov dword [esp + 0x34], eax
je 0x4938f7
mov esi, dword [eax]
jmp 0x4938f9
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x2c]
imul eax, eax, 0x18
add eax, dword [ecx + 0x10]
cmp byte [ecx], bl
jne 0x493878
mov eax, dword [eax + 0x10]
mov dword [esp + 0x28], eax
jmp 0x493bac
cmp byte [ecx + 1], bl
je 0x4938c4
push dword [ebp + 0x10]
push dword [eax + 0xc]
push dword [ecx + 4]
push 3
mov eax, dword [esp + 0x20]
call fcn.0048ac92
add esp, 0x10
jmp 0x493bac
mov eax, dword [edi + 0x2c]
cmp eax, ebx
jne 0x4938b5
add edi, 0x1c
push edi
push str.misuse_of_aggregate:__T
mov esi, edx
call fcn.0047f1d8
jmp 0x4937c8
mov ecx, dword [edi + 0x30]
mov eax, dword [eax + 0x20]
shl ecx, 4
mov eax, dword [ecx + eax + 8]
jmp 0x49386f
mov eax, dword [edi + 0x24]
cmp eax, ebx
jge 0x4938d3
mov eax, dword [edx + 0x50]
add eax, dword [edi + 0x28]
jmp 0x49386f
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.00492fae
add esp, 0x10
jmp 0x49386f
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.0049997b
mov ebx, dword [esp + 0x48]
add esp, 0x14
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x493960
mov eax, dword [ebx]
mov esi, dword [ebp + 8]
push eax
mov dword [esp + 0x1c], eax
call fcn.00494667
pop ecx
push 1
push eax
mov dword [esp + 0x40], eax
push esi
mov eax, ebx
call fcn.00493d56
add esp, 0xc
jmp 0x49396a
and dword [esp + 0x38], 0
and dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 2
jl 0x493982
test byte [edi + 2], 0x80
je 0x493982
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ecx + 0xc]
jmp 0x49398c
test eax, eax
jle 0x4939a0
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [ecx]
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.004a6cf3
mov dword [esp + 0x30], eax
add esp, 0xc
xor edi, edi
xor esi, esi
cmp dword [esp + 0x18], edi
jle 0x4939fa
cmp edi, 0x180
jge 0x4939fa
mov eax, dword [ebx + 0xc]
push dword [edi + eax]
call fcn.00491faf
test eax, eax
pop ecx
je 0x4939cd
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 0x4939f0
cmp dword [esp + 0x1c], 0
jne 0x4939f0
mov eax, dword [ebx + 0xc]
mov eax, dword [edi + eax]
mov ecx, dword [ebp + 8]
call fcn.00491342
mov dword [esp + 0x1c], eax
inc esi
add edi, 0xc
cmp esi, dword [esp + 0x18]
jl 0x4939aa
mov eax, dword [esp + 0x24]
cmp byte [eax + 3], 0
je 0x493a30
cmp dword [esp + 0x1c], 0
jne 0x493a17
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.0048ad42
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.0048ad42
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
add esp, 0x18
mov dl, bl
call fcn.0048afb9
test ebx, ebx
mov eax, dword [ebp + 8]
je 0x493a71
cmp ebx, dword [eax + 0x38]
jle 0x493a71
mov dword [eax + 0x38], ebx
mov dword [eax + 0x3c], esi
mov ecx, ebx
jmp 0x4933e1
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.0048ad71
mov dword [esp + 0x18], eax
mov eax, dword [edi + 8]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x493ae8
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.00493bcc
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 0x493b73
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
dec eax
shr eax, 1
inc eax
mov dword [esp + 0x20], eax
cmp dword [esp + 0x14], ebx
mov eax, dword [esi]
je 0x493b15
mov dword [esp + 0x94], eax
jmp 0x493b19
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x10]
call fcn.0048ad71
push 8
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push dword [ebp + 8]
call fcn.00493fe3
push dword [ebp + 0x10]
push dword [esi + 0xc]
push dword [ebp + 8]
call fcn.00493c07
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push ebx
push dword [esp + 0x1c]
push ebx
push 0x5b
call fcn.0048ac92
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
add esp, 0x10
call fcn.0048adb3
add esi, 0x18
dec dword [esp + 0x20]
jne 0x493b04
mov esi, dword [ebp + 8]
mov edi, dword [edi + 0xc]
cmp edi, ebx
je 0x493b89
push dword [ebp + 0x10]
push edi
push esi
call fcn.00493c07
add esp, 0xc
jmp 0x493b9c
mov eax, dword [esp + 0x10]
push ebx
push dword [ebp + 0x10]
push ebx
push 0x71
call fcn.0048ac92
add esp, 0x10
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.0048adb3
dec dword [esi + 0x54]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
call fcn.00494650
mov edx, dword [esp + 0x30]
call fcn.00494650
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret