Function at 0x46b171
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x18
push edi
call fcn.0045842e
mov ebx, dword [ebp + 0xc]
mov esi, eax
and dword [esi + 8], 0
mov eax, dword [ebx]
push eax
push edi
mov dword [ebp - 4], esi
call dword [eax + 0x2c]
add esp, 0x10
test al, al
mov byte [ebp + 0xc], al
je 0x46b2a8
mov cl, byte [ebp + 0xc]
cmp cl, 0xa
je 0x46b28c
mov al, cl
call fcn.0046abfe
test eax, eax
jne 0x46b291
cmp cl, 0x2f
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], eax
jne 0x46b23a
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x2a
pop ecx
jne 0x46b22a
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
add esp, 0x10
jmp 0x46b218
cmp byte [ebp + 0xc], 0x2a
jne 0x46b204
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x2f
pop ecx
je 0x46b21f
cmp byte [ebp + 0xc], 0xa
jne 0x46b20f
mov eax, dword [ebx]
inc dword [eax + 0x20]
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
pop ecx
pop ecx
test al, al
mov byte [ebp + 0xc], al
jne 0x46b1f1
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
pop ecx
pop ecx
jmp 0x46b291
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x2f
pop ecx
je 0x46b272
mov cl, byte [ebp + 0xc]
cmp cl, 0x23
jne 0x46b2bd
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x21
pop ecx
je 0x46b272
mov cl, byte [ebp + 0xc]
mov al, cl
call fcn.0046ab96
test eax, eax
je 0x46b725
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], eax
jmp 0x46b6c4
cmp al, 0xa
je 0x46b28c
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov esi, dword [ebx]
push edi
call fcn.0046ab76
add esp, 0xc
test al, al
jne 0x46b26e
cmp al, 0xa
jne 0x46b291
mov eax, dword [ebx]
inc dword [eax + 0x20]
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
test al, al
pop ecx
pop ecx
mov byte [ebp + 0xc], al
jne 0x46b1a6
mov esi, dword [ebp - 4]
mov eax, dword [ebx]
mov eax, dword [eax + 0x20]
mov dword [esi + 0x10], eax
mov dword [esi], 0x80
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
cmp cl, 0x22
je 0x46bb73
cmp cl, 0x27
je 0x46bb73
cmp cl, 0x3d
jne 0x46b31a
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov esi, dword [ebx]
push edi
call fcn.0046ab76
add esp, 0xc
cmp al, 0x3d
jne 0x46b30f
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xbe
jmp 0x46b2b8
mov eax, dword [ebp - 4]
mov dword [eax], 0xa8
jmp 0x46b2b8
cmp cl, 0x21
jne 0x46b36b
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov esi, dword [ebx]
push edi
call fcn.0046ab76
add esp, 0xc
cmp al, 0x3d
jne 0x46b35d
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xbf
jmp 0x46b2b8
mov eax, dword [ebp - 4]
mov dword [eax], 0xa9
jmp 0x46b2b8
cmp cl, 0x3c
jne 0x46b398
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b5d5
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xaa
jmp 0x46b2b8
cmp cl, 0x3e
jne 0x46b3c5
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b621
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xab
jmp 0x46b2b8
cmp cl, 0x26
jne 0x46b3f2
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x26
pop ecx
jne 0x46b554
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xac
jmp 0x46b2b8
cmp cl, 0x7c
jne 0x46b41f
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x7c
pop ecx
jne 0x46b5ad
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xad
jmp 0x46b2b8
cmp cl, 0x2b
jne 0x46b44c
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x2b
pop ecx
jne 0x46b504
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xae
jmp 0x46b2b8
cmp cl, 0x2d
jne 0x46b479
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x2d
pop ecx
jne 0x46b52c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xaf
jmp 0x46b2b8
cmp cl, 0x2a
jne 0x46b4a6
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb0
jmp 0x46b2b8
cmp cl, 0x2f
jne 0x46b4d3
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb1
jmp 0x46b2b8
cmp cl, 0x25
jne 0x46b57c
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb2
jmp 0x46b2b8
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb3
jmp 0x46b2b8
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb4
jmp 0x46b2b8
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb5
jmp 0x46b2b8
cmp cl, 0x5e
jne 0x46b24f
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb6
jmp 0x46b2b8
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3d
pop ecx
jne 0x46b24c
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb7
jmp 0x46b2b8
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3c
pop ecx
jne 0x46b24c
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov esi, dword [ebx]
push edi
call fcn.0046ab76
add esp, 0xc
cmp al, 0x3d
jne 0x46b613
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xb8
jmp 0x46b2b8
mov eax, dword [ebp - 4]
mov dword [eax], 0xb9
jmp 0x46b2b8
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x3e
pop ecx
jne 0x46b24c
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov esi, dword [ebx]
push edi
call fcn.0046ab76
add esp, 0xc
cmp al, 0x3d
jne 0x46b65f
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xbc
jmp 0x46b2b8
cmp al, 0x3e
jne 0x46b69e
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov esi, dword [ebx]
push edi
call fcn.0046ab76
add esp, 0xc
cmp al, 0x3d
jne 0x46b690
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
mov eax, dword [ebp - 4]
pop ecx
pop ecx
mov dword [eax], 0xbd
jmp 0x46b2b8
mov eax, dword [ebp - 4]
mov dword [eax], 0xbb
jmp 0x46b2b8
mov eax, dword [ebp - 4]
mov dword [eax], 0xba
jmp 0x46b2b8
call fcn.0046ab96
test eax, eax
jne 0x46b6c4
push dword [ebp + 0xc]
call fcn.0046abca
add esp, 4
test eax, eax
je 0x46b6ea
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call fcn.0044a74d
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
add esp, 0x1c
test al, al
mov byte [ebp + 0xc], al
jne 0x46b6ac
push dword [ebp + 0xc]
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x30]
mov esi, dword [ebp - 0x10]
push esi
push edi
call fcn.0046aaf0
add esp, 0x14
cmp eax, 0x80
je 0x46b714
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, ecx
jmp 0x46b2b8
mov eax, dword [ebp - 4]
mov dword [eax + 8], esi
mov dword [eax], 0x84
jmp 0x46b2b8
cmp cl, 0x23
jne 0x46b7c2
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x27
pop ecx
jne 0x46b8d1
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
add esp, 0x10
cmp al, 0x5c
mov byte [ebp + 0xc], al
jne 0x46b79c
push str.character
push 0
mov eax, ebx
call fcn.0046ac60
mov ecx, dword [ebp - 4]
movsx eax, al
cdq
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
add esp, 0x10
cmp al, 0x27
je 0x46b794
mov eax, dword [ebx]
push 0x52b44c
push dword [eax + 0x20]
push ebx
push edi
call fcn.00452992
add esp, 0x10
mov eax, dword [ebp - 4]
jmp 0x46bb4e
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x27
pop ecx
jne 0x46b780
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x2c]
movsx eax, byte [ebp + 0xc]
pop ecx
cdq
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
jmp 0x46b794
cmp cl, 0x30
jne 0x46b8d4
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x2e
pop ecx
je 0x46b8d1
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x65
pop ecx
je 0x46b8d1
mov esi, dword [ebx]
push edi
call fcn.0046ab76
cmp al, 0x45
pop ecx
je 0x46b8d1
mov eax, dword [ebx]
push eax
xor esi, esi
push edi
mov dword [ebp - 0x10], esi
call dword [eax + 0x2c]
cmp al, 0x78
pop ecx
pop ecx
mov byte [ebp + 0xc], al
je 0x46b8a1
cmp al, 0x58
je 0x46b8a1
push dword [ebp + 0xc]
call fcn.0046abb5
add esp, 4
jmp 0x46b86c
movsx eax, byte [ebp + 0xc]
push 0
sub eax, 0x30
cdq
push 8
push dword [ebp - 0x10]
mov edi, eax
mov eax, edx
push esi
mov dword [ebp - 0x18], eax
call fcn.004b28e0
add edi, eax
mov eax, dword [ebp - 0x18]
adc eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
mov esi, edi
mov edi, dword [ebp + 8]
push eax
push edi
call dword [eax + 0x2c]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
call fcn.0046abb5
add esp, 0xc
test eax, eax
jne 0x46b82c
jmp 0x46b8b6
mov al, byte [ebp + 0xc]
call fcn.0046ac1d
movsx eax, al
push 0
cdq
push 0x10
push dword [ebp - 0x10]
mov edi, eax
mov eax, edx
push esi
mov dword [ebp - 0x18], eax
call fcn.004b28e0
add edi, eax
mov eax, dword [ebp - 0x18]
adc eax, edx
mov esi, edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
pop ecx
pop ecx
mov byte [ebp + 0xc], al
call fcn.0046abdf
test eax, eax
jne 0x46b872
push dword [ebp + 0xc]
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x30]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov dword [eax + 0xc], ecx
jmp 0x46bb4b
mov cl, byte [ebp + 0xc]
push dword [ebp + 0xc]
call fcn.0046abca
add esp, 4
test eax, eax
jne 0x46b90d
cmp cl, 0x2e
jne 0x46b900
mov esi, dword [ebx]
push edi
call fcn.0046ab76
push eax
call fcn.0046abca
add esp, 8
test eax, eax
jne 0x46b90d
mov cl, byte [ebp + 0xc]
mov eax, dword [ebp - 4]
movsx ecx, cl
mov dword [eax], ecx
jmp 0x46b2b8
push dword [ebp + 0xc]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.0044a74d
mov eax, dword [ebx]
add esp, 0x14
xor esi, esi
inc esi
cmp byte [ebp + 0xc], 0x2e
push eax
push edi
jne 0x46b986
mov dword [ebp - 0x18], esi
call dword [eax + 0x2c]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
call fcn.0046abca
add esp, 0xc
jmp 0x46b980
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.0044a74d
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
call fcn.0046abca
add esp, 0x20
test eax, eax
jne 0x46b956
jmp 0x46b9cd
call dword [eax + 0x2c]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
call fcn.0046abca
add esp, 0xc
jmp 0x46b9c3
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.0044a74d
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
call fcn.0046abca
add esp, 0x20
test eax, eax
jne 0x46b999
cmp byte [ebp + 0xc], 0x2e
je 0x46b9dd
cmp byte [ebp + 0xc], 0x65
je 0x46b9dd
cmp byte [ebp + 0xc], 0x45
jne 0x46bacb
cmp byte [ebp + 0xc], 0x2e
mov dword [ebp - 0x18], esi
jne 0x46ba18
push 0x2e
jmp 0x46b9ed
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.0044a74d
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
call fcn.0046abca
add esp, 0x20
test eax, eax
jne 0x46b9ea
cmp byte [ebp + 0xc], 0x65
je 0x46ba28
cmp byte [ebp + 0xc], 0x45
jne 0x46bacb
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.0044a74d
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
add esp, 0x1c
cmp al, 0x2b
mov byte [ebp + 0xc], al
je 0x46ba52
cmp al, 0x2d
jne 0x46ba74
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.0044a74d
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
add esp, 0x1c
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
call fcn.0046abca
mov esi, eax
add esp, 4
test esi, esi
jne 0x46ba9d
mov eax, dword [ebx]
push 0x52b4a4
push dword [eax + 0x20]
push ebx
push edi
call fcn.00452992
add esp, 0x10
test esi, esi
je 0x46bacb
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push edi
call fcn.0044a74d
mov eax, dword [ebx]
push eax
push edi
call dword [eax + 0x2c]
mov byte [ebp + 0xc], al
push dword [ebp + 0xc]
call fcn.0046abca
add esp, 0x20
test eax, eax
jne 0x46ba9d
push dword [ebp + 0xc]
mov ebx, dword [ebx]
push ebx
push edi
call dword [ebx + 0x30]
add esp, 0xc
cmp dword [ebp - 0x18], 0
push dword [ebp - 8]
jne 0x46bb5c
xor esi, esi
xor ebx, ebx
call fcn.004b0250
xor edi, edi
test eax, eax
pop ecx
mov dword [ebp - 0x10], eax
jle 0x46bb45
cmp ebx, 0x80000000
ja 0x46bb59
jb 0x46bb02
test esi, esi
jae 0x46bb59
mov eax, dword [ebp - 8]
movsx eax, byte [edi + eax]
push 0
cdq
push 0xa
push ebx
mov ecx, edx
push esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x18], ecx
call fcn.004b28e0
mov ecx, dword [ebp + 0xc]
add ecx, eax
mov eax, dword [ebp - 0x18]
adc eax, edx
add ecx, 0xffffffd0
adc eax, 0xffffffff
inc edi
cmp edi, dword [ebp - 0x10]
mov esi, ecx
mov ebx, eax
jl 0x46baf4
cmp ebx, 0x80000000
ja 0x46bb59
jb 0x46bb45
test esi, esi
jae 0x46bb59
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], esi
mov dword [eax], 0x81
jmp 0x46b2b8
push dword [ebp - 8]
call fcn.004b29f3
mov eax, dword [ebp - 4]
fstp qword [eax + 8]
pop ecx
mov dword [eax], 0x82
jmp 0x46b2b8
push dword [ebp + 0xc]
mov eax, edi
push 0x50a904
call fcn.0046aef4
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
mov dword [ecx], 0x83
jmp 0x46b70d