Function at 0x4796bb
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1fcc
call fcn.0049baf0
mov eax, dword [0x5a0b04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x18]
lea ecx, [ebp - 0x1fcc]
push edi
xor eax, eax
push eax
push 0x80
push str.__.:___
push eax
mov dword [ebp - 0x1f78], eax
mov edi, eax
call fcn.00443493
push esi
lea ecx, [ebp - 0x1f70]
call fcn.00420325
push 0xffffffffffffffff
lea eax, [ebp - 0x1f70]
push eax
push dword [ebp + 0x14]
lea ecx, [ebp - 0x1fc0]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00441b23
xor eax, eax
inc eax
mov bl, al
xor al, al
mov byte [ebp - 0x1f71], al
jmp 0x479b05
cmp byte [ebp - 0x1f94], 0
je 0x479757
mov eax, dword [ebp - 0x1fa4]
lea ecx, [ebp - 0x1f70]
add eax, 0xfffffffd
push eax
call fcn.004203d3
cmp al, 0x5c
sete bl
mov eax, dword [ebp - 0x1f90]
dec eax
cmp eax, 0xb
ja case.default.0x479767
jmp dword [eax*4 + 0x479b3f]
cmp byte [ebp - 0x1f93], 0
je case.default.0x479767
push 0
lea ecx, [ebp - 0x1fc0]
call fcn.00442232
jmp case.default.0x479767
cmp dword [ebp - 0x1f88], 0x22
jne 0x4797a5
push 0
lea ecx, [ebp - 0x1fc0]
call fcn.00442cd8
jmp 0x479808
cmp dword [ebp - 0x1f88], 0x5c
jne 0x4797ce
mov edi, dword [ebp - 0x1f90]
lea ecx, [ebp - 0x1fc0]
push 8
call fcn.00442232
lea ecx, [ebp - 0x1fc0]
call fcn.00442133
jmp 0x479808
cmp dword [ebp - 0x1f88], 0x7b
jne 0x479808
push dword [ebp - 0x1fa4]
lea eax, [ebp - 0x1f70]
push eax
call fcn.0047a1aa
pop ecx
pop ecx
test al, al
je 0x479808
mov eax, dword [ebp - 0x1f90]
lea ecx, [ebp - 0x1fc0]
push 0xa
mov dword [ebp - 0x1f78], eax
call fcn.00442232
cmp dword [ebp - 0x1f90], 3
jne case.default.0x479767
cmp dword [ebp - 0x1f88], 0x25
jne 0x479afa
push dword [ebp - 0x1f80]
call fcn.004d88f0
pop ecx
test eax, eax
jne 0x47983f
cmp dword [ebp - 0x1f80], 0x2a
jne case.default.0x479767
push 0xb
jmp 0x47977d
push 3
lea ecx, [ebp - 0x1fc0]
call fcn.00442cd8
cmp dword [ebp - 0x1f88], 0x22
jne case.default.0x479767
push 0
lea ecx, [ebp - 0x1fc0]
call fcn.00442cd8
jmp case.default.0x479767
cmp dword [ebp - 0x1f88], 0x3a
jne case.default.0x479767
push 0
lea ecx, [ebp - 0x1fc0]
call fcn.00442232
xor al, al
mov byte [ebp - 0x1f71], al
jmp 0x4799dd
cmp dword [ebp - 0x1f88], 0x5d
mov esi, dword [ebp - 0x1fa4]
jne 0x4798bb
lea eax, [ebp - 0x1f70]
push esi
push eax
call fcn.0047a223
pop ecx
pop ecx
test al, al
jne 0x479860
cmp dword [ebp - 0x1f88], 0x7b
jne case.default.0x479767
lea eax, [ebp - 0x1f70]
push esi
push eax
call fcn.0047a1aa
pop ecx
pop ecx
test al, al
je case.default.0x479767
mov esi, dword [ebp - 0x1f90]
mov dword [ebp - 0x1f78], esi
push 9
jmp 0x47977d
cmp dword [ebp - 0x1f88], 0x22
lea ecx, [ebp - 0x1fc0]
jne 0x47990c
push edi
call fcn.00442232
jmp 0x479860
cmp dword [ebp - 0x1f88], 0x5c
je 0x4799d2
push edi
call fcn.00442232
xor edi, edi
jmp case.default.0x479767
cmp dword [ebp - 0x1f88], 0x7d
jne 0x479947
push dword [ebp - 0x1f78]
lea ecx, [ebp - 0x1fc0]
call fcn.00442cd8
and dword [ebp - 0x1f78], 0
cmp dword [ebp - 0x1f88], 0x22
jne 0x479967
mov eax, dword [ebp - 0x1f90]
cmp eax, 2
je 0x479860
cmp eax, 3
jmp 0x47985a
cmp dword [ebp - 0x1f88], 0x5d
jne 0x4799a0
push dword [ebp - 0x1fa4]
lea eax, [ebp - 0x1f70]
push eax
call fcn.0047a223
pop ecx
pop ecx
test al, al
je 0x4799a0
mov eax, dword [ebp - 0x1f90]
cmp eax, 6
je 0x479860
cmp eax, 7
je 0x479860
cmp dword [ebp - 0x1f88], 0x5c
jne case.default.0x479767
mov eax, dword [ebp - 0x1f90]
cmp eax, 2
je 0x4799b9
cmp eax, 3
jne case.default.0x479767
mov edi, dword [ebp - 0x1f90]
lea ecx, [ebp - 0x1fc0]
push 8
call fcn.00442232
lea ecx, [ebp - 0x1fc0]
call fcn.00442133
mov al, byte [ebp - 0x1f71]
cmp dword [ebp - 0x1f90], 0
jne 0x479afa
cmp dword [ebp - 0x1f88], 0x3b
mov esi, dword [ebp - 0x1fa4]
jne 0x479a00
push 1
jmp 0x479ab9
cmp dword [ebp - 0x1f88], 0x22
jne 0x479a2d
push dword [ebp - 0x1fa4]
lea eax, [ebp - 0x1f70]
push eax
call fcn.0047a272
movzx eax, al
neg eax
pop ecx
sbb eax, eax
pop ecx
add eax, 3
push eax
jmp 0x479ab9
cmp dword [ebp - 0x1f88], 0x5b
jne 0x479a5a
push 0x2d
push dword [ebp - 0x1fa4]
lea eax, [ebp - 0x1f70]
push eax
call fcn.0047a4f8
add esp, 0xc
xor ecx, ecx
test al, al
setne cl
add ecx, 6
push ecx
jmp 0x479ab9
cmp dword [ebp - 0x1f88], 0x3d
jne 0x479a6e
xor ebx, ebx
inc ebx
mov byte [ebp - 0x1f71], bl
jmp 0x479ac4
push dword [ebp - 0x1f88]
test al, al
je 0x479aa9
call fcn.004d8730
pop ecx
test eax, eax
je 0x479ac4
push dword [ebp - 0x1f8c]
call fcn.004d8730
pop ecx
test eax, eax
jne 0x479ac4
lea eax, [ebp - 0x1f70]
push esi
push eax
call fcn.0047a2dd
pop ecx
pop ecx
test al, al
je 0x479ac4
push 5
jmp 0x479ab9
call fcn.004d8ce0
pop ecx
test eax, eax
je 0x479ac4
test bl, bl
je 0x479ac4
push 4
lea ecx, [ebp - 0x1fc0]
call fcn.00442232
cmp dword [ebp - 0x1f88], 0x40
lea ecx, [ebp - 0x1fcc]
push 1
pop eax
push dword [ebp - 0x1f88]
movzx ebx, bl
cmove ebx, eax
call fcn.004438ea
test al, al
je 0x479afa
test bl, bl
je 0x479afa
push 0xc
lea ecx, [ebp - 0x1fc0]
call fcn.00442232
lea ecx, [ebp - 0x1fc0]
call fcn.00442133
mov eax, dword [ebp - 0x1fa4]
cmp eax, dword [ebp - 0x1fb8]
jb 0x479734
lea ecx, [ebp - 0x1fc0]
call fcn.004420db
push dword [ebp - 0x1fc4]
call fcn.0049c91f
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049badb
leave
ret 0x14