Function at 0x489168
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004c3b84
push edi
push esi
push ebx
mov edx, dword [ebp + 8]
cmp byte [edx], 0
je 0x489510
mov ebx, edx
jmp 0x4894d8
cmp cl, 0x1b
jne 0x4894d8
xor edi, edi
mov dword [ebp - 0x1004], ebx
inc ebx
mov al, byte [ebx]
cmp al, 0x5b
jne 0x4891cc
inc ebx
lea esi, [ebp - 0xffc]
nop
add esp, 0xfffffff8
push esi
push ebx
call fcn.004890f4
add esp, 0x10
test eax, eax
jle 0x4891c3
add esi, 4
inc edi
add ebx, eax
cmp byte [ebx], 0x3b
je 0x4891ac
jmp 0x489222
cmp al, 0x44
jne 0x4891dc
call fcn.00488ef0
lea edx, [ebx + 1]
jmp 0x48917b
cmp al, 0x45
jne 0x4891ec
call fcn.00488f10
lea edx, [ebx + 1]
jmp 0x48917b
cmp al, 0x4d
jne 0x4891fc
call fcn.00488f30
lea edx, [ebx + 1]
jmp 0x48917b
cmp al, 0x2a
jne 0x489210
call fcn.00488f38
lea edx, [ebx + 1]
jmp 0x48917b
mov ebx, dword [ebp - 0x1004]
mov eax, ebx
sub eax, edx
test eax, eax
jg 0x4894ec
cmp edi, 2
jne 0x48924c
mov al, byte [ebx]
cmp al, 0x48
je 0x489231
cmp al, 0x66
jne 0x48924c
add esp, 0xfffffff8
push dword [ebp - 0xff8]
push dword [ebp - 0xffc]
call fcn.00488f40
jmp 0x4894cd
cmp edi, 1
ja 0x4893b8
mov al, byte [ebx]
cmp al, 0x41
jne 0x48927c
test edi, edi
jne 0x489269
mov dword [ebp - 0xffc], 1
add esp, 0xfffffff4
push dword [ebp - 0xffc]
call fcn.00488f4c
jmp 0x4894cd
cmp al, 0x42
jne 0x4892a4
test edi, edi
jne 0x48928e
mov dword [ebp - 0xffc], 1
add esp, 0xfffffff4
push dword [ebp - 0xffc]
call fcn.00488f64
jmp 0x4894cd
cmp al, 0x43
jne 0x4892cc
test edi, edi
jne 0x4892b6
mov dword [ebp - 0xffc], 1
add esp, 0xfffffff4
push dword [ebp - 0xffc]
call fcn.00488f78
jmp 0x4894cd
cmp al, 0x44
jne 0x4892f4
test edi, edi
jne 0x4892de
mov dword [ebp - 0xffc], 1
add esp, 0xfffffff4
push dword [ebp - 0xffc]
call fcn.00488f90
jmp 0x4894cd
cmp al, 0x4a
jne 0x489334
test edi, edi
je 0x489306
mov eax, dword [ebp - 0xffc]
test eax, eax
jne 0x489310
call fcn.00488fa4
jmp 0x4893c7
cmp eax, 1
jne 0x489320
call fcn.00488fc4
jmp 0x4893c7
cmp eax, 2
jne 0x4893c7
call fcn.00488f38
jmp 0x4893c7
cmp al, 0x4b
jne 0x489368
test edi, edi
je 0x489346
mov eax, dword [ebp - 0xffc]
test eax, eax
jne 0x489350
call fcn.00488fd8
jmp 0x4893c7
cmp eax, 1
jne 0x48935c
call fcn.0048900c
jmp 0x4893c7
cmp eax, 2
jne 0x4893c7
call fcn.00489040
jmp 0x4893c7
cmp al, 0x4d
jne 0x489390
test edi, edi
jne 0x48937a
mov dword [ebp - 0xffc], 1
add esp, 0xfffffff4
push dword [ebp - 0xffc]
call fcn.00489078
jmp 0x4894cd
cmp al, 0x4c
jne 0x4893b8
test edi, edi
jne 0x4893a2
mov dword [ebp - 0xffc], 1
add esp, 0xfffffff4
push dword [ebp - 0xffc]
call fcn.004890a8
jmp 0x4894cd
test edi, edi
jne 0x4893dc
mov al, byte [ebx]
cmp al, 0x73
jne 0x4893d0
call fcn.004890cc
lea edx, [ebx + 1]
jmp 0x48917b
cmp al, 0x75
jne 0x4893dc
call fcn.004890d4
jmp 0x4893c7
add esp, 0xfffffffc
push 3
push 0x48914f
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x489400
call fcn.004890dc
lea edx, [ebx + 3]
jmp 0x48917b
add esp, 0xfffffffc
push 3
push 0x489153
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x489424
call fcn.004890e4
lea edx, [ebx + 3]
jmp 0x48917b
add esp, 0xfffffffc
push 3
push 0x489157
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
je 0x48941c
add esp, 0xfffffffc
push 3
push 0x48915b
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
je 0x48941c
add esp, 0xfffffffc
push 3
push 0x48915f
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
je 0x48941c
add esp, 0xfffffffc
push 3
push 0x489163
push ebx
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
je 0x48941c
cmp byte [ebx], 0x6d
jne 0x4894bc
mov esi, 1
inc ebx
mov dword [ebp - 0x1008], ebx
cmp esi, edi
jg 0x4894af
lea ebx, [ebp - 0x1000]
nop
add esp, 0xfffffff4
push dword [ebx + esi*4]
call fcn.004890ec
add esp, 0x10
inc esi
cmp esi, edi
jle 0x48949c
mov edx, dword [ebp - 0x1008]
jmp 0x48917b
mov ebx, dword [ebp - 0x1004]
add esp, 0xfffffff8
push 1
push ebx
call fcn.00488ebc
lea edx, [ebx + 1]
add esp, 0x10
jmp 0x48917b
mov cl, byte [ebx]
cmp cl, 0x1f
jbe 0x4894e4
inc ebx
jmp 0x4894d8
mov eax, ebx
sub eax, edx
test eax, eax
jle 0x489500
add esp, 0xfffffff8
push eax
push edx
call fcn.00488ebc
mov edx, ebx
add esp, 0x10
jmp 0x48917b
test cl, cl
jne 0x48918c
jmp 0x48917b
lea esp, [ebp - 0x1028]
pop ebx
pop esi
pop edi
leave
ret