Function at 0x4a5200
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4a555f
push ebx
push edi
cmp eax, 0x7c
je 0x4a555d
cmp eax, 0x29
jne 0x4a523d
cmp dword [esi + 0x10], 0
jne 0x4a555d
test dword [esi + 0x50], 0x10000000
je 0x4a556c
jmp 0x4a54f3
cmp eax, 0x2e
jne 0x4a5251
push 5
lea ecx, [esi + 0x24]
call fcn.0047f170
jmp 0x4a5500
cmp eax, 0x5c
jne 0x4a5323
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4a529b
cmp byte [eax], 0x5c
jne 0x4a5298
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4a5296
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4a5285
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4a5298
cmp bl, 0x29
je 0x4a5298
test dl, 0x10
jne 0x4a5296
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4a5298
cmp cl, 0x7d
je 0x4a5298
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004a79e0
test byte [esi + 0x50], 0x80
je 0x4a5317
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4a5300
push 4
lea ecx, [esi + 0x24]
call fcn.0047f170
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4a549d
cmp byte [eax], 0x5c
jne 0x4a549a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4a5498
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4a52f8
mov dl, byte [ecx]
cmp dl, 0x28
je 0x4a549a
cmp dl, 0x29
je 0x4a549a
test bl, 0x10
jmp 0x4a548a
cmp al, 0x42
jne 0x4a5317
push 4
lea ecx, [esi + 0x24]
call fcn.0047f170
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4a52b9
mov ecx, esi
call fcn.004a5590
jmp 0x4a5548
cmp eax, 0x5b
jne 0x4a53d0
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4a536d
cmp byte [eax], 0x5c
jne 0x4a536a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4a5368
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4a5357
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4a536a
cmp bl, 0x29
je 0x4a536a
test dl, 0x10
jne 0x4a5368
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4a536a
cmp cl, 0x7d
je 0x4a536a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004a79e0
lea ecx, [esi + 0x24]
call fcn.004a4ab0
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x4a5395
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004a7600
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x4a53b3
cmp eax, 0x5d
jne 0x4a53b3
push eax
lea ecx, [esi + 0x24]
call fcn.004a4a30
mov ecx, esi
call fcn.004a7600
mov ecx, esi
call fcn.004a5ca0
cmp dword [esi + 0x4c], 0x5d
jne 0x4a557e
mov ecx, esi
call fcn.004a7600
jmp 0x4a5548
cmp eax, 0x28
jne 0x4a5444
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4a5416
cmp byte [eax], 0x5c
jne 0x4a5413
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4a5411
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4a5400
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4a5413
cmp bl, 0x29
je 0x4a5413
test dl, 0x10
jne 0x4a5411
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4a5413
cmp cl, 0x7d
je 0x4a5413
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004a79e0
mov ecx, esi
call fcn.004a7bb0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4a556c
mov ecx, esi
call fcn.004a7600
test bl, bl
je 0x4a554f
jmp 0x4a5548
cmp eax, 0x5e
jne 0x4a544d
push 2
jmp 0x4a5454
cmp eax, 0x24
jne 0x4a54a9
push 3
lea ecx, [esi + 0x24]
call fcn.0047f170
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x4a549d
cmp byte [eax], 0x5c
jne 0x4a549a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4a5498
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4a5487
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4a549a
cmp bl, 0x29
je 0x4a549a
test dl, 0x10
jne 0x4a5498
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4a549a
cmp cl, 0x7d
je 0x4a549a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004a79e0
jmp 0x4a554f
cmp eax, 0x2a
je 0x4a5563
cmp eax, 0x2b
je 0x4a5563
cmp eax, 0x3f
je 0x4a5563
cmp eax, 0x7b
je 0x4a5563
cmp eax, 0x7d
jne 0x4a54e1
test dword [esi + 0x50], 0x10000000
je 0x4a5575
jmp 0x4a54f3
cmp eax, 0x5d
jne 0x4a54f3
test dword [esi + 0x50], 0x10000000
je 0x4a557e
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004a4880
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x4a5541
cmp byte [eax], 0x5c
jne 0x4a553e
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4a553c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4a552b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4a553e
cmp bl, 0x29
je 0x4a553e
test dl, 0x10
jne 0x4a553c
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4a553e
cmp cl, 0x7d
je 0x4a553e
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004a79e0
mov ecx, esi
call fcn.004a7660
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4a5213
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.0047e7c0
push 5
mov ecx, esi
call fcn.0047e7c0
push 6
mov ecx, esi
call fcn.0047e7c0
push 4
mov ecx, esi
call fcn.0047e7c0
int3