Function at 0x497090
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4973ef
push ebx
push edi
cmp eax, 0x7c
je 0x4973ed
cmp eax, 0x29
jne 0x4970cd
cmp dword [esi + 0x10], 0
jne 0x4973ed
test dword [esi + 0x50], 0x10000000
je 0x4973fc
jmp 0x497383
cmp eax, 0x2e
jne 0x4970e1
push 5
lea ecx, [esi + 0x24]
call fcn.004994c0
jmp 0x497390
cmp eax, 0x5c
jne 0x4971b3
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x49712b
cmp byte [eax], 0x5c
jne 0x497128
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x497126
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x497115
mov bl, byte [ecx]
cmp bl, 0x28
je 0x497128
cmp bl, 0x29
je 0x497128
test dl, 0x10
jne 0x497126
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x497128
cmp cl, 0x7d
je 0x497128
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004999d0
test byte [esi + 0x50], 0x80
je 0x4971a7
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x497190
push 4
lea ecx, [esi + 0x24]
call fcn.004994c0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x49732d
cmp byte [eax], 0x5c
jne 0x49732a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x497328
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x497188
mov dl, byte [ecx]
cmp dl, 0x28
je 0x49732a
cmp dl, 0x29
je 0x49732a
test bl, 0x10
jmp 0x49731a
cmp al, 0x42
jne 0x4971a7
push 4
lea ecx, [esi + 0x24]
call fcn.004994c0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x497149
mov ecx, esi
call fcn.00497420
jmp 0x4973d8
cmp eax, 0x5b
jne 0x497260
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4971fd
cmp byte [eax], 0x5c
jne 0x4971fa
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4971f8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4971e7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4971fa
cmp bl, 0x29
je 0x4971fa
test dl, 0x10
jne 0x4971f8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4971fa
cmp cl, 0x7d
je 0x4971fa
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004999d0
lea ecx, [esi + 0x24]
call fcn.004968f0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x497225
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00499530
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x497243
cmp eax, 0x5d
jne 0x497243
push eax
lea ecx, [esi + 0x24]
call fcn.00496880
mov ecx, esi
call fcn.00499530
mov ecx, esi
call fcn.00497cd0
cmp dword [esi + 0x4c], 0x5d
jne 0x49740e
mov ecx, esi
call fcn.00499530
jmp 0x4973d8
cmp eax, 0x28
jne 0x4972d4
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4972a6
cmp byte [eax], 0x5c
jne 0x4972a3
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4972a1
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x497290
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4972a3
cmp bl, 0x29
je 0x4972a3
test dl, 0x10
jne 0x4972a1
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4972a3
cmp cl, 0x7d
je 0x4972a3
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004999d0
mov ecx, esi
call fcn.00499d30
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4973fc
mov ecx, esi
call fcn.00499530
test bl, bl
je 0x4973df
jmp 0x4973d8
cmp eax, 0x5e
jne 0x4972dd
push 2
jmp 0x4972e4
cmp eax, 0x24
jne 0x497339
push 3
lea ecx, [esi + 0x24]
call fcn.004994c0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x49732d
cmp byte [eax], 0x5c
jne 0x49732a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x497328
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x497317
mov bl, byte [ecx]
cmp bl, 0x28
je 0x49732a
cmp bl, 0x29
je 0x49732a
test dl, 0x10
jne 0x497328
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x49732a
cmp cl, 0x7d
je 0x49732a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004999d0
jmp 0x4973df
cmp eax, 0x2a
je 0x4973f3
cmp eax, 0x2b
je 0x4973f3
cmp eax, 0x3f
je 0x4973f3
cmp eax, 0x7b
je 0x4973f3
cmp eax, 0x7d
jne 0x497371
test dword [esi + 0x50], 0x10000000
je 0x497405
jmp 0x497383
cmp eax, 0x5d
jne 0x497383
test dword [esi + 0x50], 0x10000000
je 0x49740e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004966d0
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x4973d1
cmp byte [eax], 0x5c
jne 0x4973ce
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4973cc
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4973bb
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4973ce
cmp bl, 0x29
je 0x4973ce
test dl, 0x10
jne 0x4973cc
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4973ce
cmp cl, 0x7d
je 0x4973ce
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004999d0
mov ecx, esi
call fcn.00499590
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4970a3
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.00498d70
push 5
mov ecx, esi
call fcn.00498d70
push 6
mov ecx, esi
call fcn.00498d70
push 4
mov ecx, esi
call fcn.00498d70
int3