Function at 0x45098a
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
push ebx
push esi
push edi
mov edi, eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], edx
mov esi, edi
cmp edi, eax
jne 0x4509af
xor esi, esi
jmp 0x4509c7
cmp byte [edi], al
je 0x4509bf
lea esp, [esp]
inc esi
cmp byte [esi], al
jne 0x4509ba
sub esi, edi
and esi, 0x3fffffff
test cl, 0x40
jne 0x4509d8
cmp dword [0x100b701c], eax
je 0x450e7c
cmp esi, 5
jl 0x450e7c
cmp dword [edi], 0x656c6966
jne 0x450e7c
cmp byte [edi + 4], 0x3a
jne 0x450e7c
or dword [ebp - 4], 0x40
xor edx, edx
xor ebx, ebx
lea ecx, [esi + 2]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
cmp esi, 2
jl 0x450a34
xor ecx, ecx
cmp byte [edi + eax], 0x26
sete cl
add ebx, ecx
xor ecx, ecx
cmp byte [edi + eax + 1], 0x26
sete cl
add eax, 2
add edx, ecx
lea ecx, [esi - 1]
cmp eax, ecx
jl 0x450a10
mov dword [ebp - 0x18], edx
cmp eax, esi
jge 0x450a44
xor edx, edx
cmp byte [eax + edi], 0x26
sete dl
add dword [ebp - 0x10], edx
call fcn.00476cba
test eax, eax
jne 0x450a65
mov eax, dword [ebp - 0x18]
add eax, ebx
add eax, dword [ebp - 0x10]
push eax
call fcn.00442cea
add esp, 4
mov dword [ebp - 8], eax
test eax, eax
jne 0x450a71
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dl, 0x2f
mov esi, 5
cmp byte [edi + 5], dl
jne 0x450af3
cmp byte [edi + 6], dl
jne 0x450af3
mov al, byte [edi + 7]
lea ecx, [edi + 7]
mov esi, 7
mov dword [ebp - 0x24], ecx
test al, al
je 0x450af3
lea ebx, [ebx]
cmp al, dl
je 0x450aa7
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x450a9a
cmp esi, 7
je 0x450af3
cmp esi, 0x10
jne 0x450ad7
lea eax, [esi - 7]
mov edx, 0x100b227c
nop
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x450ad4
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x450aba
mov cl, byte [ecx]
cmp cl, byte [edx]
je 0x450af3
mov ecx, dword [ebp - 0x24]
push ecx
add esi, 0xfffffff9
push esi
push 0x100b2288
call fcn.0044eb8a
mov edx, dword [ebp + 0x14]
add esp, 0xc
mov dword [edx], eax
jmp 0x450ee2
mov al, byte [esi + edi]
xor edx, edx
mov dword [ebp - 0x10], edx
test al, al
je 0x450c5c
cmp al, 0x23
je 0x450c4a
inc esi
cmp al, 0x25
jne 0x450bc2
mov cl, byte [esi + edi]
movzx ebx, cl
test byte [ebx + 0x100a9dd0], 8
je 0x450bc2
movzx ebx, byte [esi + edi + 1]
test byte [ebx + 0x100a9dd0], 8
je 0x450bc2
movsx eax, cl
movsx ecx, byte [esi + edi + 1]
mov edx, eax
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
sub al, bl
mov edx, ecx
sar edx, 6
and dl, 1
mov bl, dl
add bl, bl
add bl, bl
add bl, bl
sub bl, dl
mov edx, dword [ebp - 0x10]
sub cl, bl
and eax, 0xf
shl eax, 4
add esi, 2
and ecx, 0xf
add eax, ecx
jne 0x450c32
mov al, byte [esi + edi]
test al, al
je 0x450c3f
cmp al, 0x23
je 0x450c3f
test edx, edx
jne 0x450b9b
cmp al, 0x3f
jmp 0x450bb1
cmp edx, 1
jne 0x450baa
cmp al, 0x3d
je 0x450c3f
jmp 0x450baf
cmp edx, 2
jne 0x450bb7
cmp al, 0x26
je 0x450c3f
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x450b8b
jmp 0x450c3f
cmp edx, 1
jne 0x450c15
cmp al, 0x26
je 0x450bcf
cmp al, 0x3d
jne 0x450c32
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
cmp byte [ebx + ecx - 1], 0
jne 0x450c00
mov al, byte [esi + edi]
test al, al
je 0x450c3f
lea esp, [esp]
cmp al, 0x23
je 0x450c3f
cmp byte [esi + edi - 1], 0x26
je 0x450c3f
mov al, byte [esi + edi + 1]
inc esi
test al, al
jne 0x450bea
jmp 0x450c3f
cmp al, 0x26
jne 0x450c0e
mov byte [ebx + ecx], 0
inc ecx
mov dword [ebp - 0xc], ecx
jmp 0x450c30
mov edx, 2
jmp 0x450c2d
test edx, edx
jne 0x450c1f
cmp al, 0x3f
je 0x450c28
jmp 0x450c32
cmp edx, 2
jne 0x450c32
cmp al, 0x26
jne 0x450c32
mov edx, 1
mov dword [ebp - 0x10], edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov byte [ebx + ecx], al
inc ecx
mov dword [ebp - 0xc], ecx
mov al, byte [esi + edi]
test al, al
jne 0x450b03
cmp edx, 1
jne 0x450c5c
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov byte [ecx + eax], 0
inc eax
jmp 0x450c5f
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov word [ecx + eax], 0
cmp byte [ecx], 0
mov eax, ecx
je 0x450c75
inc eax
cmp byte [eax], 0
jne 0x450c6f
sub eax, ecx
and eax, 0x3fffffff
cmp byte [eax + ecx + 1], 0
lea edx, [eax + ecx + 1]
je 0x450eb7
mov eax, edx
inc eax
cmp byte [eax], 0
jne 0x450c8d
sub eax, edx
and eax, 0x3fffffff
lea ebx, [eax + edx + 1]
xor esi, esi
mov dword [ebp - 0x10], ebx
mov ecx, ebx
cmp ebx, esi
jne 0x450cae
mov dword [ebp - 0xc], esi
jmp 0x450ccb
cmp byte [ebx], 0
je 0x450cc0
lea esp, [esp]
inc ecx
cmp byte [ecx], 0
jne 0x450cba
sub ecx, ebx
and ecx, 0x3fffffff
mov dword [ebp - 0xc], ecx
cmp eax, 3
jne 0x450cf5
cmp byte [edx], 0x76
jne 0x450e4a
cmp byte [edx + 1], 0x66
jne 0x450e4a
cmp byte [edx + 2], 0x73
jne 0x450e4a
mov dword [ebp - 0x1c], ebx
jmp 0x450e4a
cmp eax, 5
jne 0x450d26
cmp dword [edx], 0x68636163
jne 0x450e4a
cmp byte [edx + 4], 0x65
jne 0x450e4a
mov eax, 0x60000
mov dword [ebp - 0x24], eax
mov edi, 0x100b8018
mov dword [ebp - 0x18], 0x100b22a4
jmp 0x450d56
cmp eax, 4
jne 0x450e4a
cmp dword [edx], 0x65646f6d
jne 0x450e4a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], 0x87
mov edi, 0x100b8030
and eax, 0x87
mov dword [ebp - 0x18], 0x100b22b4
mov ecx, dword [edi]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], esi
cmp ecx, esi
je 0x450e0b
lea esp, [esp]
mov eax, ecx
test ecx, ecx
je 0x450d87
cmp byte [ecx], 0
je 0x450d80
jmp 0x450d7a
inc eax
cmp byte [eax], 0
jne 0x450d7a
sub eax, ecx
and eax, 0x3fffffff
cmp dword [ebp - 0xc], eax
jne 0x450df8
mov esi, dword [ebp - 0xc]
mov edx, ebx
cmp esi, 4
jb 0x450dae
lea esp, [esp]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x450db2
sub esi, 4
add ecx, 4
add edx, 4
cmp esi, 4
jae 0x450d9a
test esi, esi
je 0x450e25
movzx eax, byte [edx]
movzx ebx, byte [ecx]
sub eax, ebx
jne 0x450ded
cmp esi, 1
jbe 0x450e22
movzx eax, byte [edx + 1]
movzx ebx, byte [ecx + 1]
sub eax, ebx
jne 0x450ded
cmp esi, 2
jbe 0x450e22
movzx eax, byte [edx + 2]
movzx ebx, byte [ecx + 2]
sub eax, ebx
jne 0x450ded
cmp esi, 3
jbe 0x450e22
movzx eax, byte [edx + 3]
movzx ecx, byte [ecx + 3]
sub eax, ecx
mov ebx, dword [ebp - 0x10]
sar eax, 0x1f
or eax, 1
je 0x450e25
mov eax, dword [ebp - 0x14]
mov ecx, dword [edi + eax*8 + 8]
inc eax
mov dword [ebp - 0x14], eax
test ecx, ecx
jne 0x450d6a
mov eax, dword [ebp - 0x18]
push ebx
push eax
push 0x100b22bc
call fcn.0044eb8a
add esp, 0xc
jmp 0x450edd
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [edi + edx*8 + 4]
test eax, eax
je 0x450e0b
mov ecx, eax
and ecx, 0xffffff7f
cmp ecx, dword [ebp - 0x20]
jg 0x450e5e
mov ecx, dword [ebp - 0x24]
not ecx
and ecx, dword [ebp - 4]
or ecx, eax
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
cmp byte [edx + ebx + 1], 0
lea edx, [edx + ebx + 1]
jne 0x450c8b
jmp 0x450eb7
mov edx, dword [ebp - 0x18]
push ebx
push edx
push 0x100b22d0
call fcn.0044eb8a
mov ecx, dword [ebp + 0x14]
add esp, 0xc
mov dword [ecx], eax
mov esi, 3
jmp 0x450ee7
call fcn.00476cba
test eax, eax
jne 0x450a65
lea edx, [esi + 2]
push edx
call fcn.00442cea
mov ebx, eax
add esp, 4
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x450a65
push esi
push edi
push ebx
call fcn.004ce718
add esp, 0xc
and dword [ebp - 4], 0xffffffbf
mov word [ebx + esi], 0
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0043129a
mov ecx, dword [ebp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x450efc
mov edx, dword [ebp - 0x1c]
push edx
push 0x100b22e8
call fcn.0044eb8a
add esp, 8
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov esi, 1
mov edx, dword [ebp - 8]
push edx
call fcn.004391da
add esp, 4
mov dword [ebp - 8], 0
jmp 0x450eff
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
pop edi
mov dword [edx], eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret