Function at 0x49ffd0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4a04b5
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x4a04b5
cmp eax, 0x29
jne 0x4a001a
cmp dword [esi + 0x10], 0
jne 0x4a04b5
test dword [esi + 0x50], 0x10000000
je 0x4a04c5
jmp 0x4a044f
cmp eax, 0x2e
jne 0x4a0089
push 5
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4a0496
cmp byte [eax], 0x5c
jne 0x4a028b
lea edi, [eax + 1]
mov ecx, eax
cmp edi, edx
je 0x4a007f
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4a005f
mov cl, byte [edi]
mov edx, eax
cmp cl, 0x28
je 0x4a0074
cmp cl, 0x29
je 0x4a0074
mov ecx, eax
test bl, 0x10
jne 0x4a007f
mov bl, byte [edi]
mov edx, eax
cmp bl, 0x7b
je 0x4a0074
mov edx, ecx
cmp bl, 0x7d
jne 0x4a007f
lea eax, [edx + 1]
inc eax
mov dword [esi], eax
jmp 0x4a0496
mov eax, ecx
inc eax
mov dword [esi], eax
jmp 0x4a0496
cmp eax, 0x5c
jne 0x4a01d8
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4a00de
cmp byte [eax], 0x5c
jne 0x4a00db
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x4a00d9
test byte [esi + 0x50], 8
jne 0x4a00be
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x4a00d4
cmp cl, 0x29
je 0x4a00d4
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4a00d9
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x4a00d4
mov edx, ecx
cmp bl, 0x7d
jne 0x4a00d9
lea eax, [edx + 1]
jmp 0x4a00db
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0049d850
test byte [esi + 0x50], 0x80
je 0x4a01cc
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4a0165
push 4
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4a0159
cmp byte [eax], 0x5c
jne 0x4a0156
lea ebx, [eax + 1]
mov ecx, eax
cmp ebx, edx
je 0x4a0154
test byte [esi + 0x50], 8
jne 0x4a012c
mov cl, byte [ebx]
mov edx, eax
cmp cl, 0x28
je 0x4a0142
cmp cl, 0x29
je 0x4a0142
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4a0154
mov bl, byte [ebx]
mov edx, eax
cmp bl, 0x7b
je 0x4a0142
mov edx, ecx
cmp bl, 0x7d
jne 0x4a0154
lea eax, [edx + 1]
mov ecx, esi
inc eax
mov dword [esi], eax
call fcn.0049d850
jmp 0x4a04a7
mov eax, ecx
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0049d850
jmp 0x4a04a7
cmp al, 0x42
jne 0x4a01cc
push 4
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a01c0
cmp byte [eax], 0x5c
jne 0x4a01bd
lea ebx, [eax + 1]
cmp ebx, ecx
je 0x4a01bd
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a01a7
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x28
je 0x4a01ba
cmp dl, 0x29
je 0x4a01ba
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4a01bd
mov dl, byte [ebx]
mov ecx, eax
cmp dl, 0x7b
je 0x4a01ba
cmp dl, 0x7d
jne 0x4a01bd
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0049d850
jmp 0x4a04a7
mov ecx, esi
call fcn.004a28e0
jmp 0x4a049d
cmp eax, 0x5b
jne 0x4a0293
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a0229
cmp byte [eax], 0x5c
jne 0x4a0226
lea edx, [eax + 1]
cmp edx, ecx
je 0x4a0226
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4a0210
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x4a0223
cmp byte [ebp - 1], 0x29
je 0x4a0223
test bl, 0x10
jne 0x4a0226
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4a0223
cmp dl, 0x7d
jne 0x4a0226
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0049d850
mov ecx, esi
call fcn.004a27a0
cmp dword [esi + 0x4c], 0x5d
jne 0x4a04d3
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4a0496
cmp byte [eax], 0x5c
jne 0x4a028b
lea edx, [eax + 1]
cmp edx, ecx
je 0x4a028b
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4a0275
mov cl, byte [edx]
mov byte [ebp - 1], cl
mov ecx, eax
cmp byte [ebp - 1], 0x28
je 0x4a0288
cmp byte [ebp - 1], 0x29
je 0x4a0288
test bl, 0x10
jne 0x4a028b
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4a0288
cmp dl, 0x7d
jne 0x4a028b
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
jmp 0x4a0496
cmp eax, 0x28
jne 0x4a0357
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a02e2
cmp byte [eax], 0x5c
jne 0x4a02df
lea edx, [eax + 1]
cmp edx, ecx
je 0x4a02df
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a02c9
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x4a02dc
cmp bl, 0x29
je 0x4a02dc
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4a02df
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4a02dc
cmp dl, 0x7d
jne 0x4a02df
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0049d850
mov ecx, esi
call fcn.004a2a30
cmp dword [esi + 0x4c], 0x29
mov bh, al
jne 0x4a04c5
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4a0343
cmp byte [eax], 0x5c
jne 0x4a0340
lea edx, [eax + 1]
cmp edx, ecx
je 0x4a0340
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a032a
mov bl, byte [edx]
mov ecx, eax
cmp bl, 0x28
je 0x4a033d
cmp bl, 0x29
je 0x4a033d
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4a0340
mov dl, byte [edx]
mov ecx, eax
cmp dl, 0x7b
je 0x4a033d
cmp dl, 0x7d
jne 0x4a0340
lea eax, [ecx + 1]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.0049d850
test bh, bh
je 0x4a04a7
jmp 0x4a049d
cmp eax, 0x5e
jne 0x4a03ae
push 2
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a03a2
cmp byte [eax], 0x5c
jne 0x4a03a0
inc eax
cmp eax, ecx
je 0x4a03a0
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a038f
mov dl, byte [eax]
cmp dl, 0x28
je 0x4a039e
cmp dl, 0x29
je 0x4a039e
test cl, 0x10
jne 0x4a03a0
mov al, byte [eax]
cmp al, 0x7b
je 0x4a039e
cmp al, 0x7d
jne 0x4a03a0
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0049d850
jmp 0x4a04a7
cmp eax, 0x24
jne 0x4a0405
push 3
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a03f9
cmp byte [eax], 0x5c
jne 0x4a03f7
inc eax
cmp eax, ecx
je 0x4a03f7
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a03e6
mov dl, byte [eax]
cmp dl, 0x28
je 0x4a03f5
cmp dl, 0x29
je 0x4a03f5
test cl, 0x10
jne 0x4a03f7
mov al, byte [eax]
cmp al, 0x7b
je 0x4a03f5
cmp al, 0x7d
jne 0x4a03f7
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0049d850
jmp 0x4a04a7
cmp eax, 0x2a
je 0x4a04be
cmp eax, 0x2b
je 0x4a04be
cmp eax, 0x3f
je 0x4a04be
cmp eax, 0x7b
je 0x4a04be
cmp eax, 0x7d
jne 0x4a043d
test dword [esi + 0x50], 0x10000000
je 0x4a04cc
jmp 0x4a044f
cmp eax, 0x5d
jne 0x4a044f
test dword [esi + 0x50], 0x10000000
je 0x4a04d3
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004a2de0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4a0496
cmp byte [eax], 0x5c
jne 0x4a0494
inc eax
cmp eax, ecx
je 0x4a0494
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a0483
mov dl, byte [eax]
cmp dl, 0x28
je 0x4a0492
cmp dl, 0x29
je 0x4a0492
test cl, 0x10
jne 0x4a0494
mov al, byte [eax]
cmp al, 0x7b
je 0x4a0492
cmp al, 0x7d
jne 0x4a0494
inc dword [esi]
inc dword [esi]
mov ecx, esi
call fcn.0049d850
mov ecx, esi
call fcn.004a2bb0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x49fff0
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0049d840
push 5
call fcn.0049d840
push 6
call fcn.0049d840
push 4
call fcn.0049d840
int3